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:24:23 +0200 |
commit | 4b389949b73baf05e15c007be6ba7ea611a86091 (patch) | |
tree | 7bebc3cbb084451e121d7e98520b0db13df7d8b0 /sonar-batch | |
parent | 2d77050b049a1c51eef40af8a51fa82a4e16f782 (diff) | |
download | sonarqube-4b389949b73baf05e15c007be6ba7ea611a86091.tar.gz sonarqube-4b389949b73baf05e15c007be6ba7ea611a86091.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(); |