Package | Description |
---|---|
org.apache.maven.plugins.war | |
org.apache.maven.plugins.war.packaging |
Modifier and Type | Class and Description |
---|---|
private class |
AbstractWarMojo.DefaultWarPackagingContext
WarPackagingContext default implementation
|
Modifier and Type | Field and Description |
---|---|
private WarPackagingContext |
DependenciesAnalysisPackagingTask.DependenciesAnalysisCallbackImpl.context |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractWarPackagingTask.copyFile(java.lang.String sourceId,
WarPackagingContext context,
java.io.File file,
java.lang.String targetFilename)
Copy the specified file if the target location has not yet already been used.
|
protected boolean |
AbstractWarPackagingTask.copyFile(WarPackagingContext context,
java.io.File source,
java.io.File destination,
java.lang.String targetFilename,
boolean onlyIfModified)
Copy file from source to destination.
|
protected void |
AbstractWarPackagingTask.copyFiles(java.lang.String sourceId,
WarPackagingContext context,
java.io.File sourceBaseDir,
PathSet sourceFilesSet,
boolean filtered)
Copies the files if possible as is.
|
protected void |
AbstractWarPackagingTask.copyFiles(java.lang.String sourceId,
WarPackagingContext context,
java.io.File sourceBaseDir,
PathSet sourceFilesSet,
java.lang.String targetPrefix,
boolean filtered)
Copies the files if possible with an optional target prefix.
|
protected boolean |
AbstractWarPackagingTask.copyFilteredFile(java.lang.String sourceId,
WarPackagingContext context,
java.io.File file,
java.lang.String targetFilename)
Copy the specified file if the target location has not yet already been used and filter its content with the
configured filter properties.
|
void |
WarProjectPackagingTask.copyResources(WarPackagingContext context,
org.apache.maven.model.Resource resource)
Copies webapp webResources from the specified directory.
|
protected void |
AbstractWarPackagingTask.doUnpack(WarPackagingContext context,
java.io.File file,
java.io.File unpackDirectory)
Unpacks the specified file to the specified directory.
|
private java.util.List<java.lang.String> |
ArtifactsPackagingTask.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.
|
protected void |
ClassesPackagingTask.generateJarArchive(WarPackagingContext context) |
protected java.lang.String |
AbstractWarPackagingTask.getArtifactFinalName(WarPackagingContext context,
org.apache.maven.artifact.Artifact artifact)
Returns the final name of the specified artifact.
|
protected java.io.File |
OverlayPackagingTask.getOverlayTempDirectory(WarPackagingContext context,
Overlay overlay)
Returns the directory to use to unpack the specified overlay.
|
protected void |
WarProjectPackagingTask.handeWebAppSourceDirectory(WarPackagingContext context)
Handles the webapp sources.
|
protected void |
WarProjectPackagingTask.handleArtifacts(WarPackagingContext context)
Handles the webapp artifacts.
|
protected void |
WarProjectPackagingTask.handleClassesDirectory(WarPackagingContext context)
Handles the webapp classes.
|
protected void |
DependenciesAnalysisPackagingTask.handleDependency(WarPackagingContext context,
org.apache.maven.model.Dependency dependency,
java.lang.String notBundledMessage,
java.lang.String warOrZipMessage,
java.lang.String standardMessage,
boolean removeFile) |
protected void |
DependenciesAnalysisPackagingTask.handleDependencyScope(WarPackagingContext context,
org.apache.maven.model.Dependency dependency,
java.lang.String warOrZipMessage,
java.lang.String standardMessage,
boolean removeFile) |
protected void |
WarProjectPackagingTask.handleDeploymentDescriptors(WarPackagingContext context,
java.io.File webinfDir,
java.io.File metainfDir)
Handles the deployment descriptors, if specified.
|
protected void |
WarProjectPackagingTask.handleWebResources(WarPackagingContext context)
Handles the web resources.
|
void |
CopyUserManifestTask.performPackaging(WarPackagingContext context) |
void |
WarPackagingTask.performPackaging(WarPackagingContext context)
Performs the packaging for the specified task.
|
void |
ClassesPackagingTask.performPackaging(WarPackagingContext context)
Performs the packaging for the specified task.
|
void |
DependenciesAnalysisPackagingTask.performPackaging(WarPackagingContext context)
Performs the packaging for the specified task.
|
void |
OverlayPackagingTask.performPackaging(WarPackagingContext context)
Performs the packaging for the specified task.
|
void |
WarProjectPackagingTask.performPackaging(WarPackagingContext context)
Performs the packaging for the specified task.
|
void |
ArtifactsPackagingTask.performPackaging(WarPackagingContext context)
Performs the packaging for the specified task.
|
void |
WarPostPackagingTask.performPostPackaging(WarPackagingContext context)
Executes the post packaging task.
|
void |
SaveWebappStructurePostPackagingTask.performPostPackaging(WarPackagingContext context)
Executes the post packaging task.
|
private void |
DependenciesAnalysisPackagingTask.removeDependency(WarPackagingContext context,
org.apache.maven.model.Dependency dependency) |
protected java.io.File |
OverlayPackagingTask.unpackOverlay(WarPackagingContext context,
Overlay overlay)
Unpacks the specified overlay.
|
Constructor and Description |
---|
DependenciesAnalysisCallbackImpl(WarPackagingContext context) |