You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2021/07/12 17:39:00 UTC

[maven] branch maven-3.8.x updated: [MNG-6987] Reorder groupId before artifactId when writing an exclusion using maven-model

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch maven-3.8.x
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/maven-3.8.x by this push:
     new a27b4ee  [MNG-6987] Reorder groupId before artifactId when writing an exclusion using maven-model
a27b4ee is described below

commit a27b4ee595ee48833fa659ee30ff463f26c4a50d
Author: Marc Bruggmann <ma...@spotify.com>
AuthorDate: Thu Sep 10 15:21:55 2020 +0200

    [MNG-6987] Reorder groupId before artifactId when writing an exclusion using maven-model
    
    In most other places, we order the groupId before the artifactId.
    Exclusion was the odd one out, so I changed it to be in line with
    the others.
    
    This closes #375
---
 maven-model/src/main/mdo/maven.mdo | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/maven-model/src/main/mdo/maven.mdo b/maven-model/src/main/mdo/maven.mdo
index 7f439fa..61d9ceb 100644
--- a/maven-model/src/main/mdo/maven.mdo
+++ b/maven-model/src/main/mdo/maven.mdo
@@ -1191,16 +1191,16 @@
       </description>
       <fields>
         <field>
-          <name>artifactId</name>
+          <name>groupId</name>
           <version>4.0.0+</version>
-          <description>The artifact ID of the project to exclude.</description>
+          <description>The group ID of the project to exclude.</description>
           <type>String</type>
           <required>true</required>
         </field>
         <field>
-          <name>groupId</name>
+          <name>artifactId</name>
           <version>4.0.0+</version>
-          <description>The group ID of the project to exclude.</description>
+          <description>The artifact ID of the project to exclude.</description>
           <type>String</type>
           <required>true</required>
         </field>