| <?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 --> |
| <preGoal name="test:test"> |
| <java classname="org.jibx.binding.Compile" fork="true"> |
| <classpath refid="maven.dependency.classpath"/> |
| <classpath location="target/test-classes"/> |
| <arg value="test-resources/binding/customer-binding.xml"/> |
| <arg value="test-resources/binding/library-binding.xml"/> |
| </java> |
| </preGoal> |
| |
| </project> |