You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Louis Burton (JIRA)" <ji...@apache.org> on 2015/08/03 13:52:04 UTC
[jira] [Created] (MENFORCER-232) DependencyConvergence doesn't
acknowledge exclusion wildcards (MNG-2315)
Louis Burton created MENFORCER-232:
--------------------------------------
Summary: 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
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
(v6.3.4#6332)