diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-05-22 16:21:35 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-05-28 09:28:37 +0200 |
commit | ce04507c53a5b84091781b1834c2cd657c2798cb (patch) | |
tree | 5d3445ef595e1e99463d7c021b86b58e6e27a0c9 /plugins | |
parent | c3aa3b115c39a407b318bb8b917660323874be4c (diff) | |
download | sonarqube-ce04507c53a5b84091781b1834c2cd657c2798cb.tar.gz sonarqube-ce04507c53a5b84091781b1834c2cd657c2798cb.zip |
SONAR-6370 Shade and relocate Guava, GSON and Apache Commons into sonar-plugin-api
Diffstat (limited to 'plugins')
4 files changed, 18 insertions, 4 deletions
diff --git a/plugins/sonar-email-notifications-plugin/pom.xml b/plugins/sonar-email-notifications-plugin/pom.xml index 35e83bda58b..830da5e0747 100644 --- a/plugins/sonar-email-notifications-plugin/pom.xml +++ b/plugins/sonar-email-notifications-plugin/pom.xml @@ -18,6 +18,11 @@ <dependencies> <dependency> + <groupId>com.google.code.findbugs</groupId> + <artifactId>jsr305</artifactId> + <scope>provided</scope> + </dependency> + <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> <scope>provided</scope> diff --git a/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/EmailNotificationsPlugin.java b/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/EmailNotificationsPlugin.java index 4d0738def07..fefc33e2916 100644 --- a/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/EmailNotificationsPlugin.java +++ b/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/EmailNotificationsPlugin.java @@ -19,15 +19,14 @@ */ package org.sonar.plugins.emailnotifications; -import com.google.common.collect.ImmutableList; -import org.sonar.api.SonarPlugin; - +import java.util.Arrays; import java.util.List; +import org.sonar.api.SonarPlugin; public class EmailNotificationsPlugin extends SonarPlugin { @Override public List getExtensions() { - return ImmutableList.of( + return Arrays.asList( EmailNotificationChannel.class, // Email templates diff --git a/plugins/sonar-l10n-en-plugin/pom.xml b/plugins/sonar-l10n-en-plugin/pom.xml index 817eb99e375..49163bca0f7 100644 --- a/plugins/sonar-l10n-en-plugin/pom.xml +++ b/plugins/sonar-l10n-en-plugin/pom.xml @@ -36,6 +36,11 @@ <dependencies> <dependency> + <groupId>com.google.code.findbugs</groupId> + <artifactId>jsr305</artifactId> + <scope>provided</scope> + </dependency> + <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> <scope>provided</scope> diff --git a/plugins/sonar-xoo-plugin/pom.xml b/plugins/sonar-xoo-plugin/pom.xml index 26dddfe9e71..b46b87db148 100644 --- a/plugins/sonar-xoo-plugin/pom.xml +++ b/plugins/sonar-xoo-plugin/pom.xml @@ -15,6 +15,11 @@ <dependencies> <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + <version>10.0.1</version> + </dependency> + <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <scope>provided</scope> |