| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- $Revision: 1.21 $ $Date: 2004-10-27 20:54:09 +0600 (Wed, 27 Oct 2004) $ --> |
| |
| <project default="jar" |
| xmlns:j="jelly:core" |
| xmlns:maven="jelly:maven" |
| xmlns:u="jelly:util" |
| xmlns:deploy="deploy" |
| xmlns:ant="jelly:ant"> |
| |
| <preGoal name="itest:compile"> |
| <u:file var="file" name="${maven.itest.src}"/> |
| <j:if test="${!file.exists()}"> |
| <j:expr value="${context.setVariable('maven.itest.skip', 'true')}"/> |
| </j:if> |
| </preGoal> |
| |
| <postGoal name="java:jar-resources"> |
| <tstamp> |
| <format property="build.time" pattern="MMM dd, yyyy (hh:mm:ss z)" locale="en"/> |
| </tstamp> |
| <replace dir="${maven.build.dest}/org/apache/axis2/i18n"> |
| <include name="resource*.properties"/> |
| <replacefilter token="#today#" value="${build.time}"/> |
| <replacefilter token="#axisVersion#" value="${pom.currentVersion}"/> |
| </replace> |
| </postGoal> |
| </project> |