diff options
author | Pierre <pierre.guillot@sonarsource.com> | 2024-04-12 11:06:49 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-04-12 12:49:16 +0000 |
commit | c03b271e385f83690b5f6826631cc7c394878807 (patch) | |
tree | c8edc42109dccc8fa038c7dd822a4a6b45dbb38d /sonar-scanner-engine/src/main | |
parent | 2727dd972a963804a4f94f0355d3c8e82e9401de (diff) | |
download | sonarqube-c03b271e385f83690b5f6826631cc7c394878807.tar.gz sonarqube-c03b271e385f83690b5f6826631cc7c394878807.zip |
SONAR-22074 enable DownloadOnlyRequired by default10.5.0.89998
Diffstat (limited to 'sonar-scanner-engine/src/main')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerPluginRepository.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerPluginRepository.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerPluginRepository.java index 629c460e252..fb2834604f6 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerPluginRepository.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/ScannerPluginRepository.java @@ -68,7 +68,7 @@ public class ScannerPluginRepository implements PluginRepository, Startable { @Override public void start() { - shouldLoadOnlyRequiredPluginsOnStart = properties.getBoolean(PLUGIN_LOADING_OPTIMIZATION_KEY).orElse(false); + shouldLoadOnlyRequiredPluginsOnStart = properties.getBoolean(PLUGIN_LOADING_OPTIMIZATION_KEY).orElse(true); if (!shouldLoadOnlyRequiredPluginsOnStart) { LOG.warn("{} is false, so ALL available plugins will be downloaded", PLUGIN_LOADING_OPTIMIZATION_KEY); pluginsByKeys = new HashMap<>(installer.installAllPlugins()); |