@Mojo(name="assemble",
defaultPhase=PACKAGE,
requiresDependencyResolution=RUNTIME,
threadSafe=true)
public class AssembleMojo
extends AbstractScriptGeneratorMojo
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
binFileExtensions
The file extensions to use for bin files.
|
artifacts, buildFilters, configurationDirectory, configurationSourceDirectory, copyConfigurationDirectory, daemonGeneratorService, encoding, endorsedDir, environmentSetupFileName, escapeString, filterConfigurationDirectory, generateRepository, licenseHeaderFile, logsDirectory, mavenProject, mavenResourcesFiltering, tempDirectory, unixScriptTemplate, useWildcardClassPath, windowsScriptTemplateartifactRepositoryFactory, container, localRepository, outputFileNameMapping, projectArtifact, repositoryLayout, useTimestampInSnapshotFileName| Constructor and Description |
|---|
AssembleMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkDeprecatedParameterAndFailIfOneOfThemIsUsed() |
void |
execute()
calling from Maven.
|
static List<String> |
parseTokens(String arg)
This will tokenize the given argument or give the extraJvmArguments back if the given argument is empty.
|
doCopyConfigurationDirectory, doCreateExtraDirectories, installDependenciescontextualize, getArtifactRepositoryLayout, installArtifact, installArtifact@Parameter protected Map<String,String> 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()Copyright © 2006–2014 Codehaus. All rights reserved.