[ 
https://issues.apache.org/jira/browse/MENFORCER-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17299523#comment-17299523
 ] 

Elliotte Rusty Harold commented on MENFORCER-381:
-------------------------------------------------

Fix belongs in `RequireUpperBoundsDep`, possibly in `getFullArtifactName()`

> 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
>            Priority: Major
>
> 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)

Reply via email to