Hi,

I have a 1-2 year old project that used to compile and run on my machine. I
didn't touch it for a while, and now I'm coming back to it. I'm trying to
build it on a new machine. Both machines (old and new) are running Mac OSX.
This is a Scala project, and I'm using SBT to build.

The GeoTools version was 21-RC, and I changed it to 23.1
I changed the Maven repo to https://repo.osgeo.org/repository/release/
However when starting to build SBT complains about an unresolved dependency
of spotbugs (spotbugs-annotations to be precise).

After narrowing it down I believe the issue is only with gt-netcdf (or at
least out of all GeoTools modules that I use).
I created a gist that might help reproduce:

https://gist.github.com/yanivby/adcc72d6f5f75a7a0ba04696ac1d8552

I tried to find if anyone came across this issue before, but could only
find this: https://sourceforge.net/p/geoserver/mailman/message/36744007/
But it seems like just an automated Jenkins report, nothing that leads me
to a solution.

I took a peek at the POM of gt-netcdf
<https://github.com/geotools/geotools/blob/23.x/modules/plugin/coverage-multidim/netcdf/pom.xml>
and I can't find a reference to spotbugs. So I assume it is a dependency
that is causing this.

Finally, the questions:
1. I am guessing spotbugs should not be a dependency in the release
version, is that correct?
2. Could this be an issue on my machine only? If so, any idea what am I
doing wrong?
3. If it's a global issue, is there any workaround until a fix is released?

Thank you very much,
Yaniv
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to