Class AddArtifactTask

java.lang.Object
org.apache.maven.plugins.assembly.archive.task.AddArtifactTask

public class AddArtifactTask extends Object
  • Field Details

    • DEFAULT_INCLUDES_ARRAY

      public static final String[] DEFAULT_INCLUDES_ARRAY
  • Constructor Details

    • AddArtifactTask

      public AddArtifactTask(org.apache.maven.artifact.Artifact artifact, org.codehaus.plexus.components.io.functions.InputStreamTransformer transformer, Charset encoding)
    • AddArtifactTask

      public AddArtifactTask(org.apache.maven.artifact.Artifact artifact, Charset encoding)
  • Method Details

    • execute

      public void execute(org.codehaus.plexus.archiver.Archiver archiver, AssemblerConfigurationSource configSource) throws ArchiveCreationException, AssemblyFormattingException
      Throws:
      ArchiveCreationException
      AssemblyFormattingException
    • setDirectoryMode

      public void setDirectoryMode(int directoryMode)
    • setFileMode

      public void setFileMode(int fileMode)
    • setExcludes

      public void setExcludes(List<String> excludes)
    • setUsingDefaultExcludes

      public void setUsingDefaultExcludes(boolean usingDefaultExcludes)
    • setIncludes

      public void setIncludes(List<String> includes)
    • setUnpack

      public void setUnpack(boolean unpack)
    • setProject

      public void setProject(org.apache.maven.project.MavenProject project)
    • setOutputDirectory

      public void setOutputDirectory(String outputDirectory)
    • setFileNameMapping

      public void setFileNameMapping(String outputFileNameMapping)
    • setOutputDirectory

      public void setOutputDirectory(String outputDirectory, String defaultOutputDirectory)
    • setFileNameMapping

      public void setFileNameMapping(String outputFileNameMapping, String defaultOutputFileNameMapping)
    • setModuleProject

      public void setModuleProject(org.apache.maven.project.MavenProject moduleProject)
    • setModuleArtifact

      public void setModuleArtifact(org.apache.maven.artifact.Artifact moduleArtifact)