Class ArtifactsPackagingTask

java.lang.Object
org.apache.maven.plugins.war.packaging.AbstractWarPackagingTask
org.apache.maven.plugins.war.packaging.ArtifactsPackagingTask
All Implemented Interfaces:
WarPackagingTask

public class ArtifactsPackagingTask extends AbstractWarPackagingTask
Handles the artifacts that needs to be packaged in the web application.
Author:
Stephane Nicoll
  • Field Details

  • Constructor Details

    • ArtifactsPackagingTask

      public ArtifactsPackagingTask(Set<org.apache.maven.artifact.Artifact> artifacts, Overlay currentProjectOverlay)
      Parameters:
      artifacts - artifacts
      currentProjectOverlay - id
  • Method Details

    • performPackaging

      public void performPackaging(WarPackagingContext context) throws org.apache.maven.plugin.MojoExecutionException
      Description copied from interface: WarPackagingTask
      Performs the packaging for the specified task. The task is responsible to update the packaging context, namely with the files that have been copied.
      Parameters:
      context - the packaging context
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if an error occurred