Jonathan
Jonathan

Reputation: 13624

Where is the documentation on all built-in Maven expressions?

When building a Maven plugin, where can I find documentation for the built-in expressions that can be used for @parameter expression="${...}" constructs?

Upvotes: 7

Views: 4379

Answers (2)

Pascal Thivent
Pascal Thivent

Reputation: 570385

There is the Maven Properties Guide. Check also the chapter 9.2. Maven Properties of Maven: The Complete Reference.

Upvotes: 5

Jörn Horstmann
Jörn Horstmann

Reputation: 34024

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.

Upvotes: 6

Related Questions