org.apache.maven.plugin.ear
Class AbstractEarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.ear.AbstractEarMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- EarMojo, GenerateApplicationXmlMojo
public abstract class AbstractEarMojo
- extends org.apache.maven.plugin.AbstractMojo
A base class for EAR-processing related tasks.
- Version:
- $Id: AbstractEarMojo.java 543023 2007-05-31 02:24:18Z snicoll $
- Author:
- Stephane Nicoll
Field Summary |
static java.lang.String |
APPLICATION_XML_URI
|
protected org.codehaus.plexus.configuration.PlexusConfiguration |
artifactTypeMappings
The artifact type mappings. |
protected java.lang.String |
encoding
Character encoding for the auto-generated deployment file(s). |
protected java.lang.String |
generatedDescriptorLocation
Directory where the deployment descriptor file(s) will be auto-generated. |
static java.lang.String |
META_INF
|
protected org.apache.maven.project.MavenProject |
project
The maven project. |
static java.lang.String |
UTF_8
|
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
APPLICATION_XML_URI
public static final java.lang.String APPLICATION_XML_URI
- See Also:
- Constant Field Values
META_INF
public static final java.lang.String META_INF
- See Also:
- Constant Field Values
UTF_8
public static final java.lang.String UTF_8
- See Also:
- Constant Field Values
encoding
protected java.lang.String encoding
- Character encoding for the auto-generated deployment file(s).
generatedDescriptorLocation
protected java.lang.String generatedDescriptorLocation
- Directory where the deployment descriptor file(s) will be auto-generated.
project
protected org.apache.maven.project.MavenProject project
- The maven project.
artifactTypeMappings
protected org.codehaus.plexus.configuration.PlexusConfiguration artifactTypeMappings
- The artifact type mappings.
AbstractEarMojo
public AbstractEarMojo()
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
getModules
protected java.util.List getModules()
getProject
protected org.apache.maven.project.MavenProject getProject()
getWorkDirectory
protected java.io.File getWorkDirectory()
getJbossConfiguration
protected org.apache.maven.plugin.ear.JbossConfiguration getJbossConfiguration()
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.