public class ArtifactsPackagingTask extends AbstractWarPackagingTask
| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<org.apache.maven.artifact.Artifact> |
artifacts |
static java.lang.String |
EXTENSIONS_PATH
The
extensions path. |
private java.lang.String |
id |
static java.lang.String |
MODULES_PATH
The
modules path. |
static java.lang.String |
SERVICES_PATH
The
services path. |
static java.lang.String |
TLD_PATH
The
tld path. |
CLASSES_PATH, DEFAULT_INCLUDES, LIB_PATH, META_INF_PATH, WEB_INF_PATH| Constructor and Description |
|---|
ArtifactsPackagingTask(java.util.Set<org.apache.maven.artifact.Artifact> artifacts,
Overlay currentProjectOverlay) |
| Modifier and Type | Method and Description |
|---|---|
private java.util.List<java.lang.String> |
findDuplicates(WarPackagingContext context,
java.util.Set<org.apache.maven.artifact.Artifact> artifacts)
Searches a set of artifacts for duplicate filenames and returns a list of duplicates.
|
void |
performPackaging(WarPackagingContext context)
Performs the packaging for the specified task.
|
copyFile, copyFile, copyFiles, copyFiles, copyFilteredFile, doUnpack, getArtifactFinalName, getEncoding, getFilesToIncludes, getFilesToIncludespublic static final java.lang.String TLD_PATH
tld path.public static final java.lang.String SERVICES_PATH
services path.public static final java.lang.String MODULES_PATH
modules path.public static final java.lang.String EXTENSIONS_PATH
extensions path.private final java.util.Set<org.apache.maven.artifact.Artifact> artifacts
private final java.lang.String id
public void performPackaging(WarPackagingContext context) throws org.apache.maven.plugin.MojoExecutionException
context - the packaging contextorg.apache.maven.plugin.MojoExecutionException - if an error occurredprivate java.util.List<java.lang.String> findDuplicates(WarPackagingContext context, java.util.Set<org.apache.maven.artifact.Artifact> artifacts) throws org.codehaus.plexus.interpolation.InterpolationException
context - the packaging contextartifacts - set of artifactsorg.codehaus.plexus.interpolation.InterpolationException