Repository navigation
Conversation
|
local repo scan metrics atm, scanning my current .m2 folder (~500 mb): ideally we should verify that NB 31 and rewrite produce the same results, but it appears to work on first glance. Thinking about printing the whole dep list while its indexing to sout and diff it - probably the quickest smoke test. |
cd93a94 to
751bc21
Compare
|
Some Maven-side notes, in case they help:
|
To add a little context, this is only needed so that the following call path doesn't fork more threads behind the scenes, since some hacks there use thread local storage for communication between method calls:
For the hack inside Everything else can remain multithreaded -> if it doesn't its also fine. Hopefully this can be all cleaned up at some point so that it is maintainable again. |
switched from edit: using |
|
paused until future maven 3.10 point release. We might be able to remove a workaround or two before integration. Since this targets now NB 33 there is no time pressure anymore. We could get refactorings like #9694 in first since those apply to all versions and can be tested independently. |
|
testing 3.10.1 snapshot with workarounds reverted looks good. all green. |
use new/non-deprecated API
The 3.10.1 release candidate is byte-compatible with the release layout (top-level folder apache-maven-3.10.1), so this also restores the single bundled.maven property and derived zip name from before the snapshot bump. When 3.10.1 is finally released on Maven Central, the binaries-list entry can switch back to the GAV form. - mvn detects now ANSI terminal compatibility (jline back in cp)

draft until maven 3.10.1 is released + manual testing
todo:
MavenReloadImplementationTest#testUnresolvableArtifactAppearsfailureNbArtifactFixerassuming the thread doesn't change betweencollectPlaceholderArtifacts()andresolve()NbMavenProjectImplTest#testMavenConfigMavenSourceLevelImplTest#testSystemPropertySourceLevelMicronautPackagingArtifactImplTest#testProjectArtifactOptionalNativeAndActionArtifactDependencyIndexCreatorwithout embedder which would resolve this issue but requires regression testing Update bundled maven to 3.10.1 #9642 (comment) (bonus: migrates away from deprecated API)