From: Duarte Meneses Date: Mon, 7 Jun 2021 14:23:19 +0000 (-0500) Subject: SONAR-14908 Deprecate 'RulesDefinitionXmlLoader' in the Sonar plugin API X-Git-Tag: 9.0.0.45539~135 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=af1dfa3745c8e6257a4bbbb4129d5cff3e67b730;p=sonarqube.git SONAR-14908 Deprecate 'RulesDefinitionXmlLoader' in the Sonar plugin API --- diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java index 034ee858dfb..22761952985 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java @@ -182,6 +182,7 @@ import static org.apache.commons.lang.StringUtils.trim; * * @see org.sonar.api.server.rule.RulesDefinition * @since 4.3 + * @deprecated since 9.0. Use the sonar-check-api to annotate rule classes instead of loading the metadata from XML files. See {@link org.sonar.check.Rule}. */ @ServerSide @ComputeEngineSide