Skip to content

EAR Deployment

Vishal Pawar edited this page Sep 2, 2020 · 4 revisions

Steps for EAR deployment with the config file


PREREQUISITES

The Dummy POM file, Config file should be present on EAR file location. The sample of the Dummy POM file is:

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.tibco.dummy</groupId>
  <artifactId>dummy-pom</artifactId>
  <version>1.0</version>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.8</version>
            </plugin>
        </plugins>
    </build>
</project>

STEPS FOR DEPLOYING THE EAR FILE OF ENTERPRISE APPLICATION

a. Open the Terminal from the path containing EAR file, config file, and dummy POM file. Let's assume the path is \EAR.

b. Execute the following goal by providing EAR file location and config file location

mvn com.tibco.plugins:bw6-maven-plugin:bwdeployer -DearLocation="\EAR" -DdeploymentConfigfile="\EAR\configFile.txt"

c. This will deploy the EAR file successfully.

There are platform-specific deployment goals for Docker, Kubernetes/Openshift and PCF, which are explained in detail in the platform-specific articles referenced by the links above.

Clone this wiki locally