aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-01-23 21:46:20 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-01-23 22:35:31 +0100
commit078cff8c82b9b3f4bb31f6c014d0bb96f7a1b46a (patch)
tree922e24dcbb9851acc26d7bef40376f9dc3f786ce /plugins
parentd8a9891950228b8b5d66803e5be1263b756fb9e8 (diff)
downloadsonarqube-078cff8c82b9b3f4bb31f6c014d0bb96f7a1b46a.tar.gz
sonarqube-078cff8c82b9b3f4bb31f6c014d0bb96f7a1b46a.zip
Sanitize sonar-testing-harness
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/pom.xml15
-rw-r--r--plugins/sonar-cpd-plugin/pom.xml8
-rw-r--r--plugins/sonar-dbcleaner-plugin/pom.xml5
-rw-r--r--plugins/sonar-email-notifications-plugin/pom.xml5
-rw-r--r--plugins/sonar-maven-batch-plugin/pom.xml5
5 files changed, 37 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/pom.xml b/plugins/sonar-core-plugin/pom.xml
index 058a7b19e17..9d3593cc18a 100644
--- a/plugins/sonar-core-plugin/pom.xml
+++ b/plugins/sonar-core-plugin/pom.xml
@@ -65,6 +65,21 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.reflections</groupId>
+ <artifactId>reflections</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.dbunit</groupId>
+ <artifactId>dbunit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-testing-harness</artifactId>
<scope>test</scope>
diff --git a/plugins/sonar-cpd-plugin/pom.xml b/plugins/sonar-cpd-plugin/pom.xml
index f4560271288..30971cda277 100644
--- a/plugins/sonar-cpd-plugin/pom.xml
+++ b/plugins/sonar-cpd-plugin/pom.xml
@@ -26,7 +26,6 @@
<artifactId>jsr305</artifactId>
<scope>provided</scope>
</dependency>
-
<dependency>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-duplications</artifactId>
@@ -37,11 +36,18 @@
<artifactId>sonar-plugin-api</artifactId>
<scope>provided</scope>
</dependency>
+
+ <!-- unit tests -->
<dependency>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-testing-harness</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/plugins/sonar-dbcleaner-plugin/pom.xml b/plugins/sonar-dbcleaner-plugin/pom.xml
index c35942f78e5..fabd4b27f06 100644
--- a/plugins/sonar-dbcleaner-plugin/pom.xml
+++ b/plugins/sonar-dbcleaner-plugin/pom.xml
@@ -58,6 +58,11 @@
<artifactId>maven-project</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/plugins/sonar-email-notifications-plugin/pom.xml b/plugins/sonar-email-notifications-plugin/pom.xml
index c223de5cfd3..d0716785da9 100644
--- a/plugins/sonar-email-notifications-plugin/pom.xml
+++ b/plugins/sonar-email-notifications-plugin/pom.xml
@@ -35,6 +35,11 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.subethamail</groupId>
<artifactId>subethasmtp</artifactId>
<version>3.1.7</version>
diff --git a/plugins/sonar-maven-batch-plugin/pom.xml b/plugins/sonar-maven-batch-plugin/pom.xml
index a8dee8c63eb..1290627381f 100644
--- a/plugins/sonar-maven-batch-plugin/pom.xml
+++ b/plugins/sonar-maven-batch-plugin/pom.xml
@@ -53,6 +53,11 @@
<artifactId>sonar-testing-harness</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>