From 792836dbbfbd507fff14fbc445add35ab2537aba Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Wed, 2 Apr 2014 11:58:22 +0200 Subject: SONAR-5190 Make default bootstrapper support Maven --- .../main/java/org/sonar/plugins/maven/MavenProjectBootstrapper.java | 4 ++++ .../src/main/java/org/sonar/plugins/maven/MavenProjectConverter.java | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'plugins') diff --git a/plugins/sonar-maven-batch-plugin/src/main/java/org/sonar/plugins/maven/MavenProjectBootstrapper.java b/plugins/sonar-maven-batch-plugin/src/main/java/org/sonar/plugins/maven/MavenProjectBootstrapper.java index 178ab748607..1bb3ea37d21 100644 --- a/plugins/sonar-maven-batch-plugin/src/main/java/org/sonar/plugins/maven/MavenProjectBootstrapper.java +++ b/plugins/sonar-maven-batch-plugin/src/main/java/org/sonar/plugins/maven/MavenProjectBootstrapper.java @@ -27,6 +27,10 @@ import org.sonar.api.batch.bootstrap.ProjectReactor; import java.util.List; +/** + * @deprecated since 4.3 kept only to support old version of SonarQube Mojo + */ +@Deprecated @SupportedEnvironment("maven") public class MavenProjectBootstrapper implements ProjectBootstrapper { diff --git a/plugins/sonar-maven-batch-plugin/src/main/java/org/sonar/plugins/maven/MavenProjectConverter.java b/plugins/sonar-maven-batch-plugin/src/main/java/org/sonar/plugins/maven/MavenProjectConverter.java index 47082d40b2a..3162b095361 100644 --- a/plugins/sonar-maven-batch-plugin/src/main/java/org/sonar/plugins/maven/MavenProjectConverter.java +++ b/plugins/sonar-maven-batch-plugin/src/main/java/org/sonar/plugins/maven/MavenProjectConverter.java @@ -48,6 +48,10 @@ import java.util.Collection; import java.util.List; import java.util.Map; +/** + * @deprecated since 4.3 kept only to support old version of SonarQube Mojo + */ +@Deprecated @SupportedEnvironment("maven") public class MavenProjectConverter implements TaskExtension { -- cgit v1.2.3