Skip to content

Drop two unused restricted jars: opendap 2.1 and findbugs annotations 2.0.1 - #1994

Merged
rfecher merged 1 commit into
masterfrom
drop-unused-restricted-jars
Sep 28, 2026
Merged

rfecher merged 1 commit into
masterfrom
drop-unused-restricted-jars

Conversation

@rfecher

@rfecher rfecher commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

The IP team could not process eight libraries automatically; each needs its source attached in IPLab. Six already left the 3.0 dependency graph with #1979: Sun JAI (jai_core, jai_codec, jai_imageio), h2 1.1.119, geodb 0.9 and GeoServer 2.19's json-lib fork. This PR removes the other two, neither of which anything uses.

  • opendap:opendap:2.1 came in through GeoTools' gt-netcdf. It is a 2009 OPeNDAP library that nothing loads: none of gt-netcdf's classes, or NetCDF-Java 5.5.3's (cdm-core, bufr, netcdf4, udunits, httpservices), refers to its opendap.dap packages. NetCDF-Java 5's own DAP support is a separate artifact that GeoWave doesn't include. It is excluded in the root pom's gt-netcdf entry.
  • com.google.code.findbugs:annotations:2.0.1 came in through the reflections 0.9.10 pinned in services/rest. The gRPC modules already used 0.9.11, which dropped that dependency and is approved (CQ16665). reflections is now managed once, at 0.9.11.

Verification (JDK 21, local)

  • services/rest: 46 unit tests pass, formatter validation and SpotBugs clean. This includes the test that checks every REST route appears in the API description, which exercises the classpath scan.
  • The gRPC protobuf generator, the other reflections user, generates the same 8 .proto files.
  • With geowave-format-geotools-raster's runtime classpath minus opendap, GeoTools' GridFormatFinder still lists the NetCDF format, and NetCDFUtilities and ucar.nc2.NetcdfFile initialise.

Eclipse IP

DEPENDENCIES, regenerated with Dash: 797 entries, 21 restricted (master's file says 27).

… 2.0.1

opendap:opendap:2.1 came in through gt-netcdf. Nothing loads it: neither
gt-netcdf nor NetCDF-Java 5.5.3 refers to its opendap.dap classes, and
NetCDF-Java 5's own DAP support is a separate artifact that GeoWave does not
use. GeoTools still finds and initialises its NetCDF format without it.

com.google.code.findbugs:annotations:2.0.1 came in through the reflections
0.9.10 that services/rest pinned. The gRPC modules already used 0.9.11, which
dropped that dependency, so reflections is now managed once, at 0.9.11.

Both needed source-code attachments for Eclipse IP review. Restricted
dependencies go from 27 to 25.

Co-authored-by: Rich Fecher <richard.fecher@vantor.com>
@rfecher rfecher added the run-its Run the integration test matrix on this pull request label Sep 28, 2026
@rfecher
rfecher merged commit cfd0691 into master Sep 28, 2026
17 of 31 checks passed
@rfecher
rfecher deleted the drop-unused-restricted-jars branch September 28, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-its Run the integration test matrix on this pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant