diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2014-04-04 10:08:27 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2014-04-04 10:08:40 +0200 |
commit | 514b752d87d4918cee373d8dd9c6ad1a3bfd183b (patch) | |
tree | a55e29e187adc0f2d0fdca7d058a4612e8d4b371 /sonar-server/pom.xml | |
parent | 4850400289ff68f69432d0f717ba36cfa3149c30 (diff) | |
download | sonarqube-514b752d87d4918cee373d8dd9c6ad1a3bfd183b.tar.gz sonarqube-514b752d87d4918cee373d8dd9c6ad1a3bfd183b.zip |
SONAR-5117 fix compatibility of build with maven 3.0.x
Diffstat (limited to 'sonar-server/pom.xml')
-rw-r--r-- | sonar-server/pom.xml | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/sonar-server/pom.xml b/sonar-server/pom.xml index b5a47bdeb16..9563421b4e1 100644 --- a/sonar-server/pom.xml +++ b/sonar-server/pom.xml @@ -175,8 +175,35 @@ <version>${project.version}</version> <type>test-jar</type> <scope>test</scope> + <!-- + bug of maven 3.0.x (maybe 3.1). Fixed in 3.2 + Scope of transitive dependencies of sonar-core:test-jar is "compile" + but should be "test" + --> + <exclusions> + <exclusion> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + </exclusion> + <exclusion> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-core</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-core</artifactId> + <scope>test</scope> + </dependency> + + + <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <scope>test</scope> @@ -357,7 +384,9 @@ <profile> <id>js-tests</id> <activation> - <property><name>!skipTests</name></property> + <property> + <name>!skipTests</name> + </property> </activation> <build> <plugins> |