org.apache.maven.plugin.install
Class InstallMojo

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

public class InstallMojo
extends AbstractInstallMojo

Installs the project's main artifact in the local repository.

Version:
$Id: InstallMojo.java 942550 2010-05-09 15:19:07Z krosenvold $
Author:
Emmanuel Venisse
Is defined by the goal name:
install
Is bound to the specified phase of the standard build lifecycle:
install

Field Summary
protected  String packaging
           
 
Fields inherited from class org.apache.maven.plugin.install.AbstractInstallMojo
artifactFactory, createChecksum, installer, localRepository, md5Digester, sha1Digester, updateReleaseInfo
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
InstallMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.apache.maven.plugin.install.AbstractInstallMojo
getLocalRepoFile, getLocalRepoFile, installChecksums
 
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

packaging

protected String packaging
Is defined by:
default-value:
${project.packaging}
Is readonly.
Is required.
Constructor Detail

InstallMojo

public InstallMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.