aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-dbcleaner-plugin/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sonar-dbcleaner-plugin/pom.xml')
-rw-r--r--plugins/sonar-dbcleaner-plugin/pom.xml11
1 files changed, 11 insertions, 0 deletions
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>