Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-3243

Wildcard exclude of groupId and artifactId in Maven POM dependency declaration excludes itself

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4-rc-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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bmuschko Benjamin Muschko
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: