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:
ContextEnabled, Mojo

@Mojo(name="install",
      defaultPhase=INSTALL,
      threadSafe=true)
public class InstallMojo
extends AbstractInstallMojo

Installs the project's main artifact, and any other artifacts attached by other plugins in the lifecycle, to the local repository.

Version:
$Id: InstallMojo.html 846653 2013-01-14 19:34:23Z rfscholte $
Author:
Emmanuel Venisse

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()
           
 void setSkip(boolean skip)
           
 
Methods inherited from class org.apache.maven.plugin.install.AbstractInstallMojo
getLocalRepoFile, getLocalRepoFile, installChecksums, 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

@Parameter(defaultValue="${project.packaging}",
           required=true,
           readonly=true)
protected String packaging
Constructor Detail

InstallMojo

public InstallMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Throws:
MojoExecutionException

setSkip

public void setSkip(boolean skip)


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