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

ASF GitHub Bot commented on MRESOLVER-316:
------------------------------------------

cstamas commented on PR #244:
URL: https://github.com/apache/maven-resolver/pull/244#issuecomment-1431303149

   The output of the reproducer (see issue) with this fix is now this:
   https://gist.github.com/cstamas/08635451a7ba32981099f72d502b333d
   
   As contrary to BF, the original DF will collect all (all it can), and then 
try to "reconcile" (try to solve conflicts), so in this regard BF figures this 
artifact is unsolvable faster than DF. Still, it does figures at the end (does 
not enters endless loop) and reports the error as well.




> DF collector enters endless loop when collecting 
> org.webjars.npm:musquette:1.1.1
> --------------------------------------------------------------------------------
>
>                 Key: MRESOLVER-316
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-316
>             Project: Maven Resolver
>          Issue Type: Bug
>          Components: Resolver
>            Reporter: Tamas Cservenak
>            Priority: Major
>             Fix For: 1.9.5
>
>
> When collecting {{org.webjars.npm:musquette:1.1.1}} the DF collector (the 
> default one) enters endless loop.
> The new BF collector immediately spits out error:
> {noformat}
> Could not resolve version conflict among 
> [
>  org.webjars.npm:musquette:jar:1.1.1 -> 
>    org.webjars.npm:minimist:jar:[0.2.1,0.3), 
>  org.webjars.npm:musquette:jar:1.1.1 -> 
>    org.webjars.npm:mqtt:jar:[3.0.0,4) -> 
>      org.webjars.npm:commist:jar:[1.0.0,2) -> 
>        org.webjars.npm:minimist:jar:[1.1.0,2), 
>  org.webjars.npm:musquette:jar:1.1.1 -> 
>    org.webjars.npm:mqtt:jar:[3.0.0,4) -> 
>      org.webjars.npm:minimist:jar:[1.2.0,2)
> ] {noformat}
> To reproduce: just run demo snippet 
> org.apache.maven.resolver.examples.GetDependencyTree and change artifact ctor 
> to have string {{"org.webjars.npm:musquette:1.1.1"}} as input...
> Reported as part of PR https://github.com/apache/maven-resolver/pull/236



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to