mojohaus / tidy-maven-plugin

The Tidy plugin provides goals for tidying up your source code.
https://www.mojohaus.org/tidy-maven-plugin/
Apache License 2.0
21 stars 15 forks source link

Dependency Exclusions groupId/artifactId get inconsistency ordered #36

Open talios opened 4 years ago

talios commented 4 years ago

When a dependency have multiple exclusions, is seems like the order of groupId and artifactId are consistently, ordered inconsistently:

      <exclusions>
        <exclusion>
          <groupId>com.smxemail</groupId>
          <artifactId>*</artifactId>
        </exclusion>
        <exclusion>
          <artifactId>*</artifactId>
          <groupId>smx3</groupId>
        </exclusion>
      </exclusions>

The first exclusion, puts groupId first as expected, but the second gets artifactId first.