|
|||||||||
| 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 java.lang.String |
SERVLET_API
The name of the servlet api artifact id. |
| Fields inherited from class fr.paris.lutece.maven.AbstractLuteceWebappMojo |
|---|
artifacts, localRepository, metadataSource, remoteRepositories, resolver, testWebappDirectory |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
ExplodedMojo()
|
|
| Method Summary | |
|---|---|
void |
copyDependencies(java.io.File outputDirectory,
java.util.Set<org.apache.maven.artifact.Artifact> listArtifacts)
Copy the jar dependencies list iinto the output directory |
void |
execute()
Executes the mojo on the current project. |
| 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 java.lang.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
public void copyDependencies(java.io.File outputDirectory,
java.util.Set<org.apache.maven.artifact.Artifact> listArtifacts)
throws org.apache.maven.plugin.MojoExecutionException
outputDirectory - the output directorylistArtifacts - the list of artifact dependency
org.apache.maven.plugin.MojoExecutionException - the mojo exection exection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||