You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mt...@apache.org on 2020/09/23 11:59:20 UTC

[maven] 01/04: [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.

mthmulders pushed a commit to branch mng-6118-submodule-invocation
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 42b0fbcd8cad136129fc81c505fd4990a04a2d96
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 artefactId.
    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 1f1f9d1..6885641 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>