gnodet commented on issue #13694:
URL: https://github.com/apache/maven/issues/13694#issuecomment-6656033878

   This feature is already implemented in Maven 4 as of PR #12957 (merged 
2026-08-30), which fixed the related issue #12660.
   
   The relevant code is in 
`impl/maven-impl/src/main/java/org/apache/maven/impl/model/DefaultDependencyManagementImporter.java`:
 when a `dependencyManagement` entry is declared locally without a version, 
Maven 4 now inherits the version from an imported BOM while preserving all 
other local settings (exclusions, scope, etc.).
   
   Closing as fixed in Maven 4. PR #13715 is being updated to retain only the 
test coverage that documents this behavior.
   
   _Posted by Hermès on behalf of [@gnodet](https://github.com/gnodet)._


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