org.apache.maven.plugin.coreit
Class AbstractRepoMojo

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

public abstract class AbstractRepoMojo
extends AbstractMojo

Provides common code for the install and deploy mojos.

Version:
$Id: AbstractRepoMojo.java 775699 2009-05-17 16:31:47Z bentmann $
Author:
Benjamin Bentmann

Field Summary
protected  Collection attachedArtifacts
          The project's attached artifact.
protected  ArtifactRepository localRepository
          The local repository.
protected  Artifact mainArtifact
          The project's main artifact.
protected  String packaging
          The packaging of the project.
protected  File pomFile
          The POM file of the project.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractRepoMojo()
           
 
Method Summary
protected  boolean 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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

mainArtifact

protected Artifact mainArtifact
The project's main artifact.

Is defined by:
default-value:
${project.artifact}
Is readonly.
Is required.

attachedArtifacts

protected Collection attachedArtifacts
The project's attached artifact.

Is defined by:
default-value:
${project.attachedArtifacts}
Is readonly.
Is required.

packaging

protected String packaging
The packaging of the project.

Is defined by:
default-value:
${project.packaging}
Is readonly.
Is required.

pomFile

protected File pomFile
The POM file of the project.

Is defined by:
default-value:
${project.file}
Is readonly.
Is required.

localRepository

protected ArtifactRepository localRepository
The local repository.

Is defined by:
default-value:
${localRepository}
Is readonly.
Is required.
Constructor Detail

AbstractRepoMojo

public AbstractRepoMojo()
Method Detail

isPomArtifact

protected boolean isPomArtifact()


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