Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10354

add openshift profile template to pom.xml editor

    XMLWordPrintable

Details

    • A new OpenShift profile is available for use in the creation of a WAR archive. The template provides a structure compatible with OpenShift Express for the user, and can be inserted into the pom.xml file using Ctrl+Space.
    • Documented as Resolved Issue

    Description

      we should have a "openshift war profile" template that contains something like this from the default openshift app:

      <profile>
      <!-- When built in OpenShift the 'openshift' profile will be used when invoking mvn. -->
      <!-- Use this profile for any OpenShift specific customization your app will need. -->
      <!-- By default that is to put the resulting archive into the 'deployments' folder. -->
      <!-- http://maven.apache.org/guides/mini/guide-building-for-different-environments.html -->
      <id>openshift</id>
      <build>
      <plugins>
      <plugin>
      <artifactId>maven-war-plugin</artifactId>
      <version>2.1.1</version>
      <configuration>
      <outputDirectory>deployments</outputDirectory>
      <warName>ROOT</warName>
      </configuration>
      </plugin>
      </plugins>
      </build>
      </profile>

      Attachments

        Activity

          People

            fbricon@redhat.com Fred Bricon
            manderse@redhat.com Max Andersen
            Isaac Rooskov Isaac Rooskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: