public class AssembleMojo extends AbstractAppAssemblerMojo implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
| Modifier and Type | Field and Description |
|---|---|
protected Map |
binFileExtensions
The file extensions to use for bin files.
|
artifactRepositoryFactory, localRepository, projectArtifact, repositoryLayout, useTimestampInSnapshotFileName| Constructor and Description |
|---|
AssembleMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
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.
|
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.
|
installArtifact, installArtifactprotected Map binFileExtensions
<binFileExtensions>
<unix>.sh</unix>
</binFileExtensions>
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.ContextExceptionpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionExceptionorg.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()
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.Copyright © 2006-2013 Codehaus. All Rights Reserved.