ep:package-liveview-fragment

Full name:

com.tibco.ep:ep-maven-plugin:2.2.1:package-liveview-fragment

Description:

Build a LiveView fragment

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-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. The project's files are copied into /
  5. The project's java classes and jar dependencies are copied into /java-resources
  6. The project's resources files are copied into /

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

Native archives (nar) are included - in this case a mapping is included from the nar AOL values (http://maven-nar.github.io/aol.html) to internal values.

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

Attributes:

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

Required Parameters

Name Type Since Description
<liveviewDirectory> File 1.0.0

Liveview source directory

Example use in pom.xml:

pom

Example use on commandline:

pom
Default: ${project.basedir}/src/main/liveview
User Property: liveviewDirectory

Optional Parameters

Name Type Since Description
<eventflowDirectories> File[] 1.0.0

Eventflow source directories

If no eventflowDirectories is specified, a single directory of ${project.basedir}/src/main/eventflow is used.

Example use in pom.xml:

pom

Example use on commandline:

pom
User Property: eventflowDirectories
<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

<eventflowDirectories>

Eventflow source directories

If no eventflowDirectories is specified, a single directory of ${project.basedir}/src/main/eventflow is used.

Example use in pom.xml:

pom

Example use on commandline:

pom
  • Type: java.io.File[]
  • Since: 1.0.0
  • Required: No
  • User Property: eventflowDirectories

<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

<liveviewDirectory>

Liveview source directory

Example use in pom.xml:

pom

Example use on commandline:

pom
  • Type: java.io.File
  • Since: 1.0.0
  • Required: Yes
  • User Property: liveviewDirectory
  • Default: ${project.basedir}/src/main/liveview

<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