Fix for cdmlib version numbers
authorCherian Mathew <c.mathew@bgbm.org>
Wed, 16 Sep 2015 13:54:01 +0000 (15:54 +0200)
committerCherian Mathew <c.mathew@bgbm.org>
Wed, 16 Sep 2015 13:54:39 +0000 (15:54 +0200)
eu.etaxonomy.taxeditor.cdmlib/pom.xml

index 6c56dbd8372029cd5dba42f1a8e921ed266d8a95..3f637dae0fbb2520d4f2e23352fca3c62f052784 100644 (file)
                <echo>Update cdmlib jars to SNAPSHOT when build with timestamp</echo>
                <move todir="./lib">
                  <fileset dir="./lib" />
-                 <mapper type="regexp" from="(^cdmlib\-.*\-[0-9]\.[0-9]\.[0-9]\-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
+                 <mapper type="regexp" from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\.jar)" to="\1SNAPSHOT\2" />
                </move>                           
                <move todir="./lib">
                  <fileset dir="./lib" />
-                 <mapper type="regexp" from="(^cdmlib\-.*\-[0-9]\.[0-9]\.[0-9]\-)[0-9.-]+(\-sources\.jar)" to="\1SNAPSHOT\2" />
+                 <mapper type="regexp" from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\-sources\.jar)" to="\1SNAPSHOT\2" />
                </move>                           
              </target> 
            </configuration>