org.codehaus.mojo.appassembler
Class AssembleMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.appassembler.AbstractAppAssemblerMojo
org.codehaus.mojo.appassembler.AssembleMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class AssembleMojo
- extends AbstractAppAssemblerMojo
Assembles the artifacts and generates bin scripts for the configured applications
- Version:
- $Id: AssembleMojo.java 15699 2012-01-06 19:07:03Z khmarbaise $
- Author:
- Kristian Nordal
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| 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
AssembleMojo
public AssembleMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
parseTokens
public static List parseTokens(String arg)
- This will tokenize the given argument or
give the extraJvmArguments back if the given
argument is empty.
- Parameters:
arg - The argument to parse.
- Returns:
- List of arguments.
setAvailableRepositoryLayouts
public void setAvailableRepositoryLayouts(Map availableRepositoryLayouts)
Copyright © 2006-2012 Codehaus. All Rights Reserved.