[GRADLE-3243] Wildcard exclude of groupId and artifactId in Maven POM dependency declaration excludes itself Created: 17/Feb/15  Updated: 01/Apr/15  Resolved: 01/Apr/15

Status: Resolved
Project: Gradle
Affects Version/s: 2.3
Fix Version/s: 2.4-rc-1

Type: Bug
Reporter: Benjamin Muschko Assignee: Unassigned
Resolution: Fixed Votes: 1


 Description   

Reported in this forum post.

The published POM declares the following dependency:

<dependency>
    <groupId>org.apache.maven</groupId>
    <artifactId>maven-ant-tasks</artifactId>
    <version>2.1.3</version>
    <exclusions>
        <exclusion>
            <groupId>*</groupId>
            <artifactId>*</artifactId>
        </exclusion>
    </exclusions>
</dependency>

In Maven the dependency org.apache.maven:maven-ant-tasks:2.1.3 is not excluded. In Gradle the dependency is shown in the dependency report but its artifact is excluded.


Generated at Wed Jun 30 12:43:43 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.