fr.paris.lutece.maven
Class UpdaterMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by fr.paris.lutece.maven.AbstractLuteceMojo
          extended by fr.paris.lutece.maven.AbstractLuteceWebappMojo
              extended by fr.paris.lutece.maven.UpdaterMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.logging.LogEnabled

public class UpdaterMojo
extends AbstractLuteceWebappMojo

Assembly zips for Lutece core or plugin project.
If you wish to force webapp re-creation (for instance, if you changed the version of a dependency), call the clean phase before this goal.


Field Summary
protected static java.lang.String[] ASSEMBLY_WEBAPP_EXCLUDES_UPDATER
           
protected  java.io.File baseDirectory
          The directory containing the default configuration files.
protected static java.lang.String EXCLUDE_PATTERN_SETTINGS
           
protected static java.lang.String EXCLUDE_PATTERN_SRC
           
protected static java.lang.String INCLUDE_PATTERN_RESOURCES
           
protected  java.io.File updOutputDirectory
          The project's output directory.
 
Fields inherited from class fr.paris.lutece.maven.AbstractLuteceWebappMojo
artifacts, localConfDirectory, localRepository, metadataSource, remoteRepositories, resolver, testWebappDirectory
 
Fields inherited from class fr.paris.lutece.maven.AbstractLuteceMojo
artifactCollector, ASSEMBLY_WEBAPP_EXCLUDES, ASSEMBLY_WEBAPP_INCLUDES, ASSEMBLY_WEBAPP_SITE_EXCLUDES, ASSEMBLY_WEBAPP_SITE_INCLUDES, classesDirectory, defaultConfDirectory, EXCLUDE_PATTERN_ASSEMBLY, EXCLUDE_PATTERN_BUSINESS, EXCLUDE_PATTERN_CLASSES, EXCLUDE_PATTERN_JAVA, EXCLUDE_PATTERN_LIB, EXCLUDE_PATTERN_PACKAGE_HTML, EXCLUDE_PATTERN_RESOURCES, EXCLUDE_PATTERN_SERVICE, EXCLUDE_PATTERN_SITE, EXCLUDE_PATTERN_SVN, EXCLUDE_PATTERN_TARGET, EXCLUDE_PATTERN_TEST, EXCLUDE_PATTERN_UTIL, EXCLUDE_PATTERN_UTILS, EXCLUDE_PATTERN_WEB, EXCLUDE_PATTERN_WEBAPP, EXCLUDE_PATTERN_WEBINF_TEST, INCLUDE_PATTERN_ALL, INCLUDE_PATTERN_SITE_USER, INCLUDE_PATTERN_SQL, INCLUDE_PATTERN_SRC, INCLUDE_PATTERN_WEBAPP, logger, LUTECE_CORE_PACKAGING, LUTECE_CORE_TYPE, LUTECE_DIRECTORY, LUTECE_PLUGIN_PACKAGING, LUTECE_PLUGIN_TYPE, LUTECE_SITE_PACKAGING, multiProjectArtifacts, outputDirectory, PACKAGE_CLASSES_EXCLUDES, PACKAGE_CLASSES_INCLUDES, PACKAGE_WEBAPP_EXCLUDES, PACKAGE_WEBAPP_INCLUDES, PACKAGE_WEBAPP_RESOURCES_EXCLUDES, PACKAGE_WEBAPP_RESOURCES_INCLUDE, PACKAGE_WEBAPP_SITE_EXCLUDES, PACKAGE_WEBAPP_SITE_INCLUDES, POM_PACKAGING, project, reactorProjects, siteDirectory, sqlDirectory, WEB_INF_DOC_XML_PATH, WEB_INF_SQL_PATH, WEBAPP_CLASSIFIER, webappSourceDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UpdaterMojo()
           
 
Method Summary
 void execute()
          Executes the mojo on the current project.
 
Methods inherited from class fr.paris.lutece.maven.AbstractLuteceWebappMojo
addToExplodedWebapp, explodeConfigurationFiles, explodeWebapp, filterArtifacts, getRootProjectBuildDirectory, getRootProjectBuildDirectoryTarget
 
Methods inherited from class fr.paris.lutece.maven.AbstractLuteceMojo
enableLogging
 
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

EXCLUDE_PATTERN_SRC

protected static final java.lang.String EXCLUDE_PATTERN_SRC
See Also:
Constant Field Values

EXCLUDE_PATTERN_SETTINGS

protected static final java.lang.String EXCLUDE_PATTERN_SETTINGS
See Also:
Constant Field Values

baseDirectory

protected java.io.File baseDirectory
The directory containing the default configuration files.


ASSEMBLY_WEBAPP_EXCLUDES_UPDATER

protected static final java.lang.String[] ASSEMBLY_WEBAPP_EXCLUDES_UPDATER

INCLUDE_PATTERN_RESOURCES

protected static final java.lang.String INCLUDE_PATTERN_RESOURCES
See Also:
Constant Field Values

updOutputDirectory

protected java.io.File updOutputDirectory
The project's output directory.

Constructor Detail

UpdaterMojo

public UpdaterMojo()
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 occurred while building the artifact.
org.apache.maven.plugin.MojoFailureException


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