org.apache.maven.plugin.invoker
Class InstallMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.invoker.InstallMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class InstallMojo
extends AbstractMojo

Installs the project artifacts of the main build into the local repository as a preparation to run the sub projects. More precisely, all artifacts of the project itself, all its locally reachable parent POMs and all its dependencies from the reactor will be installed to the local repository.

Since:
1.2
Version:
$Id: InstallMojo.java 1326204 2012-04-14 20:55:16Z olamy $
Author:
Paul Gier, Benjamin Bentmann
Is defined by the goal name:
install
Is bound to the specified phase of the standard build lifecycle:
pre-integration-test
Requires the dependencies in this specified scope:
runtime

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
InstallMojo()
           
 
Method Summary
 void execute()
          Performs this mojo's tasks.
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallMojo

public InstallMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Performs this mojo's tasks.

Throws:
MojoExecutionException - If the artifacts could not be installed.


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.