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
use new/non-deprecated API
needed for tests: - NbMavenProjectImplTest#testMavenConfig - MavenSourceLevelImplTest#testSystemPropertySourceLevel - MicronautPackagingArtifactImplTest#testProjectArtifactOptionalNativeAndAction unclear if it affects ide functionality outside of tests
|
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. |
using VALIDATION_LEVEL_MAVEN_2_0 as validation level instead of VALIDATION_LEVEL_MINIMAL will lead to code paths which allow profile activation via property interpolation. This can be likely removed again after maven 3.10.x followup releases
switched from edit: using |
copies a test case from MavenSourceLevelImplTest to invoke it in a more direct way using PluginPropertyUtil. fixes missing <plugins> wrapper and a typo in test data

draft until maven 3.10 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 #9642 (comment) (bonus: migrates away from deprecated API)