Hiteshsai007 commented on PR #12744:
URL: https://github.com/apache/maven/pull/12744#issuecomment-5289923862

   Thanks for catching the parent-POM/BOM regression. Addressed in 6a10a2283e.
   
   Packaging-profile resolution now runs only for non-POM consumer artifacts. 
`transformPom` and `transformBom` preserve profiles unchanged, so a parent or 
BOM can retain a profile targeting a child with `packaging=jar`.
   
   Added a parent-POM regression fixture that verifies the `jar`-activated 
profile and its dependency are preserved. The existing non-POM test now builds 
with the same `BUILD_CONSUMER` request type used in production, continuing to 
verify inlining, mixed activation handling, and removal of non-matching 
profiles.
   
   Verified with:
   `mvn -pl impl/maven-core -DskipITs -Dtest=ConsumerPomBuilderTest test`


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