mirror of https://github.com/apache/maven.git
[MNG-8234] Revert the addition of the priority tag (#1711)
This commit is contained in:
parent
625b4561f0
commit
85f5dca4a6
|
@ -2511,7 +2511,7 @@
|
||||||
</field>
|
</field>
|
||||||
<field xml.transient="true">
|
<field xml.transient="true">
|
||||||
<name>priority</name>
|
<name>priority</name>
|
||||||
<version>4.0.0/4.0.99</version>
|
<version>4.0.0+</version>
|
||||||
<type>int</type>
|
<type>int</type>
|
||||||
<description>
|
<description>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
@ -2522,17 +2522,6 @@
|
||||||
]]>
|
]]>
|
||||||
</description>
|
</description>
|
||||||
</field>
|
</field>
|
||||||
<field>
|
|
||||||
<name>priority</name>
|
|
||||||
<version>4.1.0+</version>
|
|
||||||
<type>int</type>
|
|
||||||
<description>
|
|
||||||
The priority of this execution compared to other executions which are bound to the same phase.
|
|
||||||
Executions derived from the default lifecycle have a negative priority by default so that they are executed
|
|
||||||
before any custom plugin executions.
|
|
||||||
@since Maven 4.0.0
|
|
||||||
</description>
|
|
||||||
</field>
|
|
||||||
<field>
|
<field>
|
||||||
<name>goals</name>
|
<name>goals</name>
|
||||||
<version>4.0.0+</version>
|
<version>4.0.0+</version>
|
||||||
|
|
|
@ -70,6 +70,6 @@ class MavenModelVersionTest {
|
||||||
.withPlugins(Collections.singleton(Plugin.newInstance()
|
.withPlugins(Collections.singleton(Plugin.newInstance()
|
||||||
.withExecutions(Collections.singleton(
|
.withExecutions(Collections.singleton(
|
||||||
PluginExecution.newInstance().withPriority(5))))));
|
PluginExecution.newInstance().withPriority(5))))));
|
||||||
assertEquals("4.1.0", new MavenModelVersion().getModelVersion(m));
|
assertEquals("4.0.0", new MavenModelVersion().getModelVersion(m));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue