|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.appassembler.AbstractAppAssemblerMojo
org.codehaus.mojo.appassembler.AssembleMojo
public class AssembleMojo
Assembles the artifacts and generates bin scripts for the configured applications
| Field Summary | |
|---|---|
protected Map |
binFileExtensions
The file extensions to use for bin files. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AssembleMojo()
|
|
| Method Summary | |
|---|---|
void |
contextualize(org.codehaus.plexus.context.Context context)
|
void |
execute()
|
boolean |
isProjectArtifactFirstInClassPath()
Be the project the first artifact in classpath or not. |
boolean |
isUseAllDependencies()
Deprecated. use isUseAllProjectDependencies() instead. |
boolean |
isUseAllProjectDependencies()
Should all project dependencies be used incl. |
boolean |
isUseAsterikClassPath()
Deprecated. use isUseWildcardClassPath() instead. |
boolean |
isUseWildcardClassPath()
Should the /* part for the classpath be used or not. |
static List |
parseTokens(String arg)
This will tokenize the given argument or give the extraJvmArguments back if the given argument is empty. |
void |
setProjectArtifactFirstInClassPath(boolean projectArtifactFirstInClassPath)
Set if the project should be the artifact at first position or not. |
void |
setUseAllDependencies(boolean useAllDependencies)
Deprecated. use setUseAllProjectDependencies(boolean) instead. |
void |
setUseAllProjectDependencies(boolean useAllProjectDependencies)
Define if all project dependencies should be used or not. |
void |
setUseAsterikClassPath(boolean useAsterikClassPath)
Deprecated. use setUseWildcardClassPath(boolean) instead. |
void |
setUseWildcardClassPath(boolean useWildcardClassPath)
Use wildcard classpath or not. |
| Methods inherited from class org.codehaus.mojo.appassembler.AbstractAppAssemblerMojo |
|---|
installArtifact, installArtifact |
| 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 |
|---|
protected Map binFileExtensions
<binFileExtensions>
<unix>.sh</unix>
</binFileExtensions>
| Constructor Detail |
|---|
public AssembleMojo()
| Method Detail |
|---|
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizableorg.codehaus.plexus.context.ContextException
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionpublic static List parseTokens(String arg)
arg - The argument to parse.
public boolean isProjectArtifactFirstInClassPath()
public void setProjectArtifactFirstInClassPath(boolean projectArtifactFirstInClassPath)
projectArtifactFirstInClassPath - true if the project artifact will be first false otherwise.public boolean isUseAllDependencies()
isUseAllProjectDependencies() instead.
public void setUseAllDependencies(boolean useAllDependencies)
setUseAllProjectDependencies(boolean) instead.
useAllDependencies - true to activate false otherwise.public boolean isUseAllProjectDependencies()
public void setUseAllProjectDependencies(boolean useAllProjectDependencies)
useAllProjectDependencies - true to activate false otherwise.public boolean isUseAsterikClassPath()
isUseWildcardClassPath() instead.
public void setUseAsterikClassPath(boolean useAsterikClassPath)
setUseWildcardClassPath(boolean) instead.
useAsterikClassPath - true to use asterik classpath false otherwise.public boolean isUseWildcardClassPath()
/* part for the classpath be used or not.
public void setUseWildcardClassPath(boolean useWildcardClassPath)
useWildcardClassPath - true to use wildcard classpath false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||