mbruggmann opened a new pull request #375:
URL: https://github.com/apache/maven/pull/375
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.
We observe this when using `maven-model` to parse, modify, and
write back a POM file roughly like so:
```java
MavenXpp3Reader reader = new MavenXpp3Reader();
Model model = reader.read(new FileReader(input));
// make modifications to the model
MavenXpp3Writer writer = new MavenXpp3Writer();
writer.write(new FileWriter(output), model);
```
Before this change, exclusions would be ordered like so:
```xml
<exclusions>
<exclusion>
<artifactId>plexus-cipher</artifactId>
<groupId>org.sonatype.plexus</groupId>
</exclusion>
</exclusions>
```
After:
```xml
<exclusions>
<exclusion>
<groupId>org.sonatype.plexus</groupId>
<artifactId>plexus-cipher</artifactId>
</exclusion>
</exclusions>
```
- [x] I hereby declare this contribution to be licenced under the [Apache
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]