[SUREFIRE-1611] Deprecate skipTests in Failsafe Plugin
authorTibor17 <tibordigana@apache.org>
Tue, 18 Dec 2018 00:32:21 +0000 (01:32 +0100)
committerTibor17 <tibordigana@apache.org>
Tue, 18 Dec 2018 00:32:21 +0000 (01:32 +0100)
maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java

index ebd1fb6..77c1968 100644 (file)
@@ -461,6 +461,7 @@ public class IntegrationTestMojo
     }
 
     @Override
+    @Deprecated
     public void setSkipTests( boolean skipTests )
     {
         this.skipTests = skipTests;
index 8c03e15..677e3ee 100644 (file)
@@ -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
      */