Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvladt2010-12-25 09:35:16 -0500
committervladt2010-12-25 09:35:16 -0500
commit082ab81a0af426522cd4d82fae18eaf57ada7749 (patch)
treeda192b394776d8d6aaa0f88086a28dcd238001fa
parenteb8528f1277be7070ab5ffb993f4a5e06b82f5fe (diff)
downloadm2e-core-082ab81a0af426522cd4d82fae18eaf57ada7749.tar.gz
m2e-core-082ab81a0af426522cd4d82fae18eaf57ada7749.tar.xz
m2e-core-082ab81a0af426522cd4d82fae18eaf57ada7749.zip
MNGECLIPSE-2681: Use modello model in lifecycle mapping eclipse extensions
-rw-r--r--org.eclipse.m2e.core/schema/lifecycleMappings.exsd4
-rw-r--r--org.eclipse.m2e.core/schema/projectConfigurators.exsd33
2 files changed, 34 insertions, 3 deletions
diff --git a/org.eclipse.m2e.core/schema/lifecycleMappings.exsd b/org.eclipse.m2e.core/schema/lifecycleMappings.exsd
index 0670157f..46930f4f 100644
--- a/org.eclipse.m2e.core/schema/lifecycleMappings.exsd
+++ b/org.eclipse.m2e.core/schema/lifecycleMappings.exsd
@@ -122,7 +122,7 @@
</complexType>
</element>
- <element name="filter">
+ <element name="pluginExecutionFilter">
<complexType>
<all>
<element ref="groupId" minOccurs="1" maxOccurs="1"/>
@@ -136,7 +136,7 @@
<element name="pluginExecution">
<complexType>
<all>
- <element ref="filter" minOccurs="1" maxOccurs="1"/>
+ <element ref="pluginExecutionFilter" minOccurs="1" maxOccurs="1"/>
<element ref="action" minOccurs="1" maxOccurs="1"/>
</all>
</complexType>
diff --git a/org.eclipse.m2e.core/schema/projectConfigurators.exsd b/org.eclipse.m2e.core/schema/projectConfigurators.exsd
index eb7d1385..c50ef02c 100644
--- a/org.eclipse.m2e.core/schema/projectConfigurators.exsd
+++ b/org.eclipse.m2e.core/schema/projectConfigurators.exsd
@@ -46,6 +46,37 @@
</attribute>
</complexType>
</element>
+
+ <element name="groupId" type="string">
+ </element>
+
+ <element name="artifactId" type="string">
+ </element>
+
+ <element name="versionRange" type="string">
+ </element>
+
+ <element name="goal" type="string">
+ </element>
+
+ <element name="goals">
+ <complexType>
+ <sequence>
+ <element ref="goal" minOccurs="1" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="pluginExecutionFilter">
+ <complexType>
+ <all>
+ <element ref="groupId" minOccurs="1" maxOccurs="1"/>
+ <element ref="artifactId" minOccurs="1" maxOccurs="1"/>
+ <element ref="versionRange" minOccurs="1" maxOccurs="1"/>
+ <element ref="goals" minOccurs="1" maxOccurs="1"/>
+ </all>
+ </complexType>
+ </element>
<element name="configurator">
<annotation>
@@ -55,7 +86,7 @@
</annotation>
<complexType>
<sequence minOccurs="0" maxOccurs="unbounded">
- <element ref="mojo"/>
+ <element ref="pluginExecutionFilter"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>

Back to the top