You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by jv...@apache.org on 2004/07/03 04:32:45 UTC
cvs commit: maven-components/maven-plugins/maven-install-plugin/src/main/java/org/apache/maven/plugin/install InstallMojo.java
jvanzyl 2004/07/02 19:32:45
Modified: maven-plugins/maven-install-plugin/src/main/java/org/apache/maven/plugin/install
InstallMojo.java
Log:
o update to account for the embedding changes made in maven-core.
Revision Changes Path
1.6 +7 -7 maven-components/maven-plugins/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/InstallMojo.java
Index: InstallMojo.java
===================================================================
RCS file: /home/cvs/maven-components/maven-plugins/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/InstallMojo.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- InstallMojo.java 27 Jun 2004 17:10:31 -0000 1.5
+++ InstallMojo.java 3 Jul 2004 02:32:45 -0000 1.6
@@ -20,7 +20,7 @@
import org.apache.maven.plugin.PluginExecutionRequest;
import org.apache.maven.plugin.PluginExecutionResponse;
import org.apache.maven.project.MavenProject;
-import org.apache.maven.MavenCore;
+import org.apache.maven.Maven;
import java.util.ArrayList;
import java.util.List;
@@ -39,11 +39,11 @@
* description=""
*
* @parameter
- * name="mavenCore"
- * type="org.apache.maven.MavenCore"
+ * name="maven"
+ * type="org.apache.maven.Maven"
* required="true"
* validator=""
- * expression="#component.org.apache.maven.MavenCore"
+ * expression="#component.org.apache.maven.Maven"
* description=""""
*
* @author <a href="mailto:michal@codehaus.org">Michal Maczka</a>
@@ -61,7 +61,7 @@
String type = project.getType();
- MavenCore mavenCore = ( MavenCore ) request.getParameter( "mavenCore" );
+ Maven maven = ( Maven ) request.getParameter( "maven" );
String goal = type + ":install";
@@ -69,7 +69,7 @@
goals.add( goal );
- mavenCore.execute( project, goals );
+ maven.execute( project, goals );
}