Regression: parent dependencies missing in flattened pom since 1.4.0 #377
Open
Description
When I have a parent POM that has a compile time dependency X
and I do flatten a child POM of it, then flatten-maven-plugin
version 1.5.0
does not have X
as dependency in the flattened POM.
This is working until version 1.3.0
.
Some change broke this - maybe 5b757ae
I am slightly confused why the IT inherit-parent-dependency did not fail (maybe the version of the parent dependency has to be omitted and defined in dependency management).
Here some links to prove the error in my project:
- build-failure due to missing dependency
- build overview
- workaround for the bug
- downgrade of flatten-plugin to 1.3.0 as root fix
- revert of previous workaround to prove that flatten downgrade was the real fix
Related issues: