You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/10/23 14:28:37 UTC
[dubbo] branch 3.0 updated: [3.0] fix Corrupted STDOUT issue of
maven-surefire-plugin (#9089)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0 by this push:
new 215a1ad [3.0] fix Corrupted STDOUT issue of maven-surefire-plugin (#9089)
215a1ad is described below
commit 215a1addf82a2db8d827b59d87fe6b00fff65b8b
Author: zrlw <zr...@sina.com>
AuthorDate: Sat Oct 23 22:28:26 2021 +0800
[3.0] fix Corrupted STDOUT issue of maven-surefire-plugin (#9089)
* fix Corrupted STDOUT issue of maven-surefire-plugin
* keep failsafe version same with surefire
---
pom.xml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 5a6b419..d2d3927 100644
--- a/pom.xml
+++ b/pom.xml
@@ -112,7 +112,8 @@
<file_encoding>UTF-8</file_encoding>
<!-- Maven plugins -->
<maven_jar_version>3.2.0</maven_jar_version>
- <maven_surefire_version>2.22.2</maven_surefire_version>
+ <maven_surefire_version>3.0.0-M5</maven_surefire_version>
+ <maven_failsafe_version>3.0.0-M5</maven_failsafe_version>
<maven_deploy_version>2.8.2</maven_deploy_version>
<maven_compiler_version>3.8.1</maven_compiler_version>
<maven_source_version>3.2.1</maven_source_version>
@@ -699,11 +700,15 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven_surefire_version}</version>
+ <configuration>
+ <!-- Activate the use of TCP to transmit events to the plugin to fix Corrupted STDOUT issue -->
+ <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
+ </configuration>
</plugin>
<!-- keep surefire and failsafe in sync -->
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
- <version>2.22.2</version>
+ <version>${maven_failsafe_version}</version>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>