]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9931 deprecate sonar.cpd.cross_project property
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>
Fri, 13 Oct 2017 11:49:49 +0000 (13:49 +0200)
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>
Tue, 17 Oct 2017 09:24:42 +0000 (11:24 +0200)
sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java
sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java

index 1836e69ab52d77103a80b17c2b33f1e38293c969..b9746f5ed2dbe473bac72b53e32c6ce78099f2fb 100644 (file)
@@ -218,10 +218,12 @@ public class CorePropertyDefinitions {
       PropertyDefinition.builder(CoreProperties.CPD_CROSS_PROJECT)
         .defaultValue(Boolean.toString(false))
         .name("Cross project duplication detection")
-        .description("By default, SonarQube detects duplications at project level. This means that a block "
+        .description("DEPRECATED - By default, SonarQube detects duplications at project level. This means that a block "
           + "duplicated on two different projects won't be reported. Setting this parameter to \"true\" "
           + "allows to detect duplicates across projects. Note that activating "
-          + "this property will slightly increase each SonarQube analysis time.")
+          + "this property will significantly increase each SonarQube analysis time, "
+          + "and therefore badly impact the performances of report processing as more and more projects "
+          + "are getting involved in this cross project duplication mechanism.")
         .onQualifiers(Qualifiers.PROJECT)
         .category(CoreProperties.CATEGORY_GENERAL)
         .subCategory(CoreProperties.SUBCATEGORY_DUPLICATIONS)
index 7d04c3b095dab1a82781f92dced7a9da970226fa..ff268835646393d0714a95bcacbc340f3c224cfa 100644 (file)
@@ -269,7 +269,9 @@ public interface CoreProperties {
 
   /**
    * @since 2.11
+   * @deprecated since 6.7
    */
+  @Deprecated
   String CPD_CROSS_PROJECT = "sonar.cpd.cross_project";
 
   /**