Hello,

First, I sincerely apologize that I don't have a reproducer for this, but I
did want to say something before the full release of Maven 4.

It seems like for certain dependency tree setups, dependency resolution got
much much slower between Maven 4-beta-5 and Maven 4-rc-1. I specifically
think this was introduced in maven-resolver 2.0.3, and building Maven
4-rc-1 patching back to maven-resolver 2.0.2 restores the behavior I was
seeing before.

I have a gist
<https://gist.github.com/PtrTeixeira/b7ad68d2e58c6a2277206b2b6328dc16> of
the behavior that I'm seeing; for Maven 3 & Maven 4-beta-5, running `mvn
dependency:tree` on this module takes seconds. For Maven 4-rc-1 and Maven
4-rc-2, it takes over a minute.

For some background context, at work almost all libraries are used at
`1.0-SNAPSHOT` versions and are managed in a single parent-pom. I'm seeing
this behavior across many repositories at work, so it's not something
specific to this module. While trying to reproduce this, I did establish
that it doesn't seem to be specifically a result of the depth of the
dependency tree or the total number of dependencies in the dependency tree.

Please let me know if there's any other information that I can give you to
help identify this or track this down; I know this isn't a lot of
information to go on, but this is enough of a performance change that I
wanted to say something before Maven 4 gets fully released.

Thanks,
Peter Teixeira

-- 
We're committed to your privacy. HubSpot utilizes both public information 
and/or the information you provide to us to contact you about our relevant 
content, products, and services. You may unsubscribe 
<mailto:opt-...@hubspot.com?subject=unsubscribe&body=unsubscribe> from 
these communications at any time. For more information, check out our 
Privacy Policy <https://legal.hubspot.com/privacy-policy>.

Reply via email to