Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-381

classifier not included in output of failed RequireUpperBoundDeps test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Standard Rules
    • None

    Description

      This true positive confused me for a while:

       

      Failed while enforcing RequireUpperBoundDeps. The error(s) are [
      Require upper bound dependencies error for com.google.cloud:google-cloud-core:1.94.3 paths to dependency are:
      +-com.google.cloud:google-cloud-nio:0.122.11-SNAPSHOT
      +-com.google.cloud:google-cloud-core:1.94.3
      and
      +-com.google.cloud:google-cloud-nio:0.122.11-SNAPSHOT
      +-com.google.cloud:google-cloud-core:1.94.4

      Notice that com.google.cloud:google-cloud-nio:0.122.11-SNAPSHOT seems to depend on both com.google.cloud:google-cloud-core:1.94.3 and com.google.cloud:google-cloud-core:1.94.4. WTF? That shouldn't happen.

       

      What's going on here is that these are two different artifacts, com.google.cloud:google-cloud-nio:0.122.11-SNAPSHOT:jar and com.google.cloud:google-cloud-nio:0.122.11-SNAPSHOT:jar:testlib

       

      However the classifier isn't printed in the failure message so this is far from obvious.

       

       

       

       

      Attachments

        Issue Links

          Activity

            People

              elharo Elliotte Rusty Harold
              elharo Elliotte Rusty Harold
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: