Class EjbMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.ejb.EjbMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="ejb",
requiresDependencyResolution=RUNTIME,
threadSafe=true,
defaultPhase=PACKAGE)
public class EjbMojo
extends org.apache.maven.plugin.AbstractMojo
Build an EJB (and optional client) from the current project.
- Version:
- $Id$
- Author:
- Emmanuel Venisse
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefault value forclientClassifierstatic final StringDefault value forejbJar.protected StringAn expression preceded with this String won't be interpolated.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionEjbMojo(org.apache.maven.project.MavenProjectHelper projectHelper, org.apache.maven.shared.filtering.MavenFileFilter mavenFileFilter) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Generates an EJB jar and optionally an ejb-client jar.org.apache.maven.project.MavenProjectMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
DEFAULT_CLIENT_CLASSIFIER
-
DEFAULT_EJBJAR
-
escapeString
An expression preceded with this String won't be interpolated. \${foo} will be replaced with ${foo}.- Since:
- 2.3
-
-
Constructor Details
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionExceptionGenerates an EJB jar and optionally an ejb-client jar.- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getClassifier
-
getClientClassifier
-
getProject
public org.apache.maven.project.MavenProject getProject()
-