Thibault Kruse
2014-10-13 15:02:58 UTC
Hi,
it seems the pom files generated for bcprov and bctsp are do not
indicate the relocation to new versions.
E.g. compare:
http://central.maven.org/maven2/bouncycastle/bctsp-jdk14/138/bctsp-jdk14-138.pom
http://central.maven.org/maven2/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.pom
As a result, e.g. in gradle, I get this:
build.gradle:
apply plugin: 'java'
repositories {
jcenter()
}
dependencies {
compile 'bouncycastle:bctsp-jdk14:138'
compile 'bouncycastle:bcmail-jdk14:138'
compile 'bouncycastle:bcprov-jdk14:138'
}
$ gradle dependencies
:dependencies
compile - Compile classpath for source set 'main'.
+--- bouncycastle:bctsp-jdk14:138
| \--- org.bouncycastle:bctsp-jdk14:1.38
| +--- org.bouncycastle:bcprov-jdk14:1.38
| \--- org.bouncycastle:bcmail-jdk14:1.38
| \--- org.bouncycastle:bcprov-jdk14:1.38
+--- bouncycastle:bcmail-jdk14:138
\--- bouncycastle:bcprov-jdk14:138
This also causes jars to be included in as duplicates (138 and 1.38).
A consistent approach for the POMs would be preferrable.
it seems the pom files generated for bcprov and bctsp are do not
indicate the relocation to new versions.
E.g. compare:
http://central.maven.org/maven2/bouncycastle/bctsp-jdk14/138/bctsp-jdk14-138.pom
http://central.maven.org/maven2/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.pom
As a result, e.g. in gradle, I get this:
build.gradle:
apply plugin: 'java'
repositories {
jcenter()
}
dependencies {
compile 'bouncycastle:bctsp-jdk14:138'
compile 'bouncycastle:bcmail-jdk14:138'
compile 'bouncycastle:bcprov-jdk14:138'
}
$ gradle dependencies
:dependencies
compile - Compile classpath for source set 'main'.
+--- bouncycastle:bctsp-jdk14:138
| \--- org.bouncycastle:bctsp-jdk14:1.38
| +--- org.bouncycastle:bcprov-jdk14:1.38
| \--- org.bouncycastle:bcmail-jdk14:1.38
| \--- org.bouncycastle:bcprov-jdk14:1.38
+--- bouncycastle:bcmail-jdk14:138
\--- bouncycastle:bcprov-jdk14:138
This also causes jars to be included in as duplicates (138 and 1.38).
A consistent approach for the POMs would be preferrable.