fr.paris.lutece.maven
Class PackageMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by fr.paris.lutece.maven.AbstractLuteceMojo
          extended by fr.paris.lutece.maven.PackageMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class PackageMojo
extends AbstractLuteceMojo

Packages Lutece core or plugin projects.
This mojo produces two artifacts :

Please note that this mojo should be executed on a fresh copy of the sources. If you run it on a Lutece core where lutece:exploded has been invoked, you may end up with unwanted files or directories in the ZIP attachement.


Field Summary
 
Fields inherited from class fr.paris.lutece.maven.AbstractLuteceMojo
ASSEMBLY_WEBAPP_EXCLUDES, ASSEMBLY_WEBAPP_INCLUDES, classesDirectory, defaultConfDirectory, EXCLUDE_PATTERN_ASSEMBLY, EXCLUDE_PATTERN_CLASSES, EXCLUDE_PATTERN_JAVA, EXCLUDE_PATTERN_LIB, EXCLUDE_PATTERN_PACKAGE_HTML, EXCLUDE_PATTERN_SITE, EXCLUDE_PATTERN_SVN, EXCLUDE_PATTERN_TARGET, EXCLUDE_PATTERN_WEBAPP, INCLUDE_PATTERN_ALL, INCLUDE_PATTERN_SQL, INCLUDE_PATTERN_SRC, INCLUDE_PATTERN_WEBAPP, LUTECE_CORE_PACKAGING, LUTECE_CORE_TYPE, LUTECE_PLUGIN_PACKAGING, LUTECE_PLUGIN_TYPE, LUTECE_SITE_PACKAGING, PACKAGE_CLASSES_EXCLUDES, PACKAGE_CLASSES_INCLUDES, PACKAGE_WEBAPP_EXCLUDES, PACKAGE_WEBAPP_INCLUDES, project, WEBAPP_CLASSIFIER
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PackageMojo()
           
 
Method Summary
 void execute()
          Executes the mojo on the current project.
 
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
 

Constructor Detail

PackageMojo

public PackageMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Executes the mojo on the current project.

Throws:
org.apache.maven.plugin.MojoExecutionException - if an error occured while building the artifact.
org.apache.maven.plugin.MojoFailureException


Copyright © 2006-2007 Mairie de Paris. All Rights Reserved.