Affects Version/s: 2.3.1
Fix Version/s: 2.4
Environment:JDK 1.6, Maven 2.2.1, Maven-Compiler-Plugin 2.3.1, Windows
I have an annotation processor that supports multiple parameters and I have found that there is no way to set more than one of them at any given time from the Maven Compiler Plugin,
Here's my setup.
Javac needs the parameters added as separate Strings
but the Compiler Plugin generates this code:
which Javac will parse as
The map version "<compilerArguments>" is of no help either, because this
will generate the output
is not well-formed XML.
Stepping through the compiler argument generation with the debugger I have not found a way to post-process the arguments, so please add a way to support multiple APT parameters because this is a major show-stopper.