Closed hohwille closed 2 years ago
Maybe we can get some inspiration for a fix from here: https://github.com/mojohaus/flatten-maven-plugin/blob/11f92732cf1232187ca5d43777c5a55008f36819/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java#L832
fixed in 1.0.0-beta7
that will be in central on Monday,
In case of a module POM that inherits dependencyManagement from parent POM used in dependencies it seems that MavenBridgeImpl is unable to compute the effective POM/model. However on the same module
mvn help:effective-pom
is working fine. Therefore there appears to be a bug somewhere around here: https://github.com/m-m-m/code/blob/92ef01aba4f112f28964d088278e65cfad1446ab/java/maven/src/main/java/net/sf/mmm/code/java/maven/impl/MavenBridgeImpl.java#L182