2017-09-12 08:44:48 +00:00
|
|
|
From ac649e31f3cbe4e63a83222deb8aacce833108cf Mon Sep 17 00:00:00 2001
|
2016-05-05 09:24:13 +00:00
|
|
|
From: Michael Simacek <msimacek@redhat.com>
|
|
|
|
Date: Thu, 5 May 2016 11:20:48 +0200
|
2017-07-10 08:40:09 +00:00
|
|
|
Subject: [PATCH 1/3] Maven 3
|
2016-05-05 09:24:13 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
.../java/org/apache/maven/plugin/surefire/SurefireHelper.java | 11 +----------
|
|
|
|
1 file changed, 1 insertion(+), 10 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/SurefireHelper.java b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/SurefireHelper.java
|
2017-09-12 08:44:48 +00:00
|
|
|
index 8bdf75e..3a21009 100644
|
2016-05-05 09:24:13 +00:00
|
|
|
--- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/SurefireHelper.java
|
|
|
|
+++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/SurefireHelper.java
|
2017-09-12 08:44:48 +00:00
|
|
|
@@ -168,16 +168,7 @@ public final class SurefireHelper
|
2016-05-05 09:24:13 +00:00
|
|
|
private static String getFailureBehavior( MavenExecutionRequest request )
|
|
|
|
throws NoSuchMethodException, InvocationTargetException, IllegalAccessException
|
|
|
|
{
|
|
|
|
- try
|
|
|
|
- {
|
|
|
|
- return request.getFailureBehavior();
|
|
|
|
- }
|
|
|
|
- catch ( NoSuchMethodError e )
|
|
|
|
- {
|
|
|
|
- return (String) request.getClass()
|
|
|
|
- .getMethod( "getReactorFailureBehavior" )
|
|
|
|
- .invoke( request );
|
|
|
|
- }
|
|
|
|
+ return request.getReactorFailureBehavior();
|
|
|
|
}
|
|
|
|
|
2017-09-12 08:44:48 +00:00
|
|
|
private static boolean failIfNoTests( SurefireReportParameters reportParameters )
|
2016-05-05 09:24:13 +00:00
|
|
|
--
|
2017-09-12 08:44:48 +00:00
|
|
|
2.13.5
|
2016-05-05 09:24:13 +00:00
|
|
|
|