This is an automated email from the ASF dual-hosted git repository. bodewig pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ant.git
commit 812ba7083b1cde48162f9bc006e150b1bb3a53f1 Author: Stefan Bodewig <[email protected]> AuthorDate: Sat Mar 30 14:52:54 2019 +0100 some of the JUnit tests do not work when run from Maven --- src/etc/poms/ant-junit/pom.xml | 3 +++ src/etc/poms/ant-junitlauncher/pom.xml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/etc/poms/ant-junit/pom.xml b/src/etc/poms/ant-junit/pom.xml index e3efe3d..68af37f 100644 --- a/src/etc/poms/ant-junit/pom.xml +++ b/src/etc/poms/ant-junit/pom.xml @@ -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> diff --git a/src/etc/poms/ant-junitlauncher/pom.xml b/src/etc/poms/ant-junitlauncher/pom.xml index 40282b7..c0a53df 100644 --- a/src/etc/poms/ant-junitlauncher/pom.xml +++ b/src/etc/poms/ant-junitlauncher/pom.xml @@ -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>
