Browse Source

add defaults for build/revision number

jrivard 9 years ago
parent
commit
d4f4fe47d4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pom.xml

+ 2 - 0
pom.xml

@@ -14,6 +14,8 @@
         <timestamp.iso>${maven.build.timestamp}</timestamp.iso>
         <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <build.number>0</build.number>  <!-- default in case not set on command line -->
+        <build.revision>0</build.revision>  <!-- default in case not set on command line -->
     </properties>
 
     <profiles>