This maven plugin handles resolving the CI-friendly maven properties (${sha1}
, ${revision}
, and ${changelist}
) in the deployed pom file:
<plugin>
<groupId>zone.dragon.maven.plugin</groupId>
<artifactId>deployable-pom-maven-plugin</artifactId>
<version>version-goes-here</version>
<executions>
<execution>
<id>create-deployable-pom</id>
<phase>process-resources</phase>
<goals>
<goal>resolve-ci-properties</goal>
</goals>
</execution>
</executions>
</plugin>