From 889c0fe2edf0612c070acf4c762c1ed157326bd2 Mon Sep 17 00:00:00 2001 From: brett Date: Sat, 3 Sep 2005 07:01:37 +0000 Subject: [PATCH] PR: MPTEST-55 Submitted by: Eric Hartmann Reviewed by: Brett Porter add the ability to not include the XML APIs and xerces when forking tests git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@267430 13f79535-47bb-0310-9956-ffa450edef68 --- test/plugin.jelly | 10 +++++----- test/plugin.properties | 1 + test/project.xml | 2 +- test/xdocs/changes.xml | 3 +++ test/xdocs/properties.xml | 9 +++++++++ 5 files changed, 19 insertions(+), 6 deletions(-) diff --git a/test/plugin.jelly b/test/plugin.jelly index dcb7abd4..02d9ccb7 100644 --- a/test/plugin.jelly +++ b/test/plugin.jelly @@ -58,7 +58,7 @@ - + @@ -159,7 +159,7 @@ - + @@ -215,7 +215,7 @@ - + @@ -277,7 +277,7 @@ - + @@ -362,7 +362,7 @@ - + diff --git a/test/plugin.properties b/test/plugin.properties index 02436a6d..88a71d69 100644 --- a/test/plugin.properties +++ b/test/plugin.properties @@ -33,3 +33,4 @@ maven.junit.usefile = true maven.test.dest = ${maven.build.dir}/test-classes maven.test.reportsDirectory = ${maven.build.dir}/test-reports maven.test.skip = false +maven.test.excludeXmlApis = no diff --git a/test/project.xml b/test/project.xml index 3d7dcf70..744d1ed4 100644 --- a/test/project.xml +++ b/test/project.xml @@ -22,7 +22,7 @@ 3 maven-test-plugin Maven Test Plug-in - 1.7 + 1.7.1-SNAPSHOT Run JUnit tests. Run JUnit tests http://maven.apache.org/reference/plugins/test/ diff --git a/test/xdocs/changes.xml b/test/xdocs/changes.xml index 3b0328ed..66c81988 100644 --- a/test/xdocs/changes.xml +++ b/test/xdocs/changes.xml @@ -23,6 +23,9 @@ dIon Gillard + + Add maven.test.excludeXmlApis property to avoid duplicated Xerces + Added maven.junit.forkmode property Allow multiple patterns in testmatchpattern and testnotmatchpattern diff --git a/test/xdocs/properties.xml b/test/xdocs/properties.xml index aa7f2267..8f1013b6 100644 --- a/test/xdocs/properties.xml +++ b/test/xdocs/properties.xml @@ -198,6 +198,15 @@ maven.test.search.classdir=true + + maven.test.excludeXmlApis + Yes + + If set to yes, the XML APIs will not be added to the list of libraries used for your test cases + when forked. This should be used when you provide your own XML APIs library. By default, it is + no. + + testmatchpattern