You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2009/05/21 18:58:52 UTC
svn commit: r777175 -
/maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
Author: jvanzyl
Date: Thu May 21 16:58:51 2009
New Revision: 777175
URL: http://svn.apache.org/viewvc?rev=777175&view=rev
Log:
o another point about merging in the default plugin configuration
Modified:
maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
Modified: maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
URL: http://svn.apache.org/viewvc/maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java?rev=777175&r1=777174&r2=777175&view=diff
==============================================================================
--- maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java (original)
+++ maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java Thu May 21 16:58:51 2009
@@ -260,8 +260,11 @@
// </build>
// </project>
//
- // We want to take the plugin/configuration and attach it to the MojoExecution we are creating. We are also
- // going to give the MojoExecution an id of default-<goal>.
+ // We want to
+ //
+ // - take the plugin/configuration in the POM and merge it with the plugin's default configuration found in its plugin.xml
+ // - attach that to the MojoExecution for its configuration
+ // - give the MojoExecution an id of default-<goal>.
MojoDescriptor mojoDescriptor = getMojoDescriptor( task, session );