diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2018-02-12 17:03:52 +0100 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-02-20 10:06:52 +0100 |
commit | caf48455f693b76d06ebd2328d8498442cb0c1ab (patch) | |
tree | 484d205d34c8e62b7b472a255492a960137c8ef2 /sonar-core | |
parent | 209c36aefa2c16b5b156b21604664ff32ef13a86 (diff) | |
download | sonarqube-caf48455f693b76d06ebd2328d8498442cb0c1ab.tar.gz sonarqube-caf48455f693b76d06ebd2328d8498442cb0c1ab.zip |
SONAR-10299 Drop the project link "developer connection"
Diffstat (limited to 'sonar-core')
3 files changed, 3 insertions, 7 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 e7d215f8296..01acaad196a 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 @@ -91,12 +91,6 @@ public class CorePropertyDefinitions { .description("HTTP URL of the server which hosts the sources of the project.") .category(CoreProperties.CATEGORY_GENERAL) .build(), - PropertyDefinition.builder(CoreProperties.LINKS_SOURCES_DEV) - .name("SCM connection for developers") - .description("HTTP URL used by developers to connect to the SCM server for the project.") - .category(CoreProperties.CATEGORY_GENERAL) - .hidden() - .build(), PropertyDefinition.builder(CoreProperties.PREVIEW_INCLUDE_PLUGINS) .name("Plugins accepted for Preview mode") .description("DEPRECATED - List of plugin keys. Those plugins will be used during preview analyses.") diff --git a/sonar-core/src/main/java/org/sonar/core/config/ScannerProperties.java b/sonar-core/src/main/java/org/sonar/core/config/ScannerProperties.java index 854a6ff356b..1cc3bddeef5 100644 --- a/sonar-core/src/main/java/org/sonar/core/config/ScannerProperties.java +++ b/sonar-core/src/main/java/org/sonar/core/config/ScannerProperties.java @@ -35,6 +35,8 @@ public class ScannerProperties { public static final String BRANCH_TARGET = "sonar.branch.target"; public static final String ORGANIZATION = "sonar.organization"; + public static final String LINKS_SOURCES_DEV = "sonar.links.scm_dev"; + private ScannerProperties() { // only static stuff } diff --git a/sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java b/sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java index 2be463f4364..b3054a31a22 100644 --- a/sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java +++ b/sonar-core/src/test/java/org/sonar/core/config/CorePropertyDefinitionsTest.java @@ -30,7 +30,7 @@ public class CorePropertyDefinitionsTest { @Test public void all() { List<PropertyDefinition> defs = CorePropertyDefinitions.all(); - assertThat(defs).hasSize(60); + assertThat(defs).hasSize(59); } @Test |