@Mojo(name="ejb", requiresDependencyResolution=RUNTIME, threadSafe=true, defaultPhase=PACKAGE) public class EjbMojo extends AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CLIENT_CLASSIFIER
Default value for
clientClassifier |
static String |
DEFAULT_EJBJAR
Default value for
ejbJar. |
protected String |
escapeString
An expression preceded with this String won't be interpolated.
|
| Constructor and Description |
|---|
EjbMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Generates an EJB jar and optionally an ejb-client jar.
|
String |
getClassifier() |
String |
getClientClassifier() |
MavenProject |
getProject() |
getLog, getPluginContext, setLog, setPluginContextpublic static final String DEFAULT_CLIENT_CLASSIFIER
clientClassifierpublic static final String DEFAULT_EJBJAR
ejbJar.@Parameter protected String escapeString
public void execute()
throws MojoExecutionException
MojoExecutionExceptionpublic String getClassifier()
public String getClientClassifier()
public MavenProject getProject()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.