Jarbundle Plugin (quokka.plugin.jarbundle:0.3, namespace=jarbundle)

The JarBundle plugin combines several .jars into a single .jar file.

Minor Targets

package Combines all .jar files in the jarbundle path into a single .jar file

Template Targets

package-template Combines all .jar files in a given path into a single .jar file. Implements quokka.plugin.lifecycle:package

If your project has a single jar artifact and you want to create a single Jar bundle, then no configuration is required - just add the dependencies you want to bundle to the jarbundle path.


package

Combines all .jar files in the jarbundle path into a single .jar file

  • prefix: q.jarbundle
  • template-name: package-template

Default Properties

artifactName ${q.project.artifact.name[jar]}
path jarbundle

package-template

Combines all .jar files in a given path into a single .jar file

  • template: true
  • Implements: quokka.plugin.lifecycle:package

Properties:

All properties supported by the Jar plugin are supported. In additon, the following properties are supported.

  • artifactName Mandatory. The name of the artifact to create.
  • path Mandatory. The name of the project path to bundle.
  • localClasses Optional. Any additional classes or resources to include in the bundle. Value: a quokka file set

Plugin Paths

runtime : Runtime class path

quokka.core.metadata metadata 0.3

quokka.core.plugin-spi plugin-spi 0.3

quokka.core.util util 0.3

quokka.plugin.lifecycle lifecycle 0.3

quokka.core.plugin-spi plugin-spi 0.3

apache.ant ant 1.7.1

quokka.core.bootstrap-util bootstrap-util 0.3

quokka.core.repo-spi repo-spi 0.3

apache.ant ant 1.7.1