This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/master by this push:
     new 7ae1416  [SUREFIRE-1611] Deprecate skipTests in Failsafe Plugin
7ae1416 is described below

commit 7ae14167887bf4faeac92141e39ae732f5b12ba6
Author: Tibor17 <tibordig...@apache.org>
AuthorDate: Tue Dec 18 01:32:21 2018 +0100

    [SUREFIRE-1611] Deprecate skipTests in Failsafe Plugin
---
 .../java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java    | 1 +
 .../java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java   | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
 
b/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
index ebd1fb6..77c1968 100644
--- 
a/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
+++ 
b/maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
@@ -461,6 +461,7 @@ public class IntegrationTestMojo
     }
 
     @Override
+    @Deprecated
     public void setSkipTests( boolean skipTests )
     {
         this.skipTests = skipTests;
diff --git 
a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
 
b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
index 8c03e15..677e3ee 100644
--- 
a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
+++ 
b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
@@ -161,7 +161,9 @@ public abstract class AbstractSurefireMojo
 
     /**
      * Set this to "true" to skip running tests, but still compile them. Its 
use is NOT RECOMMENDED, but quite
-     * convenient on occasion.
+     * convenient on occasion.<br>
+     * Failsafe plugin deprecated the parameter {@code skipTests} and the 
parameter will be removed in
+     * <i>Failsafe 3.0.0</i> as it is a source of conflicts between Failsafe 
and Surefire plugin.
      *
      * @since 2.4
      */

Reply via email to