org.apache.maven.plugin.coreit
Class InstallMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.coreit.AbstractRepoMojo
          extended by org.apache.maven.plugin.coreit.InstallMojo
All Implemented Interfaces:
ContextEnabled, Mojo
Direct Known Subclasses:
InstallCustomMojo

public class InstallMojo
extends AbstractRepoMojo

Installs the project artifacts into the local repository. This is the essence of the Maven Install Plugin.

Version:
$Id: InstallMojo.java 995270 2010-09-08 22:38:20Z bentmann $
Author:
Benjamin Bentmann
Is defined by the goal name:
install
Is bound to the specified phase of the standard build lifecycle:
install

Field Summary
 
Fields inherited from class org.apache.maven.plugin.coreit.AbstractRepoMojo
attachedArtifacts, localRepository, mainArtifact, packaging, pomFile
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
InstallMojo()
           
 
Method Summary
 void execute()
          Runs this mojo.
 
Methods inherited from class org.apache.maven.plugin.coreit.AbstractRepoMojo
isPomArtifact
 
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
Runs this mojo.

Throws:
MojoExecutionException - If any artifact could not be installed.


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