fr.paris.lutece.maven
Class AbstractLuteceMojo

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

public abstract class AbstractLuteceMojo
extends org.apache.maven.plugin.AbstractMojo

Abstracts functionnality common to all Lutece mojos.


Field Summary
protected static java.lang.String[] ASSEMBLY_WEBAPP_EXCLUDES
          The files to exclude from zip archives.
protected static java.lang.String[] ASSEMBLY_WEBAPP_INCLUDES
          The files to include in zip archives.
protected  java.io.File classesDirectory
          The directory containing the Java classes.
protected  java.io.File defaultConfDirectory
          The directory containing the default configuration files.
protected static java.lang.String EXCLUDE_PATTERN_ASSEMBLY
           
protected static java.lang.String EXCLUDE_PATTERN_CLASSES
           
protected static java.lang.String EXCLUDE_PATTERN_JAVA
           
protected static java.lang.String EXCLUDE_PATTERN_LIB
           
protected static java.lang.String EXCLUDE_PATTERN_PACKAGE_HTML
           
protected static java.lang.String EXCLUDE_PATTERN_SITE
           
protected static java.lang.String EXCLUDE_PATTERN_SVN
           
protected static java.lang.String EXCLUDE_PATTERN_TARGET
           
protected static java.lang.String EXCLUDE_PATTERN_WEBAPP
           
protected static java.lang.String INCLUDE_PATTERN_ALL
          Constants used to create inclusion or exclusion rules, for the zip, jar or war building.
protected static java.lang.String INCLUDE_PATTERN_SQL
           
protected static java.lang.String INCLUDE_PATTERN_SRC
           
protected static java.lang.String INCLUDE_PATTERN_WEBAPP
           
protected static java.lang.String LUTECE_CORE_PACKAGING
          The name of the lutece core packaging.
protected static java.lang.String LUTECE_CORE_TYPE
          The name of the lutece core artifact type.
protected static java.lang.String LUTECE_PLUGIN_PACKAGING
          The name of the lutece plugin packaging.
protected static java.lang.String LUTECE_PLUGIN_TYPE
          The name of the lutece plugin artifact type.
protected static java.lang.String LUTECE_SITE_PACKAGING
          The name of the lutece site packaging.
protected static java.lang.String[] PACKAGE_CLASSES_EXCLUDES
           
protected static java.lang.String[] PACKAGE_CLASSES_INCLUDES
           
protected static java.lang.String[] PACKAGE_WEBAPP_EXCLUDES
          The files to exclude from webapp archives.
protected static java.lang.String[] PACKAGE_WEBAPP_INCLUDES
          The files to include in webapp archives.
protected  org.apache.maven.project.MavenProject project
          The maven project.
protected  java.io.File sqlDirectory
          The directory containing the database sql script.
protected static java.lang.String WEBAPP_CLASSIFIER
          The classifier used for the webapp artifact.
protected  java.io.File webappSourceDirectory
          The source directory for webapp components.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractLuteceMojo()
           
 
Method Summary
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

LUTECE_PLUGIN_TYPE

protected static final java.lang.String LUTECE_PLUGIN_TYPE
The name of the lutece plugin artifact type.

See Also:
Constant Field Values

LUTECE_CORE_TYPE

protected static final java.lang.String LUTECE_CORE_TYPE
The name of the lutece core artifact type.

See Also:
Constant Field Values

LUTECE_CORE_PACKAGING

protected static final java.lang.String LUTECE_CORE_PACKAGING
The name of the lutece core packaging.

See Also:
Constant Field Values

LUTECE_PLUGIN_PACKAGING

protected static final java.lang.String LUTECE_PLUGIN_PACKAGING
The name of the lutece plugin packaging.

See Also:
Constant Field Values

LUTECE_SITE_PACKAGING

protected static final java.lang.String LUTECE_SITE_PACKAGING
The name of the lutece site packaging.

See Also:
Constant Field Values

WEBAPP_CLASSIFIER

protected static final java.lang.String WEBAPP_CLASSIFIER
The classifier used for the webapp artifact.

See Also:
PackageMojo, Constant Field Values

INCLUDE_PATTERN_ALL

protected static final java.lang.String INCLUDE_PATTERN_ALL
Constants used to create inclusion or exclusion rules, for the zip, jar or war building.

See Also:
Constant Field Values

INCLUDE_PATTERN_SQL

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

INCLUDE_PATTERN_SRC

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

INCLUDE_PATTERN_WEBAPP

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

EXCLUDE_PATTERN_CLASSES

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

EXCLUDE_PATTERN_LIB

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

EXCLUDE_PATTERN_SVN

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

EXCLUDE_PATTERN_ASSEMBLY

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

EXCLUDE_PATTERN_TARGET

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

EXCLUDE_PATTERN_WEBAPP

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

EXCLUDE_PATTERN_JAVA

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

EXCLUDE_PATTERN_SITE

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

EXCLUDE_PATTERN_PACKAGE_HTML

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

PACKAGE_CLASSES_INCLUDES

protected static final java.lang.String[] PACKAGE_CLASSES_INCLUDES

PACKAGE_CLASSES_EXCLUDES

protected static final java.lang.String[] PACKAGE_CLASSES_EXCLUDES

PACKAGE_WEBAPP_INCLUDES

protected static final java.lang.String[] PACKAGE_WEBAPP_INCLUDES
The files to include in webapp archives.


PACKAGE_WEBAPP_EXCLUDES

protected static final java.lang.String[] PACKAGE_WEBAPP_EXCLUDES
The files to exclude from webapp archives.


ASSEMBLY_WEBAPP_INCLUDES

protected static final java.lang.String[] ASSEMBLY_WEBAPP_INCLUDES
The files to include in zip archives.


ASSEMBLY_WEBAPP_EXCLUDES

protected static final java.lang.String[] ASSEMBLY_WEBAPP_EXCLUDES
The files to exclude from zip archives.


project

protected org.apache.maven.project.MavenProject project
The maven project.


classesDirectory

protected java.io.File classesDirectory
The directory containing the Java classes.


defaultConfDirectory

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


webappSourceDirectory

protected java.io.File webappSourceDirectory
The source directory for webapp components.


sqlDirectory

protected java.io.File sqlDirectory
The directory containing the database sql script.

Constructor Detail

AbstractLuteceMojo

public AbstractLuteceMojo()


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