lutece:exploded

Full name:

fr.paris.lutece.tools:maven-lutece-plugin:2.0.2-SNAPSHOT:exploded

Description:

Explodes a test webapp for a Lutece plugin or site project.
Note that the Lutece dependencies (core and plugins) will only be updated the first time the exploded webapp is created. Subsequent calls to this goal will only update the project's specific files :
  • for a plugin project : the plugin-specific webapp elements and classes.
  • for a site project : the site-specific webapp elements.
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.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Invokes the execution of the lifecycle phase process-classes prior to executing itself.

Required Parameters

Name Type Since Description
classesDirectory File - The directory containing the Java classes.
defaultConfDirectory File - The directory containing the default configuration files.
outputDirectory File - The project's output directory
webappSourceDirectory File - The source directory for webapp components.

Optional Parameters

Name Type Since Description
localConfDirectory File - The directory containing the local, user-specific configuration files.
Default value is: ${user.home}/lutece/conf/${project.artifactId}.
localRepository ArtifactRepository - The local repository.
remoteRepositories List - The remote repositories.
siteDirectory File - The directory containing the default user documentation.
sqlDirectory File - The directory containing the database sql script.
testWebappDirectory File - The directory where to explode the test webapp.
Default value is: ${project.build.directory}/lutece.

Parameter Details

classesDirectory:

The directory containing the Java classes.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.outputDirectory}

defaultConfDirectory:

The directory containing the default configuration files.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${basedir}/src/conf/default

localConfDirectory:

The directory containing the local, user-specific configuration files.
  • Type: java.io.File
  • Required: No
  • Default: ${user.home}/lutece/conf/${project.artifactId}

localRepository:

The local repository.
  • Type: org.apache.maven.artifact.repository.ArtifactRepository
  • Required: No
  • Expression: ${localRepository}

outputDirectory:

The project's output directory
  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}

remoteRepositories:

The remote repositories.
  • Type: java.util.List
  • Required: No
  • Expression: ${project.remoteArtifactRepositories}

siteDirectory:

The directory containing the default user documentation.
  • Type: java.io.File
  • Required: No
  • Expression: ${basedir}/src/site

sqlDirectory:

The directory containing the database sql script.
  • Type: java.io.File
  • Required: No
  • Expression: ${basedir}/src/sql

testWebappDirectory:

The directory where to explode the test webapp.
  • Type: java.io.File
  • Required: No
  • Expression: ${testWebappDirectory}
  • Default: ${project.build.directory}/lutece

webappSourceDirectory:

The source directory for webapp components.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${basedir}/webapp