@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, filterPreAssembleDirectory, generateRepository, licenseHeaderFile, logsDirectory, mavenProject, mavenResourcesFiltering, preAssembleDirectory, tempDirectory, unixScriptTemplate, useWildcardClassPath, windowsScriptTemplate
artifactRepositoryFactory, 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, doCopyPreAssembleDirectory, doCreateExtraDirectories, installDependencies
contextualize, 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.MojoExecutionException
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
{@link
- MojoExecutionException}{@link
- MojoFailureException}org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Mojo.execute()
Copyright © 2006–2015 Codehaus. All rights reserved.