diff options
Diffstat (limited to 'sonar-batch/pom.xml')
-rw-r--r-- | sonar-batch/pom.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sonar-batch/pom.xml b/sonar-batch/pom.xml index 6e184f70b00..36432454d76 100644 --- a/sonar-batch/pom.xml +++ b/sonar-batch/pom.xml @@ -104,6 +104,13 @@ <!-- unit tests --> <dependency> <groupId>org.codehaus.sonar</groupId> + <artifactId>sonar-plugin-api</artifactId> + <type>test-jar</type> + <scope>test</scope> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.codehaus.sonar</groupId> <artifactId>sonar-core</artifactId> <type>test-jar</type> <scope>test</scope> @@ -155,4 +162,16 @@ <scope>test</scope> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <skipTests>${skipBatchTests}</skipTests> + </configuration> + </plugin> + </plugins> + </build> </project> |