BusinessEvents Maven Plug-in Phases
TIBCO BusinessEvents Maven plug-in overrides the Apache Maven phases with respect to TIBCO BusinessEvents. Thus, executing the same Maven phases, you can build or deploy BusinessEvents applications. The BusinessEvents Maven plug-in also adds a buildProjectLib build lifecycle for building and installing the project library.
The Maven phases refers to the POM file of the BusinessEvents application for the required arguments. See BusinessEvents Application POM File for more details on the BusinessEvents application POM file.
mvn <phase>
mvn installIn such cases, first the compile phase is executed, then the test phase is executed, then the package phase is executed, and finally the install phase is executed.
The following tables list (in sequence) all the phases available in the BusinessEvents Maven plug-in.
Phases | Description |
---|---|
build-project-lib | Builds the project library (.projlib) for the BusinessEvents project.
The <projLibLocation> tag in the POM file, for the BusinessEvents application, specifies the location to store the generated project library (.projlib) file. |
install-project-lib | Installs the project library (.projlib) for the BusinessEvents project to your Maven repository. |
Phases | Description |
---|---|
hot-deploy | Deploys the generated EAR file for the BusinessEvents application deployed on TIBCO Enterprise Administration Agent. All the earlier phases till the
install phase are executed and the generated EAR file is deployed on the TIBCO Enterprise Administrator server specified in the
pom.xml file.
<teaConfig> <teaUrl>http://localhost:8777</teaUrl> <applicationName>FraudDetection</applicationName> <username>admin</username> <password>admin</password> </teaConfig> |