When building a Maven plugin, where can I find documentation for the built-in expressions that can be used for @parameter expression="${...}" constructs?
+4
A:
There is the Maven2 Properties Guide. Check also the chapter 9.2. Maven Properties of Maven: The Complete Reference.
Pascal Thivent
2010-09-13 20:18:59
Thanks. Additionally, http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook is very helpful.
Jonathan
2010-09-13 21:05:33
A:
You might also try the help:evaluate goal of the maven help plugin to quickly show the values of one of these properties from the command line. For example
mvn help:evaluate -Dexpression=project.build.outputDirectory
would echo the output directory of the current project.
Jörn Horstmann
2010-09-13 22:13:38
I know that it's very helpful if you know what property you are looking for, but it's no help in determining what properties there are.
seanizer
2010-09-14 06:53:26