|
||||||||||
| 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
fr.paris.lutece.maven.ExplodedMojo
public class ExplodedMojo
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 :
clean phase before this
goal.
| Field Summary | |
|---|---|
protected static String |
SERVLET_API
The name of the servlet api artifact id. |
| Fields inherited from class fr.paris.lutece.maven.AbstractLuteceWebappMojo |
|---|
artifacts, localConfDirectory, localRepository, metadataSource, remoteRepositories, resolver, testWebappDirectory |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
ExplodedMojo()
|
|
| Method Summary | |
|---|---|
void |
copyDependencies(File outputDirectory,
Set<org.apache.maven.artifact.Artifact> listArtifactsToCopy)
Copy the jar dependencies list iinto the output directory. |
void |
execute()
Executes the mojo on the current project. |
void |
executeM2Mojo()
Deprecated. use execute() instead for Maven 3 |
protected void |
explodeMultiProjectUserConfigurationFiles(File targetDir,
File confDirectory)
Explode multi project local configuration directory |
void |
removeArtifacts(File outputDirectory,
Set<org.apache.maven.artifact.Artifact> listArtifactsToDelete)
Removes the artifacts. |
| 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 |
|---|
protected static final String SERVLET_API
| Constructor Detail |
|---|
public ExplodedMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - if an error occured while exploding the webapp.
org.apache.maven.plugin.MojoFailureException
@Deprecated
public void executeM2Mojo()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute() instead for Maven 3
org.apache.maven.plugin.MojoExecutionException - the mojo execution exception
org.apache.maven.plugin.MojoFailureException - the mojo failure exception
public void removeArtifacts(File outputDirectory,
Set<org.apache.maven.artifact.Artifact> listArtifactsToDelete)
throws org.apache.maven.plugin.MojoExecutionException
outputDirectory - the output directorylistArtifactsToDelete - the list artifacts to delete
org.apache.maven.plugin.MojoExecutionException - the mojo execution exception
public void copyDependencies(File outputDirectory,
Set<org.apache.maven.artifact.Artifact> listArtifactsToCopy)
throws org.apache.maven.plugin.MojoExecutionException
outputDirectory - the output directorylistArtifactsToCopy - the list of artifact dependency
org.apache.maven.plugin.MojoExecutionException - the mojo exection exection
protected void explodeMultiProjectUserConfigurationFiles(File targetDir,
File confDirectory)
throws org.apache.maven.plugin.MojoExecutionException
targetDir - the multi project target directoryconfDirectory - The multi project local conf directory
org.apache.maven.plugin.MojoExecutionException - the mojo exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||