You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2014/07/04 01:09:36 UTC
[jira] [Assigned] (JCLOUDS-555) Duplicate bouncycastle resources
when depending on MockWebServer
[ https://issues.apache.org/jira/browse/JCLOUDS-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Gaul reassigned JCLOUDS-555:
-----------------------------------
Assignee: Andrew Gaul (was: Everett Toews)
> Duplicate bouncycastle resources when depending on MockWebServer
> ----------------------------------------------------------------
>
> Key: JCLOUDS-555
> URL: https://issues.apache.org/jira/browse/JCLOUDS-555
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-core
> Reporter: Everett Toews
> Assignee: Andrew Gaul
> Fix For: 1.8.0
>
>
> If you add the mockwebserver dep to a module that already has a transitive dep on bcprov-ext-jdk15on you'll get the error "Found duplicate (but equal) resources in [org.bouncycastle:bcprov-ext-jdk15on:1.49,org.bouncycastle:bcprov-jdk15on:1.48]"
> Doing a `mvn dependency:tree` reveals the problem.
> {code}
> [INFO] +- com.squareup.okhttp:mockwebserver:jar:1.3.0:test
> [INFO] | +- com.squareup.okhttp:okhttp-protocols:jar:1.3.0:test
> [INFO] | \- org.bouncycastle:bcprov-jdk15on:jar:1.48:test
> ...
> [INFO] +- org.apache.jclouds.driver:jclouds-sshj:jar:1.8.0-SNAPSHOT:test
> [INFO] | +- org.apache.jclouds.driver:jclouds-bouncycastle:jar:1.8.0-SNAPSHOT:test
> [INFO] | | \- org.bouncycastle:bcprov-ext-jdk15on:jar:1.49:test
> {code}
> We should exclude bcprov-jdk15on from mockwebserver dep at top-level pom.xml to avoid duplicate resources errors in child projects.
--
This message was sent by Atlassian JIRA
(v6.2#6252)