You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2021/04/28 11:00:11 UTC
[jira] [Closed] (MENFORCER-381) classifier not included in output
of failed RequireUpperBoundDeps test
[ https://issues.apache.org/jira/browse/MENFORCER-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold closed MENFORCER-381.
-------------------------------------------
> 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
> Components: Standard Rules
> Reporter: Elliotte Rusty Harold
> Assignee: Elliotte Rusty Harold
> Priority: Major
> Fix For: 3.0.0-M4
>
>
> 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.
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)