Adding or Removing Variables Using Properties Tag in POM File

In businessevents-enterprise version 6.3.1, you can use variables by adding them as custom properties under the properties tag in the pom.xml file. For example:

<properties>
        <beHome>C:/tibco/be/6.3</beHome>
        <thirdPartyDir>C:\tibco\be\6.3\lib</thirdPartyDir>        
        <jdkHome></jdkHome>	
        <projectVersion>6.3.1</projectVersion>
 </properties>

At runtime, as per the requirement of a project you can override these properties from the command line. For example, to override BusinessEvents installation use -D parameter in mvn package phase:

mvn package -DbeHome=/my/other/behome
This leverages CI/CD seamlessly so that the same pom.xml file with custom properties is used during the build.