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, you should declare them in a profile, and set one to be active by default. Wayne On 10/1/07, Yan Huang <[EMAIL PROTECTED]> wrote: > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]