org.codehaus.mojo.appassembler
Class AssembleMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.appassembler.AssembleMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class AssembleMojo
- extends AbstractMojo
Assembles the artifacts and generates bin scripts for the configured applications
- Version:
- $Id: AssembleMojo.java 12569 2010-09-15 20:26:27Z dennisl $
- Author:
- Kristian Nordal
- Is defined by the goal name:
- assemble
- Is bound to the specified phase of the standard build lifecycle:
- package
- Requires the dependencies in this specified scope:
- runtime
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
binFileExtensions
protected Map binFileExtensions
- The file extensions to use for bin files.
The file extensions are stored in a Map that uses the platform name as key.
To change the file extension for Unix bin files to ".sh" use this configuration:
<binFileExtensions>
<unix>.sh</unix>
</binFileExtensions>
- Since:
- 1.1
- Is defined by:
AssembleMojo
public AssembleMojo()
validate
public void validate(Set defaultPlatforms)
throws MojoFailureException,
MojoExecutionException
- Throws:
MojoFailureException
MojoExecutionException
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Throws:
MojoExecutionException
MojoFailureException
parseTokens
public static List parseTokens(String arg)
setAvailableRepositoryLayouts
public void setAvailableRepositoryLayouts(Map availableRepositoryLayouts)
setBinFileExtensions
protected void setBinFileExtensions()
throws MojoFailureException
- Set the extensions for bin files for the supported platforms.
The values are taken from the Mojo's
binFileExtensions parameter.
- Throws:
MojoFailureException
Copyright © 2006-2011 Codehaus. All Rights Reserved.