| <?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>--> |
| |
| <preGoal name="test:compile"> |
| <ant:property name="maven.class.path" refid="maven.dependency.classpath"/> |
| |
| <!-- copy the mars so that they are available on the test classpath --> |
| <copy file="../addressing/target/addressing-${addressing_version}.mar" |
| tofile="target/test-classes/modules/addressing-${addressing_version}.mar"/> |
| </preGoal> |
| |
| <postGoal name="test:compile"> |
| <mkdir dir="target/test-resources/saaj-repo"/> |
| <ant:copy toDir="target/test-resources/saaj-repo"> |
| <ant:fileset file="test-resources/axis2.xml"/> |
| </ant:copy> |
| </postGoal> |
| </project> |