[
https://issues.apache.org/jira/browse/MENFORCER-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MENFORCER-232.
------------------------------------
Assignee: Robert Scholte
Resolution: Duplicate
> DependencyConvergence doesn't acknowledge exclusion wildcards (MNG-2315)
> ------------------------------------------------------------------------
>
> Key: MENFORCER-232
> URL: https://issues.apache.org/jira/browse/MENFORCER-232
> Project: Maven Enforcer Plugin
> Issue Type: Bug
> Components: Standard Rules
> Affects Versions: 1.4
> Reporter: Louis Burton
> Assignee: Robert Scholte
> Priority: Major
>
> An exclusion that takes advantage of the enhancement in MNG-2315 (Maven
> 3.2.1+) is not acknowledged in the dependency convergence check and still
> results in failing this rule:
> {code}
> <exclusion>
> <groupId>*</groupId>
> <artifactId>*</artifactId>
> </exclusion>
> {code}
> Adding a specific exclusion instead, or in addition to this allows the
> failure to be resolved.
> {code}
> <dependency>
> <groupId>org.hornetq</groupId>
> <artifactId>hornetq-commons</artifactId>
> <version>${hornetq-version}</version>
> <scope>test</scope>
> <exclusions>
> <exclusion>
> <groupId>*</groupId>
> <artifactId>*</artifactId>
> </exclusion>
> <exclusion>
> <groupId>org.jboss.logging</groupId>
> <artifactId>jboss-logging</artifactId>
> </exclusion>
> </exclusions>
> </dependency>
> {code}
> The second exclusion is redundant to Maven, but is necessary for this plugin.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)