org.apache.geronimo.mavenplugins.car
Class PackageMojo

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.geronimo.mavenplugins.car.AbstractCarMojo
          extended by org.apache.geronimo.mavenplugins.car.PackageMojo
All Implemented Interfaces:
org.apache.maven.plugin.Mojo, org.codehaus.plexus.logging.LogEnabled

public class PackageMojo
extends AbstractCarMojo

Build a Geronimo Configuration using the local Maven infrastructure.

Version:
$Rev: 1307840 $ $Date: 2012-04-01 00:13:05 +0800 (Sun, 01 Apr 2012) $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
AbstractCarMojo.ArtifactLookupImpl
 
Field Summary
protected  java.lang.String pluginMetadataFileName
          Name of generated plugin metadata file.
protected  java.io.File targetDir
          Directory for generated plugin metadata file.
 
Fields inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
artifactFactory, artifactRepository, basedir, dependencyArtifacts, encoding, escapeString, localDependencies, mavenFileFilter, mavenResourcesFiltering, project, projectHelper, session, systemProperties, treeListing
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PackageMojo()
           
 
Method Summary
 void buildPackage()
           
 void execute()
           
 void executeBootShell()
           
 
Methods inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
cleanup, filter, generateExplicitVersionProperties, geronimoToMavenArtifact, getArchiveFile, getArtifactRepository, getDependencies, getFramework, getLog, getModuleId, getProject, includeDependency, init, isModuleArtifact, mavenToGeronimoArtifact, mavenToGeronimoArtifact, resolveArtifact, resolveDependency, setLog, setSystemProperties, toDependencies, toGeronimoDependency, unsetSystemProperties
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

targetDir

protected java.io.File targetDir
Directory for generated plugin metadata file.


pluginMetadataFileName

protected java.lang.String pluginMetadataFileName
Name of generated plugin metadata file.

Constructor Detail

PackageMojo

public PackageMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

executeBootShell

public void executeBootShell()
                      throws java.lang.Exception
Throws:
java.lang.Exception

buildPackage

public void buildPackage()
                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.