<?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:u="jelly:util"
         xmlns:maven="jelly:maven"
         xmlns:util="jelly:util"
         xmlns:deploy="deploy"
         xmlns:ant="jelly:ant">

    <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/wsdl/template/java/">
            <include name="*.xsl"/>
            <replacefilter token="#today#" value="${build.time}"/>
            <replacefilter token="#axisVersion#" value="${pom.currentVersion}"/>
        </replace>
    </postGoal>

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

</project>
