views:

22

answers:

2

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
Thanks. Additionally, http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook is very helpful.
Jonathan
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
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