Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions api/maven-api-model/src/main/mdo/maven.mdo
Original file line number Diff line number Diff line change
Expand Up @@ -2511,7 +2511,7 @@
</field>
<field xml.transient="true">
<name>priority</name>
<version>4.0.0/4.0.99</version>
<version>4.0.0+</version>
<type>int</type>
<description>
<![CDATA[
Expand All @@ -2522,17 +2522,6 @@
]]>
</description>
</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>
<name>goals</name>
<version>4.0.0+</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ void testV4ModelPriority() {
.withPlugins(Collections.singleton(Plugin.newInstance()
.withExecutions(Collections.singleton(
PluginExecution.newInstance().withPriority(5))))));
assertEquals("4.1.0", new MavenModelVersion().getModelVersion(m));
assertEquals("4.0.0", new MavenModelVersion().getModelVersion(m));
}
}