|
I am not the right person to comment what is the best solution, but another option to pass multiple arguments could be to just allow multiple compilerArgument without introducing compilerARguments, i.e.,
<configuration> <compilerArgument>-foo</compilerArgument> <compilerArgument>-bar</compilerArgument> </compilerArgument> I am hoping maven-compiler-plugin developers will make the right call. Then you'll get something like this:
<configuration> In my opinion it is easier to read when there is a collection element around it. |
|||||||||||||||||||||||||||||||||||||||||||||
I can try to create a patch for the
<compilerArguments>
<compilerArgument/>
<compilerArgument/>
</compilerArguments>
solution. Is this the best solution?