org.apache.maven.plugin.deploy
Class AbstractDeployMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.deploy.AbstractDeployMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
DeployFileMojo, DeployMojo

public abstract class AbstractDeployMojo
extends org.apache.maven.plugin.AbstractMojo

Version:
$Id: AbstractDeployMojo.java 892671 2009-12-20 22:36:12Z bentmann $

Field Summary
protected  org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
          Component used to create an artifact.
protected  boolean updateReleaseInfo
          Parameter used to update the metadata to make the artifact as release.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractDeployMojo()
           
 
Method Summary
 org.apache.maven.artifact.deployer.ArtifactDeployer getDeployer()
           
 org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
           
 void setDeployer(org.apache.maven.artifact.deployer.ArtifactDeployer deployer)
           
 void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
           
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

artifactFactory

protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
Component used to create an artifact.

Is a Plexus component defined by:

updateReleaseInfo

protected boolean updateReleaseInfo
Parameter used to update the metadata to make the artifact as release.

Is defined by:
expression:
${updateReleaseInfo}
default-value:
false
Constructor Detail

AbstractDeployMojo

public AbstractDeployMojo()
Method Detail

getDeployer

public org.apache.maven.artifact.deployer.ArtifactDeployer getDeployer()

setDeployer

public void setDeployer(org.apache.maven.artifact.deployer.ArtifactDeployer deployer)

getLocalRepository

public org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()

setLocalRepository

public void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)


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