Affects Version/s: None
Fix Version/s: None
Environment:Maven version: 2.0.7
Number of attachments :
Look at the mail thread in maven user group:
User may have to pass options to the underlying compiler that are not yet supported by the mojo. Current implementation of the maven-compiler-plugin allows user to specify only one option. Neither of the following techniques work:
In the first approach, only one of the compilerArgument is considered, in the second approach since maven quotes the argument, it ends up as a single argument to javac and hence becomes an invalid option.
The best suggestion is to allow multiple compilerArgument – may be something like: