Projects
openEuler:24.03:SP1:Everything:64G
maven-surefire
_service:tar_scm:0001-Maven-3.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0001-Maven-3.patch of Package maven-surefire
From 3bb1ab3a99b7db611b5d265701e1ba293413b027 Mon Sep 17 00:00:00 2001 From: Michael Simacek <msimacek@redhat.com> Date: Thu, 5 May 2016 11:20:48 +0200 Subject: [PATCH 1/4] Maven 3 --- .../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 index dd29cb4..dc7915c 100644 --- 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 @@ -204,16 +204,7 @@ public final class SurefireHelper 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(); } private static boolean failIfNoTests( SurefireReportParameters reportParameters ) -- 2.17.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2