From 9e9db3211048b051814074cfee5603838f38d8b4 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Fri, 4 Mar 2011 21:23:11 +0300 Subject: [PATCH] sonar-plugin-api must be declared with scope provided in plugins * It prevents embedding additional dependencies. --- plugins/sonar-checkstyle-plugin/pom.xml | 1 + plugins/sonar-cobertura-plugin/pom.xml | 2 +- plugins/sonar-core-gwt/pom.xml | 1 + plugins/sonar-core-plugin/pom.xml | 3 +++ plugins/sonar-cpd-plugin/pom.xml | 2 ++ plugins/sonar-dbcleaner-plugin/pom.xml | 2 ++ plugins/sonar-design-plugin/pom.xml | 3 ++- plugins/sonar-findbugs-plugin/pom.xml | 1 - plugins/sonar-googleanalytics-plugin/pom.xml | 2 +- plugins/sonar-pmd-plugin/pom.xml | 4 ++-- plugins/sonar-surefire-plugin/pom.xml | 2 +- 11 files changed, 16 insertions(+), 7 deletions(-) diff --git a/plugins/sonar-checkstyle-plugin/pom.xml b/plugins/sonar-checkstyle-plugin/pom.xml index a4fe8949575..4088bf018ff 100644 --- a/plugins/sonar-checkstyle-plugin/pom.xml +++ b/plugins/sonar-checkstyle-plugin/pom.xml @@ -21,6 +21,7 @@ org.codehaus.sonar sonar-plugin-api + provided checkstyle diff --git a/plugins/sonar-cobertura-plugin/pom.xml b/plugins/sonar-cobertura-plugin/pom.xml index a428ec864bc..7a8e16a0339 100644 --- a/plugins/sonar-cobertura-plugin/pom.xml +++ b/plugins/sonar-cobertura-plugin/pom.xml @@ -16,7 +16,7 @@ org.codehaus.sonar sonar-plugin-api - ${project.version} + provided diff --git a/plugins/sonar-design-plugin/pom.xml b/plugins/sonar-design-plugin/pom.xml index 1b4c317bf9c..ca96074221e 100644 --- a/plugins/sonar-design-plugin/pom.xml +++ b/plugins/sonar-design-plugin/pom.xml @@ -16,10 +16,12 @@ org.codehaus.sonar sonar-core + provided org.codehaus.sonar sonar-plugin-api + provided org.apache.maven.shared @@ -29,7 +31,6 @@ org.codehaus.sonar sonar-gwt-api - ${project.version} provided diff --git a/plugins/sonar-findbugs-plugin/pom.xml b/plugins/sonar-findbugs-plugin/pom.xml index 2cceb3c3dc4..4d593b0bcce 100644 --- a/plugins/sonar-findbugs-plugin/pom.xml +++ b/plugins/sonar-findbugs-plugin/pom.xml @@ -37,7 +37,6 @@ org.codehaus.sonar sonar-plugin-api - ${project.version} provided diff --git a/plugins/sonar-googleanalytics-plugin/pom.xml b/plugins/sonar-googleanalytics-plugin/pom.xml index f55db4d2d8a..e68a4bfc378 100644 --- a/plugins/sonar-googleanalytics-plugin/pom.xml +++ b/plugins/sonar-googleanalytics-plugin/pom.xml @@ -15,7 +15,7 @@ org.codehaus.sonar sonar-plugin-api - ${project.version} + provided org.apache.maven diff --git a/plugins/sonar-pmd-plugin/pom.xml b/plugins/sonar-pmd-plugin/pom.xml index 29f01871f79..fae94cf49e1 100644 --- a/plugins/sonar-pmd-plugin/pom.xml +++ b/plugins/sonar-pmd-plugin/pom.xml @@ -21,12 +21,12 @@ org.codehaus.sonar sonar-java-api - ${project.version} + provided org.codehaus.sonar sonar-plugin-api - ${project.version} + provided pmd diff --git a/plugins/sonar-surefire-plugin/pom.xml b/plugins/sonar-surefire-plugin/pom.xml index 39f20d311dd..5a42cbcab40 100644 --- a/plugins/sonar-surefire-plugin/pom.xml +++ b/plugins/sonar-surefire-plugin/pom.xml @@ -16,7 +16,7 @@ org.codehaus.sonar sonar-plugin-api - ${project.version} + provided org.apache.maven -- 2.39.5