diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-03-04 21:23:11 +0300 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-03-04 21:43:11 +0300 |
commit | 9e9db3211048b051814074cfee5603838f38d8b4 (patch) | |
tree | ef2dd7f704e1dcf646d1691f3079619158f9ce69 /plugins | |
parent | 1e377d03560ce3d088bce4a38904577505d573a9 (diff) | |
download | sonarqube-9e9db3211048b051814074cfee5603838f38d8b4.tar.gz sonarqube-9e9db3211048b051814074cfee5603838f38d8b4.zip |
sonar-plugin-api must be declared with scope provided in plugins
* It prevents embedding additional dependencies.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-checkstyle-plugin/pom.xml | 1 | ||||
-rw-r--r-- | plugins/sonar-cobertura-plugin/pom.xml | 2 | ||||
-rw-r--r-- | plugins/sonar-core-gwt/pom.xml | 1 | ||||
-rw-r--r-- | plugins/sonar-core-plugin/pom.xml | 3 | ||||
-rw-r--r-- | plugins/sonar-cpd-plugin/pom.xml | 2 | ||||
-rw-r--r-- | plugins/sonar-dbcleaner-plugin/pom.xml | 2 | ||||
-rw-r--r-- | plugins/sonar-design-plugin/pom.xml | 3 | ||||
-rw-r--r-- | plugins/sonar-findbugs-plugin/pom.xml | 1 | ||||
-rw-r--r-- | plugins/sonar-googleanalytics-plugin/pom.xml | 2 | ||||
-rw-r--r-- | plugins/sonar-pmd-plugin/pom.xml | 4 | ||||
-rw-r--r-- | 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 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>checkstyle</groupId> 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 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> - <version>${project.version}</version> + <scope>provided</scope> </dependency> <!-- TODO http://jira.codehaus.org/browse/SONAR-2011 diff --git a/plugins/sonar-core-gwt/pom.xml b/plugins/sonar-core-gwt/pom.xml index c39bf18bf14..43530335cbe 100644 --- a/plugins/sonar-core-gwt/pom.xml +++ b/plugins/sonar-core-gwt/pom.xml @@ -15,6 +15,7 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> diff --git a/plugins/sonar-core-plugin/pom.xml b/plugins/sonar-core-plugin/pom.xml index 9edcd9e1465..4e7f14c6461 100644 --- a/plugins/sonar-core-plugin/pom.xml +++ b/plugins/sonar-core-plugin/pom.xml @@ -16,15 +16,18 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-core</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-batch</artifactId> <version>${project.version}</version> + <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> diff --git a/plugins/sonar-cpd-plugin/pom.xml b/plugins/sonar-cpd-plugin/pom.xml index f3ce440ebad..86d5fbb350b 100644 --- a/plugins/sonar-cpd-plugin/pom.xml +++ b/plugins/sonar-cpd-plugin/pom.xml @@ -36,10 +36,12 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-duplications</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> diff --git a/plugins/sonar-dbcleaner-plugin/pom.xml b/plugins/sonar-dbcleaner-plugin/pom.xml index 33b1a5f4dd2..afb7b69e5bd 100644 --- a/plugins/sonar-dbcleaner-plugin/pom.xml +++ b/plugins/sonar-dbcleaner-plugin/pom.xml @@ -18,10 +18,12 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-deprecated</artifactId> + <scope>provided</scope> </dependency> <!-- unit tests --> 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 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-core</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.shared</groupId> @@ -29,7 +31,6 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-gwt-api</artifactId> - <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> 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 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> - <version>${project.version}</version> <scope>provided</scope> <exclusions> <exclusion> 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 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> - <version>${project.version}</version> + <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> 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 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-java-api</artifactId> - <version>${project.version}</version> + <scope>provided</scope> </dependency> <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> - <version>${project.version}</version> + <scope>provided</scope> </dependency> <dependency> <groupId>pmd</groupId> 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 @@ <dependency> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-plugin-api</artifactId> - <version>${project.version}</version> + <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> |