blob: ecbd420ed1ef9572a89af484aa9f144ae7d7dc88 [file]
<?xml version="1.0" encoding="UTF-8"?>
<project default="jar"
xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:maven="jelly:maven"
xmlns:deploy="deploy"
xmlns:ant="jelly:ant">
<preGoal name="build:start">
<!-- Set the Fast Infoset jar to version 1.1.x if the JVM version is 1.4.x -->
<j:set var="javaVersion" value="${java.specification.version}"/>
<j:if test="${javaVersion != 1.5}">
<j:set var="fastinfoset.version" value="1.1.1"/>
</j:if>
<echo message="Current Java Version is: ${java.specification.version}"/>
<echo message="Hence, including fastinfoset.${fastinfoset.version}.jar"/>
</preGoal>
<preGoal name="test:compile">
<!-- copy the required mars so that they are available on the test path -->
<copy file="../addressing/target/addressing-${addressing_version}.mar"
tofile="target/test-classes/modules/addressing-${addressing_version}.mar"/>
</preGoal>
</project>