|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
fr.paris.lutece.maven.AbstractLuteceMojo
fr.paris.lutece.maven.AbstractLuteceWebappMojo
public abstract class AbstractLuteceWebappMojo
Abstracts functionnality common to mojos that create a Lutece webapp from Lutece artifacts.
Field Summary | |
---|---|
protected java.util.Set<org.apache.maven.artifact.Artifact> |
artifacts
The set of artifacts required by this project, including transitive dependencies. |
protected java.io.File |
localConfDirectory
The directory containing the local, user-specific configuration files. |
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
The local repository. |
protected org.apache.maven.artifact.metadata.ArtifactMetadataSource |
metadataSource
The artifact metadata source. |
protected java.util.List |
remoteRepositories
The remote repositories. |
protected org.apache.maven.artifact.resolver.ArtifactResolver |
resolver
The artifact resolver. |
protected java.io.File |
testWebappDirectory
The directory where to explode the test webapp. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractLuteceWebappMojo()
|
Method Summary | |
---|---|
protected void |
addToExplodedWebapp(org.apache.maven.artifact.Artifact luteceArtifact,
java.io.File webappDir)
Adds a Lutece artifact to an exploded webapp. |
protected void |
explodeConfigurationFiles(java.io.File targetDir)
|
protected void |
explodeWebapp(java.io.File targetDir)
Creates an exploded webapp structure from the current project. |
protected java.util.Set<org.apache.maven.artifact.Artifact> |
filterArtifacts(org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
Filters the project's set of artifacts with an ArtifactFilter. |
protected java.io.File |
getRootProjectBuildDirectory()
Used for multiproject, return the output directory ( /target/lutece/ ) of root project. |
protected java.io.File |
getRootProjectBuildDirectoryTarget()
Used for multiproject, return the output directory ( /target ) of root project. |
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 |
Methods inherited from interface org.apache.maven.plugin.Mojo |
---|
execute |
Field Detail |
---|
protected java.io.File localConfDirectory
protected java.util.Set<org.apache.maven.artifact.Artifact> artifacts
protected org.apache.maven.artifact.resolver.ArtifactResolver resolver
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected java.util.List remoteRepositories
protected org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource
protected java.io.File testWebappDirectory
Constructor Detail |
---|
public AbstractLuteceWebappMojo()
Method Detail |
---|
protected void explodeWebapp(java.io.File targetDir) throws org.apache.maven.plugin.MojoExecutionException
targetDir
- the destination directory.
org.apache.maven.plugin.MojoExecutionException
- if an error occurs while exploding the webapp.protected void explodeConfigurationFiles(java.io.File targetDir) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void addToExplodedWebapp(org.apache.maven.artifact.Artifact luteceArtifact, java.io.File webappDir) throws org.apache.maven.plugin.MojoExecutionException
luteceArtifact
- the Lutece artifact.webappDir
- the exploded webapp's base directory.
org.apache.maven.plugin.MojoExecutionException
- if an error occurs while unpacking.protected java.util.Set<org.apache.maven.artifact.Artifact> filterArtifacts(org.apache.maven.artifact.resolver.filter.ArtifactFilter filter)
type
- the type to retain.
protected java.io.File getRootProjectBuildDirectory()
protected java.io.File getRootProjectBuildDirectoryTarget()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |