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, org.codehaus.plexus.logging.LogEnabled
Direct Known Subclasses:
AbstractLuteceWebappMojo, PackageMojo

public abstract class AbstractLuteceMojo
extends org.apache.maven.plugin.AbstractMojo
implements org.codehaus.plexus.logging.LogEnabled

Abstracts functionnality common to all Lutece mojos.


Field Summary
protected  org.apache.maven.artifact.resolver.ArtifactCollector artifactCollector
          Artifact collector, needed to resolve dependencies.
protected static String[] ASSEMBLY_WEBAPP_EXCLUDES
          The files to exclude from zip archives.
protected static String[] ASSEMBLY_WEBAPP_INCLUDES
          The files to include in zip archives.
protected static String[] ASSEMBLY_WEBAPP_SITE_EXCLUDES
           
protected static String[] ASSEMBLY_WEBAPP_SITE_INCLUDES
           
protected  File classesDirectory
          The directory containing the Java classes.
protected  File defaultConfDirectory
          The directory containing the default configuration files.
protected static String EXCLUDE_PATTERN_ASSEMBLY
           
protected static String EXCLUDE_PATTERN_BUSINESS
           
protected static String EXCLUDE_PATTERN_CLASSES
           
protected static String EXCLUDE_PATTERN_JAVA
           
protected static String EXCLUDE_PATTERN_LIB
           
protected static String EXCLUDE_PATTERN_PACKAGE_HTML
           
protected static String EXCLUDE_PATTERN_RESOURCES
           
protected static String EXCLUDE_PATTERN_SERVICE
           
protected static String EXCLUDE_PATTERN_SITE
           
protected static String EXCLUDE_PATTERN_SVN
           
protected static String EXCLUDE_PATTERN_TARGET
           
protected static String EXCLUDE_PATTERN_TEST
           
protected static String EXCLUDE_PATTERN_UTIL
           
protected static String EXCLUDE_PATTERN_UTILS
           
protected static String EXCLUDE_PATTERN_WEB
           
protected static String EXCLUDE_PATTERN_WEBAPP
           
protected static String EXCLUDE_PATTERN_WEBINF_TEST
           
protected static String INCLUDE_PATTERN_ALL
          Constants used to create inclusion or exclusion rules, for the zip, jar or war building.
protected static String INCLUDE_PATTERN_RESOURCES
           
protected static String INCLUDE_PATTERN_SITE_USER
           
protected static String INCLUDE_PATTERN_SQL
           
protected static String INCLUDE_PATTERN_SRC
           
protected static String INCLUDE_PATTERN_WEBAPP
           
protected  org.codehaus.plexus.logging.Logger logger
          Plexus logger needed for debugging manual artifact resolution.
protected static String LUTECE_CORE_PACKAGING
          The name of the lutece core packaging.
protected static String LUTECE_CORE_TYPE
          The name of the lutece core artifact type.
protected static String LUTECE_DIRECTORY
          The name of the lutece directory.
protected static String LUTECE_PLUGIN_PACKAGING
          The name of the lutece plugin packaging.
protected static String LUTECE_PLUGIN_TYPE
          The name of the lutece plugin artifact type.
protected static String LUTECE_SITE_PACKAGING
          The name of the lutece site packaging.
protected static Set<org.apache.maven.artifact.Artifact> multiProjectArtifacts
          The set of artifacts required by the Multi Project, including transitive dependencies.
protected static Set<org.apache.maven.artifact.Artifact> multiProjectArtifactsCopied
          The multi project artifacts.
protected  File outputDirectory
          The project's output directory
protected static String[] PACKAGE_CLASSES_EXCLUDES
           
protected static String[] PACKAGE_CLASSES_INCLUDES
           
protected static String[] PACKAGE_WEBAPP_EXCLUDES
          The files to exclude from webapp archives.
protected static String[] PACKAGE_WEBAPP_INCLUDES
          The files to include in webapp archives.
protected static String[] PACKAGE_WEBAPP_RESOURCES_EXCLUDES
          The files to exclude from webapp archives.
protected static String[] PACKAGE_WEBAPP_RESOURCES_INCLUDE
          The files to includes from webapp archives.
protected static String[] PACKAGE_WEBAPP_SITE_EXCLUDES
           
protected static String[] PACKAGE_WEBAPP_SITE_INCLUDES
           
protected static String POM_PACKAGING
          The name of the pom packaging.
protected  org.apache.maven.project.MavenProject project
          The maven project.
protected  List<org.apache.maven.project.MavenProject> reactorProjects
          The projects in the reactor for aggregation report.
protected  File siteDirectory
          The directory containing the default user documentation.
protected  File sqlDirectory
          The directory containing the database sql script.
protected static String WEB_INF_DOC_XML_PATH
           
protected static String WEB_INF_SQL_PATH
          Constante use for output path directory.
protected static String WEBAPP_CLASSIFIER
          The classifier used for the webapp artifact.
protected  File webappSourceDirectory
          The source directory for webapp components.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractLuteceMojo()
           
 
Method Summary
 void enableLogging(org.codehaus.plexus.logging.Logger logger)
           
 
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 String LUTECE_PLUGIN_TYPE
The name of the lutece plugin artifact type.

See Also:
Constant Field Values

LUTECE_CORE_TYPE

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

See Also:
Constant Field Values

LUTECE_CORE_PACKAGING

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

See Also:
Constant Field Values

LUTECE_PLUGIN_PACKAGING

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

See Also:
Constant Field Values

LUTECE_SITE_PACKAGING

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

See Also:
Constant Field Values

POM_PACKAGING

protected static final String POM_PACKAGING
The name of the pom packaging.

See Also:
Constant Field Values

WEBAPP_CLASSIFIER

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

See Also:
PackageMojo, Constant Field Values

LUTECE_DIRECTORY

protected static final String LUTECE_DIRECTORY
The name of the lutece directory.

See Also:
Constant Field Values

INCLUDE_PATTERN_ALL

protected static final 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 String INCLUDE_PATTERN_SQL
See Also:
Constant Field Values

INCLUDE_PATTERN_SRC

protected static final String INCLUDE_PATTERN_SRC
See Also:
Constant Field Values

INCLUDE_PATTERN_WEBAPP

protected static final String INCLUDE_PATTERN_WEBAPP
See Also:
Constant Field Values

INCLUDE_PATTERN_RESOURCES

protected static final String INCLUDE_PATTERN_RESOURCES
See Also:
Constant Field Values

INCLUDE_PATTERN_SITE_USER

protected static final String INCLUDE_PATTERN_SITE_USER
See Also:
Constant Field Values

EXCLUDE_PATTERN_CLASSES

protected static final String EXCLUDE_PATTERN_CLASSES
See Also:
Constant Field Values

EXCLUDE_PATTERN_LIB

protected static final String EXCLUDE_PATTERN_LIB
See Also:
Constant Field Values

EXCLUDE_PATTERN_SVN

protected static final String EXCLUDE_PATTERN_SVN
See Also:
Constant Field Values

EXCLUDE_PATTERN_ASSEMBLY

protected static final String EXCLUDE_PATTERN_ASSEMBLY
See Also:
Constant Field Values

EXCLUDE_PATTERN_TARGET

protected static final String EXCLUDE_PATTERN_TARGET
See Also:
Constant Field Values

EXCLUDE_PATTERN_WEBAPP

protected static final String EXCLUDE_PATTERN_WEBAPP
See Also:
Constant Field Values

EXCLUDE_PATTERN_JAVA

protected static final String EXCLUDE_PATTERN_JAVA
See Also:
Constant Field Values

EXCLUDE_PATTERN_SITE

protected static final String EXCLUDE_PATTERN_SITE
See Also:
Constant Field Values

EXCLUDE_PATTERN_TEST

protected static final String EXCLUDE_PATTERN_TEST
See Also:
Constant Field Values

EXCLUDE_PATTERN_PACKAGE_HTML

protected static final String EXCLUDE_PATTERN_PACKAGE_HTML
See Also:
Constant Field Values

EXCLUDE_PATTERN_RESOURCES

protected static final String EXCLUDE_PATTERN_RESOURCES
See Also:
Constant Field Values

EXCLUDE_PATTERN_BUSINESS

protected static final String EXCLUDE_PATTERN_BUSINESS
See Also:
Constant Field Values

EXCLUDE_PATTERN_WEB

protected static final String EXCLUDE_PATTERN_WEB
See Also:
Constant Field Values

EXCLUDE_PATTERN_SERVICE

protected static final String EXCLUDE_PATTERN_SERVICE
See Also:
Constant Field Values

EXCLUDE_PATTERN_UTILS

protected static final String EXCLUDE_PATTERN_UTILS
See Also:
Constant Field Values

EXCLUDE_PATTERN_UTIL

protected static final String EXCLUDE_PATTERN_UTIL
See Also:
Constant Field Values

EXCLUDE_PATTERN_WEBINF_TEST

protected static final String EXCLUDE_PATTERN_WEBINF_TEST
See Also:
Constant Field Values

PACKAGE_CLASSES_INCLUDES

protected static final String[] PACKAGE_CLASSES_INCLUDES

PACKAGE_CLASSES_EXCLUDES

protected static final String[] PACKAGE_CLASSES_EXCLUDES

PACKAGE_WEBAPP_INCLUDES

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


PACKAGE_WEBAPP_SITE_INCLUDES

protected static final String[] PACKAGE_WEBAPP_SITE_INCLUDES

PACKAGE_WEBAPP_EXCLUDES

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


PACKAGE_WEBAPP_SITE_EXCLUDES

protected static final String[] PACKAGE_WEBAPP_SITE_EXCLUDES

PACKAGE_WEBAPP_RESOURCES_INCLUDE

protected static final String[] PACKAGE_WEBAPP_RESOURCES_INCLUDE
The files to includes from webapp archives.


PACKAGE_WEBAPP_RESOURCES_EXCLUDES

protected static final String[] PACKAGE_WEBAPP_RESOURCES_EXCLUDES
The files to exclude from webapp archives.


ASSEMBLY_WEBAPP_INCLUDES

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


ASSEMBLY_WEBAPP_SITE_INCLUDES

protected static final String[] ASSEMBLY_WEBAPP_SITE_INCLUDES

ASSEMBLY_WEBAPP_EXCLUDES

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


ASSEMBLY_WEBAPP_SITE_EXCLUDES

protected static final String[] ASSEMBLY_WEBAPP_SITE_EXCLUDES

WEB_INF_SQL_PATH

protected static final String WEB_INF_SQL_PATH
Constante use for output path directory.

See Also:
Constant Field Values

WEB_INF_DOC_XML_PATH

protected static final String WEB_INF_DOC_XML_PATH
See Also:
Constant Field Values

project

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


classesDirectory

protected File classesDirectory
The directory containing the Java classes.


defaultConfDirectory

protected File defaultConfDirectory
The directory containing the default configuration files.


webappSourceDirectory

protected File webappSourceDirectory
The source directory for webapp components.


sqlDirectory

protected File sqlDirectory
The directory containing the database sql script.


siteDirectory

protected File siteDirectory
The directory containing the default user documentation.


outputDirectory

protected File outputDirectory
The project's output directory


reactorProjects

protected List<org.apache.maven.project.MavenProject> reactorProjects
The projects in the reactor for aggregation report.


artifactCollector

protected org.apache.maven.artifact.resolver.ArtifactCollector artifactCollector
Artifact collector, needed to resolve dependencies.


multiProjectArtifacts

protected static Set<org.apache.maven.artifact.Artifact> multiProjectArtifacts
The set of artifacts required by the Multi Project, including transitive dependencies.


multiProjectArtifactsCopied

protected static Set<org.apache.maven.artifact.Artifact> multiProjectArtifactsCopied
The multi project artifacts.


logger

protected org.codehaus.plexus.logging.Logger logger
Plexus logger needed for debugging manual artifact resolution.

Constructor Detail

AbstractLuteceMojo

public AbstractLuteceMojo()
Method Detail

enableLogging

public void enableLogging(org.codehaus.plexus.logging.Logger logger)
Specified by:
enableLogging in interface org.codehaus.plexus.logging.LogEnabled
See Also:
LogEnabled.enableLogging(org.codehaus.plexus.logging.Logger)


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