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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to