o update to account for the embedding changes made in maven-core.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162850 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-07-03 02:32:45 +00:00
parent 91d9c5a82d
commit 165ac05c58
1 changed files with 6 additions and 6 deletions

View File

@ -20,7 +20,7 @@ import org.apache.maven.plugin.AbstractPlugin;
import org.apache.maven.plugin.PluginExecutionRequest; import org.apache.maven.plugin.PluginExecutionRequest;
import org.apache.maven.plugin.PluginExecutionResponse; import org.apache.maven.plugin.PluginExecutionResponse;
import org.apache.maven.project.MavenProject; import org.apache.maven.project.MavenProject;
import org.apache.maven.MavenCore; import org.apache.maven.Maven;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@ -39,11 +39,11 @@ import java.util.List;
* description="" * description=""
* *
* @parameter * @parameter
* name="mavenCore" * name="maven"
* type="org.apache.maven.MavenCore" * type="org.apache.maven.Maven"
* required="true" * required="true"
* validator="" * validator=""
* expression="#component.org.apache.maven.MavenCore" * expression="#component.org.apache.maven.Maven"
* description="""" * description=""""
* *
* @author <a href="mailto:michal@codehaus.org">Michal Maczka</a> * @author <a href="mailto:michal@codehaus.org">Michal Maczka</a>
@ -61,7 +61,7 @@ public class InstallMojo
String type = project.getType(); String type = project.getType();
MavenCore mavenCore = ( MavenCore ) request.getParameter( "mavenCore" ); Maven maven = ( Maven ) request.getParameter( "maven" );
String goal = type + ":install"; String goal = type + ":install";
@ -69,7 +69,7 @@ public class InstallMojo
goals.add( goal ); goals.add( goal );
mavenCore.execute( project, goals ); maven.execute( project, goals );
} }