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

Not able to pass multiple arguments to javac

by Sahoo :: Rate this Message:

Reply to Author | View in Thread

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@...

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