Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
When using Flatten Maven Plugin in the same project with Maven Shade Plugin then the dependency reduced POM is not flattened.
What i encountered that having flatten plugin configured according to https://maven.apache.org/maven-ci-friendly.html, and having shade plugin configured with the default settings to produce uber jar the ${revision} variable remains and gets installed/deployed within the final pom, thus making the pom in the repository invalid.
It seems that both plugins transform original pom. And then what gets installed in the last one, which is the 'shades' one. I'm not sure that's a bug (in a sense that it is shade's fault).
See also https://github.com/mojohaus/flatten-maven-plugin/issues/100
Attachments
Attachments
Issue Links
- links to