|
||||||||||
| 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.AbstractScriptGeneratorMojo
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 class org.codehaus.mojo.appassembler.AbstractScriptGeneratorMojo |
|---|
artifacts, daemonGeneratorService, environmentSetupFileName, licenseHeaderFile, mavenProject, unixScriptTemplate, windowsScriptTemplate |
| Fields inherited from class org.codehaus.mojo.appassembler.AbstractAppAssemblerMojo |
|---|
artifactRepositoryFactory, container, localRepository, outputFileNameMapping, projectArtifact, repositoryLayout, useTimestampInSnapshotFileName |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AssembleMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
calling from Maven. |
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. system scoped. |
boolean |
isUseAsterikClassPath()
Deprecated. use AbstractScriptGeneratorMojo.isUseWildcardClassPath() instead. |
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 AbstractScriptGeneratorMojo.setUseWildcardClassPath(boolean) instead. |
| Methods inherited from class org.codehaus.mojo.appassembler.AbstractScriptGeneratorMojo |
|---|
isUseWildcardClassPath, setUseWildcardClassPath |
| Methods inherited from class org.codehaus.mojo.appassembler.AbstractAppAssemblerMojo |
|---|
contextualize, getArtifactRepositoryLayout, 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 execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionMojo.execute()public 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()
AbstractScriptGeneratorMojo.isUseWildcardClassPath() instead.
public void setUseAsterikClassPath(boolean useAsterikClassPath)
AbstractScriptGeneratorMojo.setUseWildcardClassPath(boolean) instead.
useAsterikClassPath - true to use asterik classpath false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||