aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-03-14 13:19:55 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-03-14 13:53:40 +0100
commit4e72c1f993a66a2598c97d9dcbed7916c05fe527 (patch)
tree4df76d128d9d0fc5a951c0b779268da71f5ee182 /plugins
parent70b6de01f248001d4084d4fa6ac6181048c68c7c (diff)
downloadsonarqube-4e72c1f993a66a2598c97d9dcbed7916c05fe527.tar.gz
sonarqube-4e72c1f993a66a2598c97d9dcbed7916c05fe527.zip
SONAR-5143 remove sonar.inclusions and sonar.test.inclusions from UI
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/ExclusionProperties.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/ExclusionProperties.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/ExclusionProperties.java
index b169a572965..00d7e7c0611 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/ExclusionProperties.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/ExclusionProperties.java
@@ -34,22 +34,24 @@ class ExclusionProperties {
static List<PropertyDefinition> definitions() {
return ImmutableList.of(
+
+ // Do not display inclusions in UI
+ // https://jira.codehaus.org/browse/SONAR-5143
PropertyDefinition.builder(CoreProperties.PROJECT_INCLUSIONS_PROPERTY)
.name("Source File Inclusions")
.multiValues(true)
.category(CoreProperties.CATEGORY_EXCLUSIONS)
.subCategory(CoreProperties.SUBCATEGORY_FILES_EXCLUSIONS)
- .onQualifiers(Qualifiers.PROJECT)
- .index(3)
+ .hidden()
.build(),
PropertyDefinition.builder(CoreProperties.PROJECT_TEST_INCLUSIONS_PROPERTY)
.name("Test File Inclusions")
.multiValues(true)
.category(CoreProperties.CATEGORY_EXCLUSIONS)
.subCategory(CoreProperties.SUBCATEGORY_FILES_EXCLUSIONS)
- .onQualifiers(Qualifiers.PROJECT)
- .index(5)
+ .hidden()
.build(),
+
PropertyDefinition.builder(CoreProperties.GLOBAL_EXCLUSIONS_PROPERTY)
.name("Global Source File Exclusions")
.multiValues(true)