How to use the maven-flatten-plugin and maven-shade-plugin at the same time?
I use revision
,sha1
,changelist
to manage the versions of a multi-module project.
In order to deploy cosumable artifacts, I use maven-flatten-plugin to generate a flattened pom which make ${revision} to real value.
But the maven-shade-plugin produces a reduced pom with ${revision} unchanged.
How to specify the maven-shade-plugin to use the flattened pom to reduce the pom.