I may be wrong, but for other modules normally gt-epsg-hsql is included for running tests but any epsg factory does the job for runtime. I'd just demote the dependency scope to tests (but I'm not the maintainer of the module).
Cheers Andrea On Thu, Jul 11, 2019 at 2:57 PM Mark Prins <mc.pr...@gmail.com> wrote: > We've got an application where we prefer to use the gt-epsg-wkt artifact, > but it is also using the gt-wmts artifact which has dependency > on gt-tile-client which has gt-epsg-hsql as a dependency so we end up with > both the wkt as well as the hsql version in our final package; it doesn't > seem to cause any problems (I don't see any Factory exceptions that the FAQ > talks about [1]) but I would think that the tile client should be using a > different scope for the epsg library (eg. test like the gt-wms module) > because it makes it hard to choose a certain EPSG over the hsql version. > (yes I can - as a workaround - add exclusions in my projects pom file) > > mvn dependency:tree snippet: > > [INFO] +- org.geotools:gt-wmts:jar:21.2:compile > [INFO] | +- org.geotools:gt-tile-client:jar:21.2:compile > [INFO] | | +- org.geotools:gt-epsg-hsql:jar:21.2:compile > [INFO] | | \- commons-httpclient:commons-httpclient:jar:3.1:compile > > Section in the tile-client pom: > > > https://github.com/geotools/geotools/blob/22c9e4a80aff47731feb174b97c5dbef3dc373b0/modules/extension/tile-client/pom.xml#L84-L88 > > > [1] > https://docs.geotools.org/latest/userguide/library/referencing/faq.html#q-how-to-choose-an-epsg-authority > > > Mark > > -- > Disclaimer; > This message is just a reflection of what I thought at the time of > sending. The message may contain information that is not intended for you > or that you don't understand. > _______________________________________________ > GeoTools-Devel mailing list > GeoTools-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel > -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- *Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.*
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel