diff --git a/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java b/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
index 74b6ccbe0b..6d8051a28e 100644
--- a/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
+++ b/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
@@ -34,30 +34,33 @@ import org.codehaus.plexus.util.introspection.ReflectionValueExtractor;
/**
* Evaluator for plugin parameters expressions. Content surrounded by ${
and }
is evaluated.
- * Recognized values are:
localRepository
session
session.*
(since Maven 3)reactorProjects
mojoExecution
project
executedProject
project.*
pom.*
(since Maven 3)repositorySystemSession
(since Maven 3)mojo
(since Maven 3)mojo.*
(since Maven 3)plugin
(since Maven 3)plugin.*
settings
settings.*
basedir
expression | evaluation result | |
---|---|---|
session | the actual {@link MavenSession} | |
session.* | (since Maven 3) | |
localRepository | {@link MavenSession#getLocalRepository()} | |
reactorProjects | {@link MavenSession#getProjects()} | |
repositorySystemSession | (since Maven 3) | {@link MavenSession#getRepositorySession()} |
project | {@link MavenSession#getCurrentProject()} | |
project.* | ||
pom.* | (since Maven 3) | same as project.* |
executedProject | {@link MavenProject#getExecutionProject()} | |
settings | {@link MavenSession#getSettings()} | |
settings.* | ||
basedir | {@link MavenSession#getExecutionRootDirectory()} or System.getProperty( "user.dir" ) if null | |
mojoExecution | the actual {@link MojoExecution} | |
mojo | (since Maven 3) | same as mojoExecution |
mojo.* | (since Maven 3) | |
plugin | (since Maven 3) | {@link MojoExecution#getMojoDescriptor()}.{@link MojoDescriptor#getPluginDescriptor() getPluginDescriptor()} |
plugin.* | ||
system properties | ||
project properties |
reports
was supported in Maven 2.x but was removed in Maven 3
*
* @author Jason van Zyl
+ * @see MavenSession
+ * @see MojoExecution
*/
public class PluginParameterExpressionEvaluator
implements TypeAwareExpressionEvaluator