ep:package-application

Full name:

com.tibco.ep:ep-maven-plugin:2.2.1:package-application

Description:

Build an application zip archive.

The packaging rules are as follows :-

  1. A mainifest file is created at /META-INF/MANIFEST.MF containing :-
    • Archiver-Version: Plexus Archiver
    • Built-By: build user
    • Build-Jdk: jdk version
    • Package-Title: project groupId and name
    • Package-Version: project version and buildNumber
    • Package-Vendor: project organization name (if set)
    • TIBCO-EP-Application-Format-Version: 1
    • TIBCO-EP-Build-Product-Version: product version
  2. pom.xml copied to /META-INF/maven/groupId/artifactId/pom.xml
  3. pom.properties created in /META-INF/maven/groupId/artifactId/pom.properties
  4. Discovered application definition file is copied into /META-INF/application.conf
  5. The project's resourcedirectory/artifactId/ files are copied to /app-config/fragmentname/
  6. The project's resourcedirectory/groupId-artifact/ files are copied to /app-config/fragmentname/
  7. The project's resourcedirectory/groupId-artifact-version/ files are copied to /app-config/fragmentname/
  8. Remaining resource files are copied into /
  9. Dependent fragments are copied into /

The plexus archiver is used to create the archive via the maven assembly plugin.

The generated filename is <artifactId>-<version>-ep-application.zip

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: package.

Optional Parameters

Name Type Since Description
<ignoreLeaks> String[] 1.3.0

List of class names to ignore in leak detection. This is processed to a CSV value to include in unit testing and in jar manifest file.

Example use in pom.xml:

pom
<productHome> File 1.0.0

Product home location. This path is resolved in the following way :

  • If property com.tibco.ep.ep-maven.product is set, use that, else
  • If environment variable TIBCO_EP_HOME is set, use that, else
  • Use localrepository/../product-group/product-artifact/product-version (so default is ~/.m2/product-group/product-artifact/product-version)

Example use in pom.xml:

pom

Example use on commandline:

pom
User Property: com.tibco.ep.ep-maven.product

Parameter Details

<ignoreLeaks>

List of class names to ignore in leak detection. This is processed to a CSV value to include in unit testing and in jar manifest file.

Example use in pom.xml:

pom
  • Type: java.lang.String[]
  • Since: 1.3.0
  • Required: No

<productHome>

Product home location. This path is resolved in the following way :

  • If property com.tibco.ep.ep-maven.product is set, use that, else
  • If environment variable TIBCO_EP_HOME is set, use that, else
  • Use localrepository/../product-group/product-artifact/product-version (so default is ~/.m2/product-group/product-artifact/product-version)

Example use in pom.xml:

pom

Example use on commandline:

pom
  • Type: java.io.File
  • Since: 1.0.0
  • Required: No
  • User Property: com.tibco.ep.ep-maven.product