GeoServer community/script has some serious dependency problems that cause the inclusion of multiple GeoTools versions. I want to fix this so that the correct GeoTools spatialite jar can be included in the spatialite plugin (see discussion on the user list).
- I propose to upgrade community/script/groovy from geoscript-groovy 1.2-SNAPSHOT to 1.7-SNAPSHOT. I think I have a working fix.
- community/script/js depends on geoscript-js 1.1.0-SNAPSHOT, which has a hardcoded dependency on GeoTools 12.0; this is the bit that pulls in the wrong spatialite jar. There is AFAIK no later version. I think I can use an ugly mess of excludes and new dependencies to fix this. The alternative is to kick script/js and the javascript plugin.
I intend to apply these changes to master, 2.8.x, and 2.7.x as they are horribly broken as they stand (wrong GeoTools versions). I will adjust plugin includes as required.
Kind regards,
--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/>
New Zealand
I have applied these changes to:
master: https://github.com/geoserver/geoserver/commit/9aeba04f7244ae10017620fbf555ac05eabf4c77
2.8.x: https://github.com/geoserver/geoserver/commit/7f8e5b5b1b73ee8b548a508e9a796907d27450e0
2.7.x: https://github.com/geoserver/geoserver/commit/86e51edf05245968b07bacd8d6777d91db0578eb
I am not expecting any dramas, but then who does? I checked all the affected plugin contents with a local build, but I have not tested all maven versions and some assembly plugin versions might be a little twitchy.
Kind regards,
Ben.
On 04/03/16 11:35, Ben Caradoc-Davies wrote:
GeoServer community/script has some serious dependency problems that
cause the inclusion of multiple GeoTools versions. I want to fix this so
that the correct GeoTools spatialite jar can be included in the
spatialite plugin (see discussion on the user list).
- I propose to upgrade community/script/groovy from geoscript-groovy
1.2-SNAPSHOT to 1.7-SNAPSHOT. I think I have a working fix.
- community/script/js depends on geoscript-js 1.1.0-SNAPSHOT, which has
a hardcoded dependency on GeoTools 12.0; this is the bit that pulls in
the wrong spatialite jar. There is AFAIK no later version. I think I can
use an ugly mess of excludes and new dependencies to fix this. The
alternative is to kick script/js and the javascript plugin.
I intend to apply these changes to master, 2.8.x, and 2.7.x as they are
horribly broken as they stand (wrong GeoTools versions). I will adjust
plugin includes as required.
Kind regards,
--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/>
New Zealand