maven/maven-core
Tamas Cservenak bdb35f2deb [MNG-7432] Resolver session contains non-MavenWorkspaceReader
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:46:30 +02:00
..
src [MNG-7432] Resolver session contains non-MavenWorkspaceReader 2022-04-08 10:46:30 +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-6389] Move the toolchains model to a separate artifactId 2021-10-13 16:10:22 +02:00