compilerArguments for maven-compiler-plugin

2007-10-01 Thread Yan Huang
Hello, Regarding maven-compiler-plugin, is there a way to pass compiler arguments on the command line rather than through pom.xml? I don't find expression defined in its manual page though. Thanks Yan

Re: compilerArguments for maven-compiler-plugin

2007-10-01 Thread Wayne Fay
Maven does not really like passing things via arguments -- this is the exception rather than the norm. You could probably use -Dmy.arg=blah blah and then in the m-compiler-p set compilerArguments${my.arg}. But this is not the right way to use Maven. If you have a few different sets of arguments,