jboss-packaging:par

Full name:

org.codehaus.mojo:jboss-packaging-maven-plugin:2.2:par

Description:

Builds a deployable JBoss Process Archive.

Attributes:

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

Optional Parameters

Name Type Since Description
archive MavenArchiveConfiguration 2.1 The maven archive configuration to use.
archiveName String 2.1 The name of the generated packaging archive.
Default value is: ${project.build.finalName}.
classifier String 2.1 Classifier to add to the generated artifact. If given, the artifact will not be the primary project artifact.
deploymentDescriptorDest File 2.1 The destination of the deployment descriptor file.
Default value is: ${project.build.directory}/${project.build.finalName}.
deploymentDescriptorDestName String 2.1 The filename for the output deployment descriptor. By default the deployment descriptor will retain the same filename.
deploymentDescriptorFile File 2.1 The location of the jbpm deployment descriptor file (processdefinition.xml) If it is present in src/main/resources then it will automatically be included. Otherwise this parameter must be set.
Default value is: ${project.build.directory}/${project.build.finalName}/processdefinition.xml.
encoding String 2.1 The character encoding of the resource files.
Default value is: ${project.build.sourceEncoding}.
excludeAll boolean 2.1 All artifacts are excluded.
Default value is: false.
excludes Set 2.1 Dependency Artifacts excluded from packaging within the generated archive file. Use artifactId:groupId in nested exclude tags.
explodedOnly boolean 2.0 Whether to generate only the exploded archive format. By default both an exploded directory and a zipped file will be created. If set to "true" only the exploded directory will be created.
Default value is: false.
filters List 2.1 The filters used when copying the resource files. By default this will use the resource filters specified in the POM.
Default value is: ${project.build.filters}.
jbpmDirectory File 2.1 The directory where JBoss JBPM resources are located.
Default value is: src/main/jbpm.
jpdlDirectory File 2.1 The directory where JBoss JPDL resources are located.
Default value is: src/main/jpdl/${project.artifactId}.
libDirectory File 2.1 The directory where to put the libs.
Default value is: ${project.build.directory}/${project.build.finalName}/lib.
manifest File 2.1 The manifest file for the archive.
outputDirectory File 2.1 The directory for the generated packaging.
Default value is: ${project.build.directory}.
packagingClassesDirectory File 2.1 The directory where compiled classes and resources are placed.
Default value is: ${project.build.directory}/${project.build.finalName}/classes.
packagingDirectory File 2.1 The directory where the JBoss packaging is built.
Default value is: ${project.build.directory}/${project.build.finalName}.
primaryArtifact boolean 2.1 Whether this is the main artifact of the current project.
Default value is: true.
removeDependencyVersions boolean 2.1 Whether to remove the version numbers from the filenames of the included dependencies. By default the included dependencies will have the format [artifactId]-[version]-[classifier].[type] If this parameter is set to true, the jar name will be in the format [artifactId]-[classifier].[type]
Default value is: false.
resources List 2.1 The resources to include in the packaged archive. Specifying this overrides using jbpmDirectory and jpdlDirectory.

Parameter Details

archive:

The maven archive configuration to use.
  • Type: org.apache.maven.archiver.MavenArchiveConfiguration
  • Since: 2.1
  • Required: No

archiveName:

The name of the generated packaging archive.
  • Type: java.lang.String
  • Since: 2.1
  • Required: No
  • Default: ${project.build.finalName}

classifier:

Classifier to add to the generated artifact. If given, the artifact will not be the primary project artifact.
  • Type: java.lang.String
  • Since: 2.1
  • Required: No

deploymentDescriptorDest:

The destination of the deployment descriptor file.
  • Type: java.io.File
  • Since: 2.1
  • Required: No
  • Default: ${project.build.directory}/${project.build.finalName}

deploymentDescriptorDestName:

The filename for the output deployment descriptor. By default the deployment descriptor will retain the same filename.
  • Type: java.lang.String
  • Since: 2.1
  • Required: No

deploymentDescriptorFile:

The location of the jbpm deployment descriptor file (processdefinition.xml) If it is present in src/main/resources then it will automatically be included. Otherwise this parameter must be set.
  • Type: java.io.File
  • Since: 2.1
  • Required: No
  • Expression: ${deploymentDescriptorFile}
  • Default: ${project.build.directory}/${project.build.finalName}/processdefinition.xml

encoding:

The character encoding of the resource files.
  • Type: java.lang.String
  • Since: 2.1
  • Required: No
  • Expression: ${encoding}
  • Default: ${project.build.sourceEncoding}

excludeAll:

All artifacts are excluded.
  • Type: boolean
  • Since: 2.1
  • Required: No
  • Expression: ${excludeAll}
  • Default: false

excludes:

Dependency Artifacts excluded from packaging within the generated archive file. Use artifactId:groupId in nested exclude tags.
  • Type: java.util.Set
  • Since: 2.1
  • Required: No

explodedOnly:

Whether to generate only the exploded archive format. By default both an exploded directory and a zipped file will be created. If set to "true" only the exploded directory will be created.
  • Type: boolean
  • Since: 2.0
  • Required: No
  • Expression: ${explodedOnly}
  • Default: false

filters:

The filters used when copying the resource files. By default this will use the resource filters specified in the POM.
  • Type: java.util.List
  • Since: 2.1
  • Required: No
  • Default: ${project.build.filters}

jbpmDirectory:

The directory where JBoss JBPM resources are located.
  • Type: java.io.File
  • Since: 2.1
  • Required: No
  • Default: src/main/jbpm

jpdlDirectory:

The directory where JBoss JPDL resources are located.
  • Type: java.io.File
  • Since: 2.1
  • Required: No
  • Default: src/main/jpdl/${project.artifactId}

libDirectory:

The directory where to put the libs.
  • Type: java.io.File
  • Since: 2.1
  • Required: No
  • Default: ${project.build.directory}/${project.build.finalName}/lib

manifest:

The manifest file for the archive.
  • Type: java.io.File
  • Since: 2.1
  • Required: No

outputDirectory:

The directory for the generated packaging.
  • Type: java.io.File
  • Since: 2.1
  • Required: No
  • Default: ${project.build.directory}

packagingClassesDirectory:

The directory where compiled classes and resources are placed.
  • Type: java.io.File
  • Since: 2.1
  • Required: No
  • Default: ${project.build.directory}/${project.build.finalName}/classes

packagingDirectory:

The directory where the JBoss packaging is built.
  • Type: java.io.File
  • Since: 2.1
  • Required: No
  • Default: ${project.build.directory}/${project.build.finalName}

primaryArtifact:

Whether this is the main artifact of the current project.
  • Type: boolean
  • Since: 2.1
  • Required: No
  • Default: true

removeDependencyVersions:

Whether to remove the version numbers from the filenames of the included dependencies. By default the included dependencies will have the format [artifactId]-[version]-[classifier].[type] If this parameter is set to true, the jar name will be in the format [artifactId]-[classifier].[type]
  • Type: boolean
  • Since: 2.1
  • Required: No
  • Default: false

resources:

The resources to include in the packaged archive. Specifying this overrides using jbpmDirectory and jpdlDirectory.
  • Type: java.util.List
  • Since: 2.1
  • Required: No