| @@ -104,23 +104,6 @@ | |||||
| </target> | </target> | ||||
| </configuration> | </configuration> | ||||
| </execution> | </execution> | ||||
| <execution> | |||||
| <id>get-ant-distribution</id> | |||||
| <phase>generate-test-resources</phase> | |||||
| <goals> | |||||
| <goal>run</goal> | |||||
| </goals> | |||||
| <configuration> | |||||
| <target> | |||||
| <get src="http://apache.mirrors.spacedump.net//ant/binaries/apache-ant-1.10.5-bin.zip" | |||||
| dest="${project.build.directory}/ant.zip"/> | |||||
| <delete dir="${project.build.directory}/ant-home"/> | |||||
| <unzip src="${project.build.directory}/ant.zip" dest="${project.build.directory}/ant-home"> | |||||
| <cutdirsmapper dirs="1"/> | |||||
| </unzip> | |||||
| </target> | |||||
| </configuration> | |||||
| </execution> | |||||
| <execution> | <execution> | ||||
| <id>create-antlib-test-jar</id> | <id>create-antlib-test-jar</id> | ||||
| <phase>process-test-classes</phase> | <phase>process-test-classes</phase> | ||||
| @@ -260,6 +243,10 @@ | |||||
| <exclude>org/apache/tools/ant/Include*</exclude> | <exclude>org/apache/tools/ant/Include*</exclude> | ||||
| <!-- dependent on JUnit 5 --> | <!-- dependent on JUnit 5 --> | ||||
| <exclude>org/example/junitlauncher/</exclude> | <exclude>org/example/junitlauncher/</exclude> | ||||
| <!-- requires structure of a binary distribution of Ant in ANT_HOME --> | |||||
| <exclude>org/apache/tools/ant/types/CommandlineJavaTest*</exclude> | |||||
| <exclude>org/apache/tools/ant/types/selectors/ModifiedSelectorTest*</exclude> | |||||
| <exclude>org/apache/tools/ant/taskdefs/AvailableTest*</exclude> | |||||
| </testExcludes> | </testExcludes> | ||||
| </configuration> | </configuration> | ||||
| </plugin> | </plugin> | ||||
| @@ -287,7 +274,7 @@ | |||||
| <systemProperties> | <systemProperties> | ||||
| <property> | <property> | ||||
| <name>ant.home</name> | <name>ant.home</name> | ||||
| <value>${project.build.directory}/ant-home</value> | |||||
| <value>${env.ANT_HOME}</value> | |||||
| </property> | </property> | ||||
| <property> | <property> | ||||
| <name>build.classes.value</name> | <name>build.classes.value</name> | ||||