public class AssembleMojo extends AbstractScriptGeneratorMojo
| Modifier and Type | Field and Description |
|---|---|
protected Map |
binFileExtensions
The file extensions to use for bin files.
|
artifacts, daemonGeneratorService, environmentSetupFileName, generateRepository, licenseHeaderFile, mavenProject, unixScriptTemplate, windowsScriptTemplateartifactRepositoryFactory, container, endorsedDir, localRepository, outputFileNameMapping, projectArtifact, repositoryLayout, useTimestampInSnapshotFileName| Constructor and Description |
|---|
AssembleMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkDeprecatedParameterAndFailIfOneOfThemIsUsed() |
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
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.
|
installDependencies, isGenerateRepository, isUseWildcardClassPath, setGenerateRepository, setUseWildcardClassPathcontextualize, getArtifactRepositoryLayout, installArtifact, installArtifactprotected Map binFileExtensions
<binFileExtensions>
<unix>.sh</unix>
</binFileExtensions>
public void checkDeprecatedParameterAndFailIfOneOfThemIsUsed()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
{@link - MojoExecutionException}{@link - MojoFailureException}org.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()
AbstractScriptGeneratorMojo.isUseWildcardClassPath() instead.public void setUseAsterikClassPath(boolean useAsterikClassPath)
AbstractScriptGeneratorMojo.setUseWildcardClassPath(boolean) instead.useAsterikClassPath - true to use asterik classpath false otherwise.Copyright © 2006-2013 Codehaus. All Rights Reserved.