Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Apache Maven Integration

Apache Maven is an open-source tool that helps you to build, test, and deploy TIBCO BusinessEvents applications like other Java projects in your organization. It creates a uniform build system with Apache Maven across the organization. This provides a standardized and efficient way to manage the entire life cycle of a software project. It enhances compatibility with different IDEs, such as Visual Studio Code, Eclipse, and so on. All the required dependencies are managed in the pom.xml file that streamlines the build process and provides consistent build across the environments.

You can use Maven to get the artifacts from different repositories and share them across different locations. If you are already using Apache Maven for other Java projects, then similar commands can be used for TIBCO BusinessEvents projects.

In this version of 6.3.1, all the TIBCO BusinessEvents projects are native Maven projects by default. The TIBCO BusinessEvents version 6.3.1 installer installs the BusinessEvents Maven plug-in as a built-in component. It is not installed manually as done in earlier versions. However, the prerequisite is that Apache Maven should be installed. If Apache Maven is not installed, then during TIBCO BusinessEvents installation, it displays an error message in the installer log file that some of the projects may not work as the BusinessEvents Maven plug-in is undetected. In such a case, the BusinessEvents Maven plug-in is installed explicitly:

- In Windows from `%BE_HOME%/maven/bin/install-be-maven-plugin.bat`.
- In Unix, from `%BE_HOME%/maven/bin/install-be-maven-plugin.sh`.

In this version, the performance has improved significantly due to lack of duplication. All the project build information is consolidated in a single source file called the Maven pom.xml file. A parent pom.xml is built in with the BusinessEvents 6.3.1 installer in BE_HOME. This parent pom.xml inherits all the dependencies in BE_HOME.

## BusinessEvents Maven Plug-in Files and Utilities

In this version 6.3.1, TIBCO BusinessEvents provides a built-in TIBCO BusinessEvents Maven plug-in to integrate Apache Maven with TIBCO BusinessEvents. The JAR file for the plug-in and the utilities, which helps in the integration of Apache Maven with TIBCO BusinessEvents, is provided at BE_HOME/maven/bin. For more information on these files, see the following table.

BusinessEvents Maven Plug-in Files and Utilities
Files | Description
--- | ---
be-maven-plugin-<version>.jar | The BusinessEvents Maven plug-in JAR file must be installed to your local Maven (`.m2`) repository to set up the BusinessEvents Maven plug-in. You can use the `install-be-maven-plugin` utility to do that. See Setting Up TIBCO BusinessEvents Maven Plug-in for more information on how to install the BusinessEvents Maven plug-in. Note: In the version 6.3.1, the BusinessEvents Maven plug-in JAR file (be-maven-plugin-<version>.jar) is not run manually.
install-be-maven-plugin.bat | The utility installs the BusinessEvents Maven plug-in JAR file (be-maven-plugin-<version>.jar) to the local `.m2` repository in the Windows platform. See Setting Up TIBCO BusinessEvents Maven Plug-in for more information on how to install the BusinessEvents Maven plug-in.
install-be-maven-plugin.sh | The utility installs the BusinessEvents Maven plug-in JAR file (be-maven-plugin-<version>.jar) to the local `.m2` repository in the Unix platform. See Setting Up TIBCO BusinessEvents Maven Plug-in for more information on how to install the BusinessEvents Maven plug-in.
install-projlib.bat | The utility installs the existing project library (`.projlib`) for the BusinessEvents project to the local `.m2` repository in the Windows platform. See Installing The Project Library to Maven Repository for more information on how to install the project library.
install-projlib.sh | The utility installs the existing project library (`.projlib`) for the BusinessEvents project to the local `.m2` repository in the Unix platform. See Installing The Project Library to Maven Repository for more information on how to install the project library.
pom.xml | The POM file required for setting up the BusinessEvents Maven plug-in. The `install-be-maven-plugin` utility uses this file.

Subtopics

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.