From 387b919003ec4c9cf7b2bf653580c37f053a3ac4 Mon Sep 17 00:00:00 2001 From: Matteo Mara Date: Wed, 17 Jan 2024 10:23:23 +0100 Subject: [PATCH] SONAR-21195 Ensure deprecated properties from optional analyzers are respected --- .../org/sonar/scanner/scan/SpringProjectScanContainer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/SpringProjectScanContainer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/SpringProjectScanContainer.java index bef9b1fb632..9aeb9982982 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/SpringProjectScanContainer.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/SpringProjectScanContainer.java @@ -91,6 +91,9 @@ public class SpringProjectScanContainer extends SpringComponentContainer { private void addScannerComponents() { add( + ProjectConfigurationProvider.class, + + ScanProperties.class, ResourceTypes.class, @@ -100,7 +103,6 @@ public class SpringProjectScanContainer extends SpringComponentContainer { // rules QProfileVerifier.class, - ScannerProperties.class, // QualityGate check -- 2.39.5