Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.m2e.core/schema/projectConfigurators.exsd')
-rw-r--r--org.eclipse.m2e.core/schema/projectConfigurators.exsd28
1 files changed, 24 insertions, 4 deletions
diff --git a/org.eclipse.m2e.core/schema/projectConfigurators.exsd b/org.eclipse.m2e.core/schema/projectConfigurators.exsd
index d1cc86f5..e287686b 100644
--- a/org.eclipse.m2e.core/schema/projectConfigurators.exsd
+++ b/org.eclipse.m2e.core/schema/projectConfigurators.exsd
@@ -50,7 +50,11 @@
<element name="configurator">
<annotation>
<documentation>
- Project configurator
+ Project configurator.
+
+Project Configurators are sorted during lifecycle mapping execution, per the runsAfter/runsBefore attributes :
+- once in the scope of a mojo execution, during a full/incremental build
+- once before project configuration updates (after collecting configurators from all mojo executions)
</documentation>
</annotation>
<complexType>
@@ -84,13 +88,29 @@
<attribute name="secondaryTo" type="string">
<annotation>
<documentation>
- Id of primary project configurator that must be enabled for a plugin execution in order for this (secondary) configurator to be enabled. One and only one primary configurator must be enable for each interesting plugin execution, but any number of secondary project configurators are allowed. Primary configurator will be invoked before its corresponding secondary configurators, if any, but invocation order among secondary configurators is not specified.
+ DEPRECATED : use runsAfter instead.
+
+Id of primary project configurator that must be enabled for a plugin execution in order for this (secondary) configurator to be enabled. One and only one primary configurator must be enable for each interesting plugin execution, but any number of secondary project configurators are allowed. Primary configurator will be invoked before its corresponding secondary configurators, if any, but invocation order among secondary configurators is not specified.
</documentation>
<appinfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.m2e.core.projectConfigurators/configurator/@id"/>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.m2e.core.projectConfigurators/configurator/@id" deprecated="true"/>
</appinfo>
</annotation>
</attribute>
+ <attribute name="runsAfter" type="string">
+ <annotation>
+ <documentation>
+ Optional comma-separated list of ids of required project configurators this project configurator should run after. By default, if one of the runsAfter configurators is missing/can not be executed, this configurator will be skipped. However, configurator ids suffixed with a ? are considered optional. This configurator will be invoked even if optional configurators it should run after are missing.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="runsBefore" type="string">
+ <annotation>
+ <documentation>
+ Optional comma-separated list of ids of optional project configurators this configurator should run before. By default, this configurator will be invoked even if configurators it should run before are missing. However, configurator ids suffixed with a * are considered required. If any of the required &quot;runBefore&quot; configurators is missing, this configurator will be skipped.
+ </documentation>
+ </annotation>
+ </attribute>
</complexType>
</element>
@@ -135,7 +155,7 @@
<meta.section type="copyright"/>
</appinfo>
<documentation>
- Copyright (c) 2007, 2008 Sonatype, Inc.
+ Copyright (c) 2007-2015 Sonatype, Inc and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at

Back to the top