aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>2017-10-13 13:49:49 +0200
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>2017-10-17 11:24:42 +0200
commitfe9ff67136c4a170f70350f7d1a7c48632966143 (patch)
treec8958b08456ae8d766a58023f3366addbcb8046d /sonar-core
parent3bbc146b7e21bf7874c45dedfd9c9584338644d6 (diff)
downloadsonarqube-fe9ff67136c4a170f70350f7d1a7c48632966143.tar.gz
sonarqube-fe9ff67136c4a170f70350f7d1a7c48632966143.zip
SONAR-9931 deprecate sonar.cpd.cross_project property
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java
index 1836e69ab52..b9746f5ed2d 100644
--- a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java
+++ b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java
@@ -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)