Repository: maven-surefire Updated Branches: refs/heads/master fb9b699e2 -> 059bd029c
[SUREFIRE-1301] add note for changing baseDir property Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/059bd029 Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/059bd029 Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/059bd029 Branch: refs/heads/master Commit: 059bd029ccfc56a0d9370f9862d4feed5fc07448 Parents: fb9b699 Author: Richard Raumberger <richard.raumber...@gmail.com> Authored: Sat Nov 12 22:06:23 2016 +0100 Committer: Richard Raumberger <richard.raumber...@gmail.com> Committed: Sat Nov 12 22:06:23 2016 +0100 ---------------------------------------------------------------------- .../apt/examples/fork-options-and-parallel-execution.apt.vm | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/059bd029/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm ---------------------------------------------------------------------- diff --git a/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm b/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm index 2f9429c..805d1e1 100644 --- a/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm +++ b/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm @@ -291,6 +291,12 @@ Fork Options and Parallel Test Execution <<<-T>>>, the only limitation is that you can not use it together with <<<forkCount=0>>>. + When running parallel maven builds without forks, all system properties + are shared among the builder threads and ${thisPlugin.toLowerCase()} executions, + therefore the threads will encounter race conditions when setting + properties, e.g. <<<baseDir>>>, which may lead to changing system properties + and unexpected runtime behaviour. + * Migrating the Deprecated forkMode Parameter to forkCount and reuseForks ${thisPlugin.toLowerCase()} versions prior 2.14 used the parameter <<<forkMode>>>