From 165ac05c586f80bbb175af1504bc9364b993e9aa Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Sat, 3 Jul 2004 02:32:45 +0000 Subject: [PATCH] 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 --- .../org/apache/maven/plugin/install/InstallMojo.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/maven-plugins/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/InstallMojo.java b/maven-plugins/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/InstallMojo.java index f7fa27c9b5..e89990fab4 100644 --- a/maven-plugins/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/InstallMojo.java +++ b/maven-plugins/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/InstallMojo.java @@ -20,7 +20,7 @@ import org.apache.maven.plugin.AbstractPlugin; 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 @@ import java.util.List; * 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 Michal Maczka @@ -61,7 +61,7 @@ public class InstallMojo String type = project.getType(); - MavenCore mavenCore = ( MavenCore ) request.getParameter( "mavenCore" ); + Maven maven = ( Maven ) request.getParameter( "maven" ); String goal = type + ":install"; @@ -69,7 +69,7 @@ public class InstallMojo goals.add( goal ); - mavenCore.execute( project, goals ); + maven.execute( project, goals ); }