From 2e74a995d3d26177f15a1660a2d9bab1dc0d97a5 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 31 May 2016 20:20:36 +0200 Subject: [PATCH] Deprecate SonarPlugin in favour of Plugin --- sonar-plugin-api/src/main/java/org/sonar/api/Plugin.java | 2 -- sonar-plugin-api/src/main/java/org/sonar/api/SonarPlugin.java | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/Plugin.java b/sonar-plugin-api/src/main/java/org/sonar/api/Plugin.java index 659f5c6e948..fc010d2271f 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/Plugin.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/Plugin.java @@ -19,7 +19,6 @@ */ package org.sonar.api; -import com.google.common.annotations.Beta; import java.util.ArrayList; import java.util.Collection; import java.util.List; @@ -83,7 +82,6 @@ import static java.util.Objects.requireNonNull; * * @since 5.5 */ -@Beta public interface Plugin { class Context { diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/SonarPlugin.java b/sonar-plugin-api/src/main/java/org/sonar/api/SonarPlugin.java index a44838b745d..b49cf73a07b 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/SonarPlugin.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/SonarPlugin.java @@ -28,7 +28,9 @@ import java.util.List; * This property is automatically set by sonar-packaging-maven-plugin when building plugin. * * @since 2.8 + * @deprecated replaced by {@link Plugin} in version 5.6. */ +@Deprecated public abstract class SonarPlugin implements Plugin { /** -- 2.39.5