Elliotte Rusty Harold created MENFORCER-381:
-----------------------------------------------
Summary: classifier not included in output of failed
RequireUpperBoundDeps test
Key: MENFORCER-381
URL: https://issues.apache.org/jira/browse/MENFORCER-381
Project: Maven Enforcer Plugin
Issue Type: Bug
Reporter: Elliotte Rusty Harold
This true positive confused m 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)