diff --git a/test/plugin.jelly b/test/plugin.jelly index e8f8d113..cc5171eb 100644 --- a/test/plugin.jelly +++ b/test/plugin.jelly @@ -89,9 +89,10 @@ - + fork="${maven.junit.fork}"> + + + ${maven.junit.sysproperties} @@ -102,7 +103,7 @@ - + @@ -201,8 +202,7 @@ - - + @@ -265,8 +265,7 @@ - - + diff --git a/test/plugin.properties b/test/plugin.properties index fa4cd8e4..9aa96d25 100644 --- a/test/plugin.properties +++ b/test/plugin.properties @@ -4,11 +4,13 @@ # JUnit test plugin. # ------------------------------------------------------------------- -maven.junit.fork = no maven.junit.dir = ${basedir} -maven.junit.usefile = true +maven.junit.fork = no +maven.junit.format=brief +maven.junit.jvmargs= maven.junit.printSummary=true +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.junit.jvmargs= \ No newline at end of file diff --git a/test/project.xml b/test/project.xml index 21d259e8..88b9c74e 100644 --- a/test/project.xml +++ b/test/project.xml @@ -5,7 +5,7 @@ 3 maven-test-plugin Maven Test Plug-in - 1.4 + 1.5-SNAPSHOT Run JUnit tests http://maven.apache.org/reference/plugins/test/ diff --git a/test/xdocs/changes.xml b/test/xdocs/changes.xml index 8f8c4fb7..86066890 100644 --- a/test/xdocs/changes.xml +++ b/test/xdocs/changes.xml @@ -6,6 +6,13 @@ + + + Added maven.junit.format property that defaults to brief. + Changed formatters to use maven.junit.usefile consistently. + Only set 'dir' property of junit task if fork != 'no' + + Apply MAVEN-309. Reorganise classpaths so that it's test, build, dependencies diff --git a/test/xdocs/properties.xml b/test/xdocs/properties.xml index f9bed713..51a5d5ae 100644 --- a/test/xdocs/properties.xml +++ b/test/xdocs/properties.xml @@ -19,6 +19,14 @@ no. + + maven.junit.format + Yes + + Specifies the formatter to use for output to the console. + Defaults to brief + + maven.junit.dir Yes