geosolutions-it / jai-ext

Java Advanced Imaging Open Source Replacement Wannabe
Apache License 2.0
89 stars 38 forks source link

Both jt-scale and gt-scale2 conflict on it.geosolutions.jaiext.scale.JaiI18N.class #286

Open jodygarnett opened 2 years ago

jodygarnett commented 2 years ago

Here is the error from https://github.com/GeoWebCache/geowebcache/issues/1033

[WARNING] it.geosolutions.jaiext.scale.JaiI18N scanned from multiple locations:
jar:file:///Users/jgarnett/.m2/repository/it/geosolutions/jaiext/scale/jt-scale/1.1.21/jt-scale-1.1.21.jar!/it/geosolutions/jaiext/scale/JaiI18N.class,
jar:file:///Users/jgarnett/.m2/repository/it/geosolutions/jaiext/scale2/jt-scale2/1.1.21/jt-scale2-1.1.21.jar!/it/geosolutions/jaiext/scale/JaiI18N.class

Checking dependency tree:

 +- org.geowebcache:gwc-georss:jar:1.21-SNAPSHOT:compile
 |  +- org.locationtech.jts:jts-core:jar:1.18.2:compile
|  \- org.geotools:gt-coverage:jar:27-SNAPSHOT:compile
|     +- org.geotools:gt-referencing:jar:27-SNAPSHOT:compile
|     |    ...
|     +- it.geosolutions.jaiext.scale:jt-scale:jar:1.1.21:compile
|     +- it.geosolutions.jaiext.scale2:jt-scale2:jar:1.1.21:compile

So this may be an issue with org.geotools:gt-coverage depending on both? If you intend both these operations to be available please use different package to avoid conflict.