slachiewicz commented on PR #9642:
URL: https://github.com/apache/netbeans/pull/9642#issuecomment-6089333617

   Some Maven-side notes, in case they help:
   - The `-Djava8` profile activation and the interpolation failures have one 
cause: 3.10 treats any model built below `VALIDATION_LEVEL_MAVEN_2_0` as a 
repository POM, and NetBeans builds projects at MINIMAL. 
`dependencyInterpolation.full` only lifts the interpolation half, and globally, 
including dependency POMs. Details and a proposed Maven fix in 
apache/maven#13347.
   - Single-threaded collection: `aether.dependencyCollector.bf.threads=1` in 
`EmbedderFactory.cloneStaticProps()` reaches every session the embedder creates 
(Maven copies system properties into the session config); `setUpLegacySupport` 
needs it set explicitly. That also covers #9694's `DependencyTreeFactory`.
   - `ArtifactDependencyIndexCreator`: the standalone session is online and has 
no settings.xml mirrors, proxies or credentials, unlike the offline project 
embedder it replaces. Taking the `RepositorySystem` and session from the 
project embedder would keep both.
   - `setUpLegacySupport`: pass `m.isBlocked()` instead of `false`, so the 
default HTTP blocker mirror applies.
   
   Sylwester
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to