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

add openshift profile template to pom.xml editor

    Details

    • Release Notes Text:
      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.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Similar Issues:
      Show 10 results 

      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>

        Gliffy Diagrams

          Activity

          Hide
          fbricon Fred Bricon added a comment - - edited

          Attached patch with the OpenShift Express profile template. Should be applied on trunk and M5.
          André please review.

          Patch needs to be applied to org.jboss.tools.openshift.express.ui

          Show
          fbricon Fred Bricon added a comment - - edited Attached patch with the OpenShift Express profile template. Should be applied on trunk and M5. André please review. Patch needs to be applied to org.jboss.tools.openshift.express.ui
          Hide
          maxandersen Max Rydahl Andersen added a comment -

          Patch is trivial and very useful - got my vote!

          Show
          maxandersen Max Rydahl Andersen added a comment - Patch is trivial and very useful - got my vote!
          Hide
          fbricon Fred Bricon added a comment -

          New OpenShift Express profile template is available in the pom.xml editor, in the <profiles> section, on Ctrl+space :

          Show
          fbricon Fred Bricon added a comment - New OpenShift Express profile template is available in the pom.xml editor, in the <profiles> section, on Ctrl+space :
          Hide
          ljelinko Lucia Jelinkova added a comment -

          Verified in JBDS 5.0.0.v201112111508M-H55-M5

          Show
          ljelinko Lucia Jelinkova added a comment - Verified in JBDS 5.0.0.v201112111508M-H55-M5
          Hide
          irooskov Isaac Rooskov added a comment -

          Re-opening to write release note text

          Show
          irooskov Isaac Rooskov added a comment - Re-opening to write release note text
          Hide
          irooskov Isaac Rooskov added a comment -

          Re-closing issue now the release note text has been written

          Show
          irooskov Isaac Rooskov added a comment - Re-closing issue now the release note text has been written

            People

            • Assignee:
              fbricon Fred Bricon
              Reporter:
              maxandersen Max Rydahl Andersen
              Writer:
              Isaac Rooskov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development