Author: fbricon
Date: 2011-12-06 06:17:35 -0500 (Tue, 06 Dec 2011)
New Revision: 36992
Modified:
branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/plugin.xml
Log:
JBIDE-10354: add openshift profile template to pom.xml editor
Modified:
branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/plugin.xml
===================================================================
---
branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/plugin.xml 2011-12-06
11:12:00 UTC (rev 36991)
+++
branches/jbosstools-3.3.0.M5/openshift/plugins/org.jboss.tools.openshift.express.ui/plugin.xml 2011-12-06
11:17:35 UTC (rev 36992)
@@ -188,4 +188,30 @@
</extension>
-->
+ <extension point="org.eclipse.ui.editors.templates">
+ <template
id="org.jboss.tools.maven.editor.xml.templates.profiles.openshift"
+
contextTypeId="org.eclipse.m2e.editor.xml.templates.contextType.profiles"
+ name="OpenShift Express profile"
+ description="OpenShift Express profile">
+ <pattern> <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-environm...
-->
+ <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></pattern>
+ </template>
+ </extension>
</plugin>