aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-01-15 23:50:31 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2015-01-15 23:50:31 +0100
commit445ac3e5a16c86d8906e82567657fefdb30d50e1 (patch)
treeb14ed1fb5a050b7d3890374b14a629ae77f463e5 /plugins
parenta42dd4d2b9d0eafe67bd514d56f0ab4ffc8ddbea (diff)
downloadsonarqube-445ac3e5a16c86d8906e82567657fefdb30d50e1.tar.gz
sonarqube-445ac3e5a16c86d8906e82567657fefdb30d50e1.zip
SONAR-5077 Add option to import all files even if no language
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java
index cd9f54ee857..167e7edf658 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java
@@ -270,6 +270,16 @@ import java.util.List;
project = true,
global = false,
category = CoreProperties.CATEGORY_SCM
+ ),
+ @Property(
+ key = CoreProperties.INDEX_ALL_FILES_KEY,
+ defaultValue = "false",
+ name = "Index all files",
+ description = "Should all files be indexed even if there is no matching language plugin installed.",
+ module = false,
+ project = true,
+ global = true,
+ category = CoreProperties.CATEGORY_GENERAL
)
})
public final class CorePlugin extends SonarPlugin {