maven/maven-core
Tamas Cservenak 263cf9542b [MNG-7432] Resolver session contains non-MavenWorkspaceReader (#695)
As Resolver session contains non-MavenWorkspaceReader, the reactor models (already resolved w/ profiles applied) are re-built when using Resolver within Mojo, instead to get them via ReactorReader as expected. The rebuilt models will lack explicit (-P on CLI) profiles applied, as resolver itself is not maven aware, hence there is no way to "tell" resolver to apply them. Building reactor models w/ profiles applied is NOT done using resolver, but by Maven when loading up reactor, as profiles are NOT applied for downstream transitive dependencies (see discussion on MNG-1388 why).

Signed-off-by: Christoph Läubrich <christoph@laeubi-soft.de>
Co-authored-by: Christoph Läubrich <christoph@laeubi-soft.de>
Co-authored-by: Tamas Cservenak <tamas@cservenak.net>
2022-04-08 10:32:15 +02:00
..
src [MNG-7432] Resolver session contains non-MavenWorkspaceReader (#695) 2022-04-08 10:32:15 +02:00
lifecycle-executor.txt [MNG-6146] Several small stylistic and spelling improvements to code and documentation 2017-02-03 10:12:28 +01:00
plugin-manager.txt [MNG-6146] Several small stylistic and spelling improvements to code and documentation 2017-02-03 10:12:28 +01:00
pom.xml [MNG-7068] Active dependency management for Google Guice/Guava 2022-03-06 20:46:56 +01:00