« Return to Thread: Not able to pass multiple arguments to javac

Re: Not able to pass multiple arguments to javac

by Sahoo :: Rate this Message:

Reply to Author | View in Thread

Thanks, that works.

Sahoo

Wayne Fay wrote:

> Try this, Sahoo:
>
> <plugin>
>    <groupId>org.apache.maven.plugins</groupId>
>    <artifactId>maven-compiler-plugin</artifactId>
>    <configuration>
>        <compilerArgument>-nowarn</compilerArgument>
>        <compilerArgument>-verbose</compilerArgument>
>    </configuration>
> </plugin>
>
> On 11/22/07, Sahoo <Sahoo@...> wrote:
>  
>> As suggested in [1], I tried configuring maven-compiler-plugin like this:
>>
>>          <compilerArgument>-nowarn -verbose</compilerArgument>
>>
>> But it causes compilation failure. Details given below:
>>
>> Failure executing javac, but could not parse the error:
>> javac: invalid flag: -nowarn -verbose
>>
>> How can I pass multiple arguments to javac?
>>
>> Thanks,
>> Sahoo
>> [1]
>> http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-compiler-arguments.html
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>>    
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Not able to pass multiple arguments to javac