Setting Up TIBCO BusinessEvents Maven Plug-in
TIBCO BusinessEvents Maven plug-in is packaged with TIBCO BusinessEvents installation. From version 6.3.1 onwards, manual installation of the TIBCO BusinessEvents Maven plug-in is not required. It is a built-in component packaged with TIBCO BusinessEvents installer. The only pre-condition is that Apache Maven should be already installed. If Apache Maven is not available, then the installation does not fail. However, it displays an error message in the installer log that some of the projects may not work as the BusinessEvents Maven plug-in is undetected.
In such situations to build TIBCO BusinessEvents Maven projects, install Apache Maven and then you can setup TIBCO BusinessEvents Maven plug-in manually.
To run the Maven commands, you must install the TIBCO BusinessEvents Maven plug-in to your Maven (.m2) repository. This is a one-time activity.
- JRE 1.8 or later (containing tools.jar) is installed and its location is added to the PATH environment variable. This value could be a path of the JRE provided with the TIBCO BusinessEvents installation or an external JDK 1.8 location. Ensure that the tools.jar file is present in the JDK or JRE path that you have provided in the environment variable.
- Apache Maven is installed and its location is added to the PATH environment variable
- TIBCO BusinessEvents 5.4.1 or later is installed.
- A working internet connection for downloading Maven dependencies.
- Procedure
- Navigate to the Maven folder in the TIBCO BusinessEvents installation at BE_HOME/maven/bin.
- Run the following command:
For Windows:
install-be-maven-plugin.batFor Unix:install-be-maven-plugin.shOn the successful run of the command, the BusinessEvents Maven plug-in JAR file (BE_HOME/maven/bin/be-maven-plugin-version-number.jar) is installed to your Maven (.m2) repository.