diff options
-rw-r--r-- | plugins/sonar-squid-java-plugin/pom.xml | 5 | ||||
-rw-r--r-- | sonar-deprecated/src/main/java/org/sonar/api/batch/SquidSearch.java (renamed from sonar-plugin-api/src/main/java/org/sonar/api/batch/SquidSearch.java) | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/sonar-squid-java-plugin/pom.xml b/plugins/sonar-squid-java-plugin/pom.xml index 70cb1d91ee2..7b6c0fe2d89 100644 --- a/plugins/sonar-squid-java-plugin/pom.xml +++ b/plugins/sonar-squid-java-plugin/pom.xml @@ -16,6 +16,11 @@ <dependencies> <dependency> <groupId>org.codehaus.sonar</groupId> + <artifactId>sonar-deprecated</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-java-api</artifactId> <scope>provided</scope> </dependency> diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/SquidSearch.java b/sonar-deprecated/src/main/java/org/sonar/api/batch/SquidSearch.java index 5d85c3a2cc4..12902792d60 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/SquidSearch.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/batch/SquidSearch.java @@ -29,7 +29,10 @@ import org.sonar.squid.api.SourceCode; * The extension point to access the Squid data tree * * @since 1.11 + * @deprecated since 2.6. Data on classes/methods are now injected into sonar index. There's no need to use + * this component anymore. */ +@Deprecated public interface SquidSearch extends BatchExtension { /** * Returns a list of SourceCode objects base a set of queries given |