aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-12-03 14:57:36 +0000
committerGodin <mandrikov@gmail.com>2010-12-03 14:57:36 +0000
commit58756ad8e3e3cde1da77120b553bb22fbc0b79fa (patch)
tree363b80b41d9fb6fb5d3b8f929b8d62810a2e9197 /plugins
parent555287b5a0fd21e19f26afa7b9f683a244c39dad (diff)
downloadsonarqube-58756ad8e3e3cde1da77120b553bb22fbc0b79fa.tar.gz
sonarqube-58756ad8e3e3cde1da77120b553bb22fbc0b79fa.zip
SONAR-2011: Remove dependency on maven-common-artifact-filters from sonar-plugin-api
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-checkstyle-plugin/pom.xml10
-rw-r--r--plugins/sonar-clover-plugin/pom.xml12
-rw-r--r--plugins/sonar-cobertura-plugin/pom.xml10
-rw-r--r--plugins/sonar-dbcleaner-plugin/pom.xml11
-rw-r--r--plugins/sonar-pmd-plugin/pom.xml10
5 files changed, 52 insertions, 1 deletions
diff --git a/plugins/sonar-checkstyle-plugin/pom.xml b/plugins/sonar-checkstyle-plugin/pom.xml
index 0d4ac871fe1..26cb84c0fb4 100644
--- a/plugins/sonar-checkstyle-plugin/pom.xml
+++ b/plugins/sonar-checkstyle-plugin/pom.xml
@@ -45,6 +45,16 @@
</exclusion>
</exclusions>
</dependency>
+
+ <!-- TODO http://jira.codehaus.org/browse/SONAR-2011
+ We need following dependency, otherwise we will receive compilation error
+ -->
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
<dependency>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-testing-harness</artifactId>
diff --git a/plugins/sonar-clover-plugin/pom.xml b/plugins/sonar-clover-plugin/pom.xml
index d33033855dc..6a360c06525 100644
--- a/plugins/sonar-clover-plugin/pom.xml
+++ b/plugins/sonar-clover-plugin/pom.xml
@@ -52,10 +52,20 @@
<artifactId>sonar-plugin-api</artifactId>
<version>${project.version}</version>
</dependency>
+
+ <!-- TODO http://jira.codehaus.org/browse/SONAR-2011
+ We need following dependency, otherwise we will receive compilation error
+ -->
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
<dependency>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-testing-harness</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
-</project> \ No newline at end of file
+</project>
diff --git a/plugins/sonar-cobertura-plugin/pom.xml b/plugins/sonar-cobertura-plugin/pom.xml
index a3c753f50c2..d25aac7a4a7 100644
--- a/plugins/sonar-cobertura-plugin/pom.xml
+++ b/plugins/sonar-cobertura-plugin/pom.xml
@@ -18,6 +18,16 @@
<artifactId>sonar-plugin-api</artifactId>
<version>${project.version}</version>
</dependency>
+
+ <!-- TODO http://jira.codehaus.org/browse/SONAR-2011
+ We need following dependency, otherwise we will receive compilation error
+ -->
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
<dependency>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-testing-harness</artifactId>
diff --git a/plugins/sonar-dbcleaner-plugin/pom.xml b/plugins/sonar-dbcleaner-plugin/pom.xml
index 145d5a33b49..8d91c8684e9 100644
--- a/plugins/sonar-dbcleaner-plugin/pom.xml
+++ b/plugins/sonar-dbcleaner-plugin/pom.xml
@@ -36,6 +36,17 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
+
+ <!-- TODO http://jira.codehaus.org/browse/SONAR-2011
+ We need following dependency, otherwise we will receive
+ java.lang.NoClassDefFoundError: org/apache/maven/project/MavenProject
+ during call mock(org.sonar.api.resources.Project.class)
+ -->
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/plugins/sonar-pmd-plugin/pom.xml b/plugins/sonar-pmd-plugin/pom.xml
index d6cb1ccc27d..792b9e69b87 100644
--- a/plugins/sonar-pmd-plugin/pom.xml
+++ b/plugins/sonar-pmd-plugin/pom.xml
@@ -44,6 +44,16 @@
</exclusion>
</exclusions>
</dependency>
+
+ <!-- TODO http://jira.codehaus.org/browse/SONAR-2011
+ We need following dependency, otherwise we will receive compilation error
+ -->
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
<dependency>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-testing-harness</artifactId>