use the flattened pom so that revision is set correctly
diff --git a/pom.xml b/pom.xml
index 538b55f..140e5f3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -280,7 +280,11 @@
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>flatten-maven-plugin</artifactId>
-                <version>1.0.1</version>
+                <version>1.1.0</version>
+                <configuration>
+                    <updatePomFile>true</updatePomFile>
+                    <flattenMode>resolveCiFriendliesOnly</flattenMode>
+                </configuration>
                 <executions>
                   <!-- enable flattening -->
                   <execution>