diff --git a/test/plugin.jelly b/test/plugin.jelly index 21035645..377e184d 100644 --- a/test/plugin.jelly +++ b/test/plugin.jelly @@ -89,32 +89,32 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + diff --git a/test/plugin.properties b/test/plugin.properties index d197b694..c13c985e 100644 --- a/test/plugin.properties +++ b/test/plugin.properties @@ -36,3 +36,11 @@ maven.test.reportsDirectory = ${maven.build.dir}/test-reports maven.test.skip = false maven.test.excludeXmlApis = no maven.test.classpath = + +maven.test.compile.compilerargs = ${maven.compile.compilerargs} +maven.test.compile.encoding = ${maven.compile.encoding} +maven.test.compile.executable = ${maven.compile.executable} +maven.test.compile.fork = ${maven.compile.fork} +maven.test.compile.source = ${maven.compile.source} +maven.test.compile.target = ${maven.compile.target} +maven.test.compile.verbose = ${maven.compile.verbose} diff --git a/test/xdocs/changes.xml b/test/xdocs/changes.xml index d735dff8..8c03f37c 100644 --- a/test/xdocs/changes.xml +++ b/test/xdocs/changes.xml @@ -24,6 +24,7 @@ + New properties to configure compiler for test classes. SourceModifications sometimes does not work for test classes. maven.compile.target is not used in test:compile. diff --git a/test/xdocs/properties.xml b/test/xdocs/properties.xml index 648adfa9..c939d1b0 100644 --- a/test/xdocs/properties.xml +++ b/test/xdocs/properties.xml @@ -133,6 +133,63 @@ maven.junit.jvmargs=-Xmx160m -verbose]]> is true. + + maven.test.compile.compilerargs + Yes + + Specifies compiler arguments to be used for tests compilation. Requires + maven.test.compile.fork to bet set to true. + Defaults to ${maven.compile.compilerargs}. + + + + maven.test.compile.encoding + Yes + + Specifies source encoding to be used for tests compilation. + Defaults to ${maven.compile.encoding}. + + + + maven.test.compile.executable + Yes + + Names the program to be invoked as the java compiler for test classes. + Defaults to ${maven.compile.executable}. + + + + maven.test.compile.fork + Yes + + Runs the test classes compiler in a separate process. + Defaults to ${maven.compile.fork}. + + + + maven.test.compile.source + Yes + + Specifies the source version for the Java compiler for test classes. + Defaults to ${maven.compile.source}. + + + + maven.test.compile.target + Yes + + Generate class files for test classes for a specific JVM version. + Defaults to ${maven.compile.target}. + + + + maven.test.compile.verbose + Yes + + Asks the compiler for verbose output. + Defaults to ${maven.compile.verbose}. + + maven.test.classpath Yes