Browse Source

some of the JUnit tests do not work when run from Maven

master
Stefan Bodewig 6 years ago
parent
commit
812ba7083b
2 changed files with 5 additions and 0 deletions
  1. +3
    -0
      src/etc/poms/ant-junit/pom.xml
  2. +2
    -0
      src/etc/poms/ant-junitlauncher/pom.xml

+ 3
- 0
src/etc/poms/ant-junit/pom.xml View File

@@ -140,6 +140,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
<excludes>
<exclude>org/example/junit/*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/junit/*$*</exclude>
<!-- test fails as classloaders are different when run via Maven -->
<exclude>org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskTest*</exclude>
<exclude>org/apache/tools/ant/taskdefs/optional/junit/JUnitClassLoaderTest*</exclude>
</excludes>
</configuration>
</plugin>


+ 2
- 0
src/etc/poms/ant-junitlauncher/pom.xml View File

@@ -108,6 +108,8 @@
</systemProperties>
<excludes>
<exclude>org/example/junitlauncher/**</exclude>
<!-- test fails as classloaders are different when run via Maven -->
<exclude>org/apache/tools/ant/taskdefs/optional/junitlauncher/JUnitLauncherTaskTest*</exclude>
</excludes>
</configuration>
</plugin>


Loading…
Cancel
Save