JBoss.orgCommunity Documentation

Chapter 4. Modifying your Maven Web Application to Deploy to OpenShift

Open the pom.xml file of your web application in the editor by double-clicking on the file in your Project Explorer and selecting the pom.xml tab in your workbench.

Create profiles tags within the project tags of the pom.xml file. Within the profiles tags, press Ctrl and Spacebar together to trigger auto-completion.

From the auto-completion menu, select OpenShift profile. The profile information to connect to OpenShift will be inserted.

Auto-completion selection screen.

Figure 4.1. Selecting the OpenShift Profile