@Mojo(name="exploded") public class ExplodedMojo extends AbstractLuteceWebappMojo
clean
phase before this
goal.Modifier and Type | Field and Description |
---|---|
protected static String |
SERVLET_API
The name of the servlet api artifact id.
|
artifacts, localConfDirectory, localRepository, metadataSource, remoteRepositories, resolver, testWebappDirectory
artifactCollector, ASSEMBLY_WEBAPP_EXCLUDES, ASSEMBLY_WEBAPP_INCLUDES, ASSEMBLY_WEBAPP_SITE_EXCLUDES, ASSEMBLY_WEBAPP_SITE_INCLUDES, classesDirectory, defaultConfDirectory, EXCLUDE_PATTERN_ASSEMBLY, EXCLUDE_PATTERN_BUSINESS, EXCLUDE_PATTERN_CLASSES, EXCLUDE_PATTERN_JAVA, EXCLUDE_PATTERN_LIB, EXCLUDE_PATTERN_PACKAGE_HTML, EXCLUDE_PATTERN_RESOURCES, EXCLUDE_PATTERN_SERVICE, EXCLUDE_PATTERN_SITE, EXCLUDE_PATTERN_SVN, EXCLUDE_PATTERN_TARGET, EXCLUDE_PATTERN_TEST, EXCLUDE_PATTERN_UTIL, EXCLUDE_PATTERN_UTILS, EXCLUDE_PATTERN_WEB, EXCLUDE_PATTERN_WEBAPP, EXCLUDE_PATTERN_WEBINF_TEST, INCLUDE_PATTERN_ALL, INCLUDE_PATTERN_RESOURCES, INCLUDE_PATTERN_SITE_USER, INCLUDE_PATTERN_SQL, INCLUDE_PATTERN_SRC, INCLUDE_PATTERN_WEBAPP, logger, LUTECE_CORE_PACKAGING, LUTECE_CORE_TYPE, LUTECE_DIRECTORY, LUTECE_PLUGIN_PACKAGING, LUTECE_PLUGIN_TYPE, LUTECE_SITE_PACKAGING, multiProjectArtifacts, multiProjectArtifactsCopied, outputDirectory, PACKAGE_CLASSES_EXCLUDES, PACKAGE_CLASSES_INCLUDES, PACKAGE_WEBAPP_EXCLUDES, PACKAGE_WEBAPP_INCLUDES, PACKAGE_WEBAPP_RESOURCES_EXCLUDES, PACKAGE_WEBAPP_RESOURCES_INCLUDE, PACKAGE_WEBAPP_SITE_EXCLUDES, PACKAGE_WEBAPP_SITE_INCLUDES, POM_PACKAGING, project, reactorProjects, siteDirectory, sqlDirectory, WEB_INF_DOC_XML_PATH, WEB_INF_SQL_PATH, WEBAPP_CLASSIFIER, webappSourceDirectory
Constructor and Description |
---|
ExplodedMojo() |
Modifier and Type | Method and Description |
---|---|
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.
|
addToExplodedWebapp, copyThirdPartyJars, explodeConfigurationFiles, explodeWebapp, filterArtifacts, getRootProjectBuildDirectory, getRootProjectBuildDirectoryTarget
enableLogging
protected static final String SERVLET_API
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 3org.apache.maven.plugin.MojoExecutionException
- the mojo execution exceptionorg.apache.maven.plugin.MojoFailureException
- the mojo failure exceptionpublic 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 deleteorg.apache.maven.plugin.MojoExecutionException
- the mojo execution exceptionpublic 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 dependencyorg.apache.maven.plugin.MojoExecutionException
- the mojo exection exectionprotected void explodeMultiProjectUserConfigurationFiles(File targetDir, File confDirectory) throws org.apache.maven.plugin.MojoExecutionException
targetDir
- the multi project target directoryconfDirectory
- The multi project local conf directoryorg.apache.maven.plugin.MojoExecutionException
- the mojo exceptionCopyright © 2006–2015 Mairie de Paris. All rights reserved.