blob: aa14246e936eec8e6cf10571727f763966d40afa [file] [log] [blame]
<?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: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>
<!-- run the JiBX binding compiler after the Java compiler -->
<postGoal name="test:compile">
<java classname="org.jibx.binding.Compile" fork="true">
<classpath refid="maven.dependency.classpath"/>
<classpath location="target/test-classes"/>
<arg value="-v"/>
<arg value="test-resources/binding/customer-binding.xml"/>
<arg value="test-resources/binding/library-binding.xml"/>
</java>
</postGoal>
</project>