From 83d74b1e458a56676d11f7d13bd3866cac35f9bc Mon Sep 17 00:00:00 2001 From: Godin Date: Thu, 14 Oct 2010 13:48:53 +0000 Subject: SONAR-1818: Add @threadSafe support for maven3 --- subprojects/sonar-update-center/pom.xml | 2 +- subprojects/sonar-update-center/sonar-packaging-maven-plugin/pom.xml | 2 +- .../java/org/sonar/updatecenter/mavenplugin/CheckDependenciesMojo.java | 1 + .../main/java/org/sonar/updatecenter/mavenplugin/SonarPluginMojo.java | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) (limited to 'subprojects') diff --git a/subprojects/sonar-update-center/pom.xml b/subprojects/sonar-update-center/pom.xml index 34b183df758..abf9a078c01 100644 --- a/subprojects/sonar-update-center/pom.xml +++ b/subprojects/sonar-update-center/pom.xml @@ -199,7 +199,7 @@ org.apache.maven.plugins maven-plugin-plugin - 2.5.1 + 2.6 org.apache.maven.plugin-tools diff --git a/subprojects/sonar-update-center/sonar-packaging-maven-plugin/pom.xml b/subprojects/sonar-update-center/sonar-packaging-maven-plugin/pom.xml index f7657fd427a..1a7f33029d3 100644 --- a/subprojects/sonar-update-center/sonar-packaging-maven-plugin/pom.xml +++ b/subprojects/sonar-update-center/sonar-packaging-maven-plugin/pom.xml @@ -57,7 +57,7 @@ org.codehaus.plexus plexus-utils - 1.5.6 + 2.0.5 diff --git a/subprojects/sonar-update-center/sonar-packaging-maven-plugin/src/main/java/org/sonar/updatecenter/mavenplugin/CheckDependenciesMojo.java b/subprojects/sonar-update-center/sonar-packaging-maven-plugin/src/main/java/org/sonar/updatecenter/mavenplugin/CheckDependenciesMojo.java index d6051802ea0..4ed7f1ab9bf 100644 --- a/subprojects/sonar-update-center/sonar-packaging-maven-plugin/src/main/java/org/sonar/updatecenter/mavenplugin/CheckDependenciesMojo.java +++ b/subprojects/sonar-update-center/sonar-packaging-maven-plugin/src/main/java/org/sonar/updatecenter/mavenplugin/CheckDependenciesMojo.java @@ -33,6 +33,7 @@ import java.util.List; * @goal check-dependencies * @requiresDependencyResolution runtime * @phase initialize + * @threadSafe */ public class CheckDependenciesMojo extends AbstractSonarPluginMojo { diff --git a/subprojects/sonar-update-center/sonar-packaging-maven-plugin/src/main/java/org/sonar/updatecenter/mavenplugin/SonarPluginMojo.java b/subprojects/sonar-update-center/sonar-packaging-maven-plugin/src/main/java/org/sonar/updatecenter/mavenplugin/SonarPluginMojo.java index a8be99640fe..2e54d0d2de4 100644 --- a/subprojects/sonar-update-center/sonar-packaging-maven-plugin/src/main/java/org/sonar/updatecenter/mavenplugin/SonarPluginMojo.java +++ b/subprojects/sonar-update-center/sonar-packaging-maven-plugin/src/main/java/org/sonar/updatecenter/mavenplugin/SonarPluginMojo.java @@ -53,6 +53,7 @@ import java.util.*; * @phase package * @requiresProject * @requiresDependencyResolution runtime + * @threadSafe */ public class SonarPluginMojo extends AbstractSonarPluginMojo { private static final String LIB_DIR = "META-INF/lib/"; -- cgit v1.2.3