diff options
Diffstat (limited to 'plugins/sonar-checkstyle-plugin/pom.xml')
-rw-r--r-- | plugins/sonar-checkstyle-plugin/pom.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/sonar-checkstyle-plugin/pom.xml b/plugins/sonar-checkstyle-plugin/pom.xml index 26cb84c0fb4..519b7cf5e88 100644 --- a/plugins/sonar-checkstyle-plugin/pom.xml +++ b/plugins/sonar-checkstyle-plugin/pom.xml @@ -47,12 +47,14 @@ </dependency> <!-- TODO http://jira.codehaus.org/browse/SONAR-2011 - We need following dependency, otherwise we will receive compilation error + 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>provided</scope> + <scope>test</scope> </dependency> <dependency> |