aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/main
diff options
context:
space:
mode:
authorPierre <pierre.guillot@sonarsource.com>2024-04-12 11:06:49 +0200
committersonartech <sonartech@sonarsource.com>2024-04-12 12:49:16 +0000
commitc03b271e385f83690b5f6826631cc7c394878807 (patch)
treec8edc42109dccc8fa038c7dd822a4a6b45dbb38d /sonar-scanner-engine/src/main
parent2727dd972a963804a4f94f0355d3c8e82e9401de (diff)
downloadsonarqube-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.java2
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());