Skip to content

Ensure imagej-server works with latest BOM #133

@ctrueden

Description

@ctrueden

The ImageJ Server codebase needs some updates to work with pom-scijava 29. Updating the imagej-server POM (see pom-sj-29 branch) yields the following compile errors:

[ERROR] .../imagej-server/src/main/java/net/imagej/server/resources/ObjectsResource.java:[29,18] cannot find symbol
[ERROR]   symbol:   class ByteArrayHandle
[ERROR]   location: package io.scif.io
[ERROR] .../imagej-server/src/main/java/net/imagej/server/resources/ObjectsResource.java:[31,24] cannot find symbol
[ERROR]   symbol:   class LocationService
[ERROR]   location: package io.scif.services
[ERROR] .../imagej-server/src/main/java/net/imagej/server/resources/ObjectsResource.java:[85,17] cannot find symbol
[ERROR]   symbol:   class LocationService
[ERROR]   location: class net.imagej.server.resources.ObjectsResource
[ERROR] .../imagej-server/src/main/java/net/imagej/server/resources/ObjectsResource.java:[298,17] cannot find symbol
[ERROR]   symbol:   class ByteArrayHandle
[ERROR]   location: class net.imagej.server.resources.ObjectsResource
[ERROR] .../imagej-server/src/main/java/net/imagej/server/external/DefaultTableIOPlugin.java:[24,18] cannot find symbol
[ERROR]   symbol:   class IRandomAccess
[ERROR]   location: package io.scif.io
[ERROR] .../imagej-server/src/main/java/net/imagej/server/external/DefaultTableIOPlugin.java:[25,18] cannot find symbol
[ERROR]   symbol:   class VirtualHandle
[ERROR]   location: package io.scif.io
[ERROR] .../imagej-server/src/main/java/net/imagej/server/external/DefaultTableIOPlugin.java:[26,24] cannot find symbol
[ERROR]   symbol:   class LocationService
[ERROR]   location: package io.scif.services
[ERROR] .../imagej-server/src/main/java/net/imagej/server/external/DefaultTableIOPlugin.java:[56,17] cannot find symbol
[ERROR]   symbol:   class LocationService
[ERROR]   location: class net.imagej.server.external.DefaultTableIOPlugin

We should take the opportunity also to eliminate the DefaultTableIOPlugin here in favor of scijava-plugins-io-table; see also scijava/scijava-plugins-io-table#4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions