For the purpose of creating a lifecycle for the different BusinessWorks elements (EAR & Projlib), this plugin overrides the default Maven lifecycles. To do so, there are several “packaging” created :

  • bw-ear is used to generate a TIBCO BusinessWorks application composed of a TIBCO BusinessWorks EAR and its configuration files (XML & properties).

  • bw-ear-deploy is used to configure and deploy a TIBCO BusinessWorks application on server-side.

  • projlib is used to generate a TIBCO BusinessWorks Projlib.

EAR

Here is the lifecycle associated with the packaging bw-ear:

Phase Goal
initialize fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:initialize
generate-sources fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:copy-bw-sources
generate-resources fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:copy-bw-dependencies
process-resources fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:resolve-bw-dependencies
compile fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:update-alias-lib
fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:compile-bw-ear
fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:include-dependencies-in-bw-ear
generate-test-sources fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:copy-bw-test-sources
generate-test-resources fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:copy-bw-test-dependencies
process-test-sources fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:resolve-bw-test-dependencies
test fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:bw-test
prepare-package fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:extract-xml-from-ear
fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:generate-properties-from-xml
fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:generate-deployment-pom
fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:generate-standalone-deployment-pom
package fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:merge-properties
fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:generate-xml-from-properties
pre-integration-test fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:it-deploy-bw
install org.apache.maven.plugins:maven-install-plugin:install
deploy org.apache.maven.plugins:maven-deploy-plugin:deploy

Deployment

Here is the lifecycle associated with the packaging bw-ear-deploy:

Phase Goal
prepare-package fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:generate-properties-from-xml
package fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:merge-properties
fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:generate-xml-from-properties
deploy fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:deploy-bw

NB: the “deploy” phase will not deploy any artifact on a Maven repository as defined in standard Maven lifecycles. Instead it will deploy the application on a TIBCO domain.

Back to top

Version: 2.4.0. Last Published: 2015-12-17.