org.apache.maven.plugin.invoker
Class InstallMojo

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

public class InstallMojo
extends org.apache.maven.plugin.AbstractMojo

Installs the project artifacts into the local repository as a preparation to run the integration tests. 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 679351 2008-07-24 10:51:40Z bentmann $
Author:
Paul Gier, Benjamin Bentmann

Field Summary
protected  org.apache.maven.artifact.repository.ArtifactRepository localRepository
           
 
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
 

Field Detail

localRepository

protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
Constructor Detail

InstallMojo

public InstallMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Performs this mojo's tasks.

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


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