Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2015-05-12 23:01:09 -0400
committerGerrit Code Review @ Eclipse.org2015-05-15 07:14:14 -0400
commitd86f366ce8f9fc7e3f49d4e142fed51526837c74 (patch)
treee0a912a6155be09847717607dce5af77631ca372
parent60ec3b5f28428f158ba2fa7946ad9c1ea197f12a (diff)
downloadorg.eclipse.tycho-d86f366ce8f9fc7e3f49d4e142fed51526837c74.tar.gz
org.eclipse.tycho-d86f366ce8f9fc7e3f49d4e142fed51526837c74.tar.xz
org.eclipse.tycho-d86f366ce8f9fc7e3f49d4e142fed51526837c74.zip
466977 suppress transitive dependencies of OSGi runtime bundles
Dependencies with scope=runtime and their transitive dependencies are added to test compile classpath. One of these dependencies is hamcrest 1.1, which conflicts with direct project dependency and results in compilation error in TestMojoTest. The fix is to suppress transitive dependencies for runtime-scoped dependencies. Bug: 466977 Change-Id: Ifca4245f5b3df423eff277b2db9d8b2ab530d379 Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--tycho-surefire/tycho-surefire-plugin/pom.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/tycho-surefire/tycho-surefire-plugin/pom.xml b/tycho-surefire/tycho-surefire-plugin/pom.xml
index 404a4b924..a9a8e4a9e 100644
--- a/tycho-surefire/tycho-surefire-plugin/pom.xml
+++ b/tycho-surefire/tycho-surefire-plugin/pom.xml
@@ -71,24 +71,48 @@
<artifactId>org.eclipse.tycho.surefire.osgibooter</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>*</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>org.eclipse.tycho.surefire.junit</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>*</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>org.eclipse.tycho.surefire.junit4</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>*</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>org.eclipse.tycho.surefire.junit47</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>*</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>

Back to the top