jarjar:jarjar

Full name:

com.atlassian.maven.plugins:jarjar-maven-plugin:0.0.4:jarjar

Description:

Calls the jarjar utility on the packaged maven artifact.

The artifact is repackaged in-place

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: package.

Optional Parameters

Name Type Since Description
projectPackage String -

This is the package in which the source code of the current project resides.

This is used to set the keep rule, as described in the documentation.

It defaults to the project group ID.

Default value is: ${project.groupId}.
rules List -

This is a list of patterns. Packages and classes matched by those patterns will be re-packaged into the project package.

i.e. it generate rules such as: <rule pattern="rules.get(i)" result="projectPackage/@0" />. See the documentation for more details on those rules.

zaps List -

This is a list of patterns. Packages and classes matched by those patterns will be removed from the artifact.

See the documentation for more details on those rules.

zips List -

A list of artifacts to include in the re-packaged jar.

Dependencies are declared according to the following pattern: groupId:artifactId

No includes means that by default everything is included

Parameter Details

projectPackage:

This is the package in which the source code of the current project resides.

This is used to set the keep rule, as described in the documentation.

It defaults to the project group ID.

  • Type: java.lang.String
  • Required: No
  • Default: ${project.groupId}

rules:

This is a list of patterns. Packages and classes matched by those patterns will be re-packaged into the project package.

i.e. it generate rules such as: <rule pattern="rules.get(i)" result="projectPackage/@0" />. See the documentation for more details on those rules.

  • Type: java.util.List
  • Required: No

zaps:

This is a list of patterns. Packages and classes matched by those patterns will be removed from the artifact.

See the documentation for more details on those rules.

  • Type: java.util.List
  • Required: No

zips:

A list of artifacts to include in the re-packaged jar.

Dependencies are declared according to the following pattern: groupId:artifactId

No includes means that by default everything is included

  • Type: java.util.List
  • Required: No