org.apache.maven.plugin.coreit
Class DeployMojo

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.DeployMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class DeployMojo
extends AbstractRepoMojo

Deploys the project artifacts to the distribution repository. This is the essence of the Maven Deploy Plugin.

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

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
DeployMojo()
           
 
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

DeployMojo

public DeployMojo()
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.