fridrich commented on PR #1189:
URL: 
https://github.com/apache/maven-plugin-tools/pull/1189#issuecomment-6465871205

   New commit 54b4459a: the standalone generator now resolves parent/imported 
POMs through the `WorkspaceReader` bound as `@Named("ide")`, when one is 
present in the container, before falling back to the local repository.
   
   This is the same slot Maven core injects into its repository session 
(`DefaultRepositorySystemSessionFactory`), used by m2e and by XMvn. In a plain 
Maven build nothing is bound there, so behaviour is unchanged. In distribution 
builds (XMvn, no Maven-layout local repository), parents such as `maven-parent` 
now resolve the same way Maven would resolve them, instead of failing.
   
   Covered by a new unit test with a fake workspace reader; verified with `mvn 
-Pbootstrap verify` and in an openSUSE XMvn build.
   


-- 
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]

Reply via email to