Browse Source

exclude tests from Maven that require a specific Ant file structure

master
Stefan Bodewig 6 years ago
parent
commit
ef14a91901
1 changed files with 5 additions and 18 deletions
  1. +5
    -18
      src/etc/poms/ant/pom.xml

+ 5
- 18
src/etc/poms/ant/pom.xml View File

@@ -104,23 +104,6 @@
</target>
</configuration>
</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>
<id>create-antlib-test-jar</id>
<phase>process-test-classes</phase>
@@ -260,6 +243,10 @@
<exclude>org/apache/tools/ant/Include*</exclude>
<!-- dependent on JUnit 5 -->
<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>
</configuration>
</plugin>
@@ -287,7 +274,7 @@
<systemProperties>
<property>
<name>ant.home</name>
<value>${project.build.directory}/ant-home</value>
<value>${env.ANT_HOME}</value>
</property>
<property>
<name>build.classes.value</name>


Loading…
Cancel
Save