Hello Sisinda

Le 01/07/2017 à 14:48, Sisinda Dinusha a écrit :

> I was able to find the reason and it was conflict of classes provided
> by javax.measure:unit-api and javax.measure:jsr-275 (which was
> included by gradle as a dependency for org.opengis:geoapi). So I
> repackaged javax.measure classes and references from jsr-275 and
> geoapi modules into different namespace (using JarJar tool).

It should not be necessary to repackage. JSR-275 was used by GeoAPI
3.0.0, but is now replaced by JSR-363. The old JSR-275 should be
considered as retired (more than deprecated). GeoAPI 3.0.1 is being
released especially for replacing JSR-275 by JSR-363.

I suspect that some Gradle dependencies have been mixed. Maybe it
imports GeoAPI 3.0.0 instead of GeoAPI 3.0.1 (actually 3.0.1-RC1 until
OGC deploys the final 3.0.1 release on Maven Central). We need to ensure
that JSR-275 does not appear anywhere, directly or indirectly.

    Martin


Reply via email to