diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-10-17 12:12:17 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-10-17 12:12:38 +0200 |
commit | bdf9dacf8492e93e86f55b832b397e74c8205561 (patch) | |
tree | 48094047cf7441e0e402baa6ce977c1eeb8424ba /sonar-batch | |
parent | 32cde0094a41917cdfb3b1496d00f0f3b5d526bf (diff) | |
download | sonarqube-bdf9dacf8492e93e86f55b832b397e74c8205561.tar.gz sonarqube-bdf9dacf8492e93e86f55b832b397e74c8205561.zip |
SONAR-5735 Deprecate "sonar.importSources"
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/ComponentIndexer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/ComponentIndexer.java b/sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/ComponentIndexer.java index 65a7585555e..6492058df74 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/ComponentIndexer.java +++ b/sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/ComponentIndexer.java @@ -67,7 +67,8 @@ public class ComponentIndexer implements BatchComponent { boolean shouldImportSource = settings.getBoolean(CoreProperties.CORE_IMPORT_SOURCES_PROPERTY); if (!shouldImportSource) { - LOG.warn("Not importing source will prevent issues to be properly tracked between consecutive analyses"); + LOG.warn("/!\\ Property '" + CoreProperties.CORE_IMPORT_SOURCES_PROPERTY + + "' is deprecated. Not importing source will prevent issues to be properly tracked between consecutive analyses."); } for (InputFile inputFile : fs.inputFiles(fs.predicates().all())) { String languageKey = inputFile.language(); |