efegokdemir opened a new pull request, #784:
URL: https://github.com/apache/maven-invoker-plugin/pull/784

   `invoker:install` installs resolved dependencies and their POMs, but 
imported BOMs are flattened out of the effective dependency management model. 
Their POMs are therefore missing from the integration-test local repository.
   
   This change reads import declarations from the original project and parent 
models, resolves each imported BOM and its parent chain, and installs those 
POMs alongside the existing artifacts. The regression integration test uses a 
BOM version supplied through a property and verifies that the BOM is present in 
the isolated repository.
   
   A previous PR for this still-open issue (#761) was closed without merging. 
This PR adds a focused regression test for the missing imported BOM behaviour.
   
   Validation:
   - `JAVA_HOME=/opt/homebrew/opt/openjdk@21/libexec/openjdk.jdk/Contents/Home 
PATH=/opt/homebrew/opt/openjdk@21/bin:$PATH mvn -Prun-its 
-Dinvoker.test=MINVOKER-680_install-imported-bom verify` — passed (73 unit 
tests and the regression integration test).
   - `JAVA_HOME=/opt/homebrew/opt/openjdk@21/libexec/openjdk.jdk/Contents/Home 
PATH=/opt/homebrew/opt/openjdk@21/bin:$PATH mvn -Prun-its verify` — passed (93 
integration tests; one Windows-specific test skipped).
   
   Fixes #680
   
   ---
   
   To make clear that you license your contribution under the [Apache License 
Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [ ] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   


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