<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>