Class AddArtifactTask
java.lang.Object
org.apache.maven.plugins.assembly.archive.task.AddArtifactTask
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAddArtifactTask
(org.apache.maven.artifact.Artifact artifact, Charset encoding) AddArtifactTask
(org.apache.maven.artifact.Artifact artifact, org.codehaus.plexus.components.io.functions.InputStreamTransformer transformer, Charset encoding) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(org.codehaus.plexus.archiver.Archiver archiver, AssemblerConfigurationSource configSource) void
setDirectoryMode
(int directoryMode) void
setExcludes
(List<String> excludes) void
setFileMode
(int fileMode) void
setFileNameMapping
(String outputFileNameMapping) void
setFileNameMapping
(String outputFileNameMapping, String defaultOutputFileNameMapping) void
setIncludes
(List<String> includes) void
setModuleArtifact
(org.apache.maven.artifact.Artifact moduleArtifact) void
setModuleProject
(org.apache.maven.project.MavenProject moduleProject) void
setOutputDirectory
(String outputDirectory) void
setOutputDirectory
(String outputDirectory, String defaultOutputDirectory) void
setProject
(org.apache.maven.project.MavenProject project) void
setUnpack
(boolean unpack) void
setUsingDefaultExcludes
(boolean usingDefaultExcludes)
-
Field Details
-
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
-
-
Method Details
-
execute
public void execute(org.codehaus.plexus.archiver.Archiver archiver, AssemblerConfigurationSource configSource) throws ArchiveCreationException, AssemblyFormattingException -
setDirectoryMode
public void setDirectoryMode(int directoryMode) -
setFileMode
public void setFileMode(int fileMode) -
setExcludes
-
setUsingDefaultExcludes
public void setUsingDefaultExcludes(boolean usingDefaultExcludes) -
setIncludes
-
setUnpack
public void setUnpack(boolean unpack) -
setProject
public void setProject(org.apache.maven.project.MavenProject project) -
setOutputDirectory
-
setFileNameMapping
-
setOutputDirectory
-
setFileNameMapping
-
setModuleProject
public void setModuleProject(org.apache.maven.project.MavenProject moduleProject) -
setModuleArtifact
public void setModuleArtifact(org.apache.maven.artifact.Artifact moduleArtifact)
-