org.apache.geronimo.plugin.car
Class AbstractCarMojo

java.lang.Object
  extended byorg.apache.maven.plugin.AbstractMojo
      extended byorg.apache.geronimo.genesis.MojoSupport
          extended byorg.apache.geronimo.plugin.car.AbstractCarMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
InstallArtifactsMojo, InstallConfigMojo, PackageMojo, PlanProcessorMojo

public abstract class AbstractCarMojo
extends org.apache.geronimo.genesis.MojoSupport

Support for packaging Mojos.

Version:
$Rev: 451661 $ $Date: 2006-09-30 13:45:53 -0700 (Sat, 30 Sep 2006) $

Field Summary
protected  org.apache.maven.artifact.repository.ArtifactRepository artifactRepository
           
protected  File basedir
          The basedir of the project.
protected  org.apache.maven.project.MavenProject project
          The maven project.
protected  org.apache.maven.project.MavenProjectHelper projectHelper
          The maven project's helper.
 
Fields inherited from class org.apache.geronimo.genesis.MojoSupport
log
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractCarMojo()
           
 
Method Summary
protected  void generateExplicitVersionProperties(File outputFile)
           
protected static File getArchiveFile(File basedir, String finalName, String classifier)
           
protected  org.apache.maven.artifact.factory.ArtifactFactory getArtifactFactory()
           
protected  org.apache.maven.artifact.repository.ArtifactRepository getArtifactRepository()
           
protected  org.apache.maven.artifact.resolver.ArtifactResolver getArtifactResolver()
           
protected  org.apache.maven.project.MavenProject getProject()
           
protected  Set getProjectArtifacts()
           
protected  Set getProjectArtifacts(org.apache.maven.project.MavenProject project)
           
 
Methods inherited from class org.apache.geronimo.genesis.MojoSupport
createArtifact, doExecute, execute, getArtifact, init
 
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

project

protected org.apache.maven.project.MavenProject project
The maven project.


basedir

protected File basedir
The basedir of the project.


projectHelper

protected org.apache.maven.project.MavenProjectHelper projectHelper
The maven project's helper.


artifactRepository

protected org.apache.maven.artifact.repository.ArtifactRepository artifactRepository
Constructor Detail

AbstractCarMojo

public AbstractCarMojo()
Method Detail

getProject

protected org.apache.maven.project.MavenProject getProject()

getArtifactFactory

protected org.apache.maven.artifact.factory.ArtifactFactory getArtifactFactory()

getArtifactResolver

protected org.apache.maven.artifact.resolver.ArtifactResolver getArtifactResolver()

getArtifactRepository

protected org.apache.maven.artifact.repository.ArtifactRepository getArtifactRepository()

getProjectArtifacts

protected Set getProjectArtifacts(org.apache.maven.project.MavenProject project)

getProjectArtifacts

protected Set getProjectArtifacts()

generateExplicitVersionProperties

protected void generateExplicitVersionProperties(File outputFile)
                                          throws IOException
Throws:
IOException

getArchiveFile

protected static File getArchiveFile(File basedir,
                                     String finalName,
                                     String classifier)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.