Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1588

Pom parsing fails with CircularDependencyException if a "import" scoped dependency in dependencyManagement shares the same parent as the pom being parsed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0-rc1
    • 2.5.0
    • Maven Compatibility
    • None

    Description

      A POM with a parent

       <parent>
       <groupId>org.sonatype.oss</groupId>
       <artifactId>oss-parent</artifactId>
       <version>4</version>
       </parent>

      does not resolve. Example:

       [ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
       [ivy:resolve] 		::          UNRESOLVED DEPENDENCIES         ::
       [ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
       [ivy:resolve] 		:: com.google.gwt#gwt-user;2.8.2:com.google.gwt#gwt;2.8.2->org.sonatype.oss#oss-parent;4
       [ivy:resolve] 		:: com.google.gwt#gwt-dev;2.8.2:com.google.gwt#gwt;2.8.2->org.sonatype.oss#oss-parent;4
       [ivy:resolve] 		:: com.google.gwt#gwt-servlet;2.8.2:com.google.gwt#gwt;2.8.2->org.sonatype.oss#oss-parent;4
       [ivy:resolve] 		:: com.google.gwt#gwt-codeserver;2.8.2:com.google.gwt#gwt;2.8.2->org.sonatype.oss#oss-parent;4
       [ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
      

      As pointed out by Jaikiran Pai on the user mailing list this might be related to IVY-1545

      This is also reported at https://stackoverflow.com/questions/51043863/ivy-unresolved-dependencies-gwt-2-7-0 and for vaadin: https://vaadin.com/forum/thread/17122531

      Attachments

        Issue Links

          Activity

            People

              jaikiran Jaikiran Pai
              Gropp Volker Gropp
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: