diff options
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> |