org.codehaus.mojo.appassembler
Class AssembleMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.appassembler.AbstractAppAssemblerMojo
          extended by 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

Field Summary
protected  Map binFileExtensions
          The file extensions to use for bin files.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AssembleMojo()
           
 
Method Summary
 void execute()
           
static List parseTokens(String arg)
          This will tokenize the given argument or give the extraJvmArguments back if the given argument is empty.
 void setAvailableRepositoryLayouts(Map availableRepositoryLayouts)
           
 
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
 

Field Detail

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
Constructor Detail

AssembleMojo

public AssembleMojo()
Method Detail

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.