|
||||||||||
| 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 |
execute()
|
boolean |
isProjectArtifactFirstInClassPath()
Be the project the first artifact in classpath or not. |
boolean |
isUseAllDependencies()
Should all dependencies be used incl. |
boolean |
isUseAsterikClassPath()
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 |
setAvailableRepositoryLayouts(Map availableRepositoryLayouts)
Set the available repository layouts. |
void |
setProjectArtifactFirstInClassPath(boolean projectArtifactFirstInClassPath)
Set if the project should be the artifact at first position or not. |
void |
setUseAllDependencies(boolean useAllDependencies)
Define if all dependencies should be used or not. |
void |
setUseAsterikClassPath(boolean useAsterikClassPath)
Use asterik-classpath or not. |
| 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 execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionpublic static List parseTokens(String arg)
arg - The argument to parse.
public void setAvailableRepositoryLayouts(Map availableRepositoryLayouts)
availableRepositoryLayouts - The repository layouts which are available.public boolean isProjectArtifactFirstInClassPath()
public void setProjectArtifactFirstInClassPath(boolean projectArtifactFirstInClassPath)
projectArtifactFirstInClassPath - true if the project artifact will be first false otherwise.public boolean isUseAllDependencies()
public void setUseAllDependencies(boolean useAllDependencies)
useAllDependencies - true to activate false otherwise.public boolean isUseAsterikClassPath()
public void setUseAsterikClassPath(boolean useAsterikClassPath)
useAsterikClassPath - true to use asterik classpath false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||