You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/07/30 19:06:41 UTC

svn commit: r799369 - /maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-expression/src/main/java/org/apache/maven/plugin/coreit/EvalMojo.java

Author: bentmann
Date: Thu Jul 30 17:06:41 2009
New Revision: 799369

URL: http://svn.apache.org/viewvc?rev=799369&view=rev
Log:
o Allowed inspection of execution project

Modified:
    maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-expression/src/main/java/org/apache/maven/plugin/coreit/EvalMojo.java

Modified: maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-expression/src/main/java/org/apache/maven/plugin/coreit/EvalMojo.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-expression/src/main/java/org/apache/maven/plugin/coreit/EvalMojo.java?rev=799369&r1=799368&r2=799369&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-expression/src/main/java/org/apache/maven/plugin/coreit/EvalMojo.java (original)
+++ maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-expression/src/main/java/org/apache/maven/plugin/coreit/EvalMojo.java Thu Jul 30 17:06:41 2009
@@ -103,6 +103,14 @@
     private Object project;
 
     /**
+     * The forked Maven project against which expressions are evaluated.
+     * 
+     * @parameter default-value="${executedProject}"
+     * @readonly
+     */
+    private Object executedProject;
+
+    /**
      * The merged user/global settings of the current build against which expressions are evaluated.
      * 
      * @parameter default-value="${settings}"
@@ -160,6 +168,7 @@
         {
             Map contexts = new HashMap();
             contexts.put( "project", project );
+            contexts.put( "executedProject", executedProject );
             contexts.put( "pom", project );
             contexts.put( "settings", settings );
             contexts.put( "session", session );