dar:dar

Full name:

com.pushtechnology.tools:dar-maven-plugin:1.3:dar

Description:

Goal that creates a Diffusion™ Archive (DAR) file.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: package.

Required Parameters

Name Type Since Description
buildDirectory String - The output directory for the generated DAR.
Default value is: ${project.build.directory}.
finalName String - The name of the DAR file to generate.
Default value is: ${project.build.finalName}.

Optional Parameters

Name Type Since Description
archiver MavenArchiveConfiguration - The archive configuration to use. See the Maven Archiver Reference.
classifier String - Classifier to add to the artifact generated. If provided, the artifact will be an attachment instead.
diffusionExcludes String[] - List of fileset patterns specifying files from the diffusionResourceDirectory to exclude from the DAR.
diffusionIncludes String[] - List of fileset patterns specifying files from the diffusionResourceDirectory to include in the DAR.
diffusionResourceDirectory File - Directory containing additional resources to add to the DAR file. Typically contains at least etc/Publishers.xml.
Default value is: ${project.basedir}/src/main/diffusion.
minimumDiffusionVersion String - The minimum version number of Diffusion on which the DAR can be deployed.
Default value is: 4.5.0.
outputDirectory File - The project output directory. The contents will be packaged in the DAR ext directory.
Default value is: ${project.build.outputDirectory}.
outputExcludes String[] - List of fileset patterns specifying files from the project output directory to exclude from the DAR ext directory.
outputIncludes String[] - List of fileset patterns specifying files from the project output directory to include in the DAR ext directory.

Parameter Details

archiver:

The archive configuration to use. See the Maven Archiver Reference.
  • Type: org.apache.maven.archiver.MavenArchiveConfiguration
  • Required: No

buildDirectory:

The output directory for the generated DAR.
  • Type: java.lang.String
  • Required: Yes
  • Default: ${project.build.directory}

classifier:

Classifier to add to the artifact generated. If provided, the artifact will be an attachment instead.
  • Type: java.lang.String
  • Required: No

diffusionExcludes:

List of fileset patterns specifying files from the diffusionResourceDirectory to exclude from the DAR.
  • Type: java.lang.String[]
  • Required: No

diffusionIncludes:

List of fileset patterns specifying files from the diffusionResourceDirectory to include in the DAR.
  • Type: java.lang.String[]
  • Required: No

diffusionResourceDirectory:

Directory containing additional resources to add to the DAR file. Typically contains at least etc/Publishers.xml.
  • Type: java.io.File
  • Required: No
  • Default: ${project.basedir}/src/main/diffusion

finalName:

The name of the DAR file to generate.
  • Type: java.lang.String
  • Required: Yes
  • Default: ${project.build.finalName}

minimumDiffusionVersion:

The minimum version number of Diffusion on which the DAR can be deployed.
  • Type: java.lang.String
  • Required: No
  • Default: 4.5.0

outputDirectory:

The project output directory. The contents will be packaged in the DAR ext directory.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.outputDirectory}

outputExcludes:

List of fileset patterns specifying files from the project output directory to exclude from the DAR ext directory.
  • Type: java.lang.String[]
  • Required: No

outputIncludes:

List of fileset patterns specifying files from the project output directory to include in the DAR ext directory.
  • Type: java.lang.String[]
  • Required: No