diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 9bf9270dd..ba4fd7e8d 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -28,6 +28,17 @@ jobs:
java-version: '8'
distribution: 'zulu'
cache: maven
+ # Temporary: janelia-jhdf5 22.03.01-SNAPSHOT is not published anywhere, so build and
+ # install it into ~/.m2 first. Remove once janelia-jhdf5 is released.
+ - name: Check out janelia-jhdf5
+ uses: actions/checkout@v4
+ with:
+ repository: JaneliaSciComp/janelia-jhdf5
+ ref: main
+ path: janelia-jhdf5
+ - name: Install janelia-jhdf5 snapshot
+ working-directory: janelia-jhdf5
+ run: mvn -B -U install -DskipTests -Djacoco.skip=true -Djavacpp.platform=linux-x86_64
- name: Build with Maven
run: mvn -P janeliaws clean install
diff --git a/modules/Viewer3D/pom.xml b/modules/Viewer3D/pom.xml
index 5b5db29c9..c6a5144b1 100644
--- a/modules/Viewer3D/pom.xml
+++ b/modules/Viewer3D/pom.xml
@@ -51,9 +51,10 @@
- ch.systems.cisd
- jhdf5
- 14.12.0
+ org.scijava
+ janelia-jhdf5
+
+ ${janelia-jhdf5.version}
diff --git a/pom.xml b/pom.xml
index c0670724f..cad2af3ab 100644
--- a/pom.xml
+++ b/pom.xml
@@ -165,6 +165,9 @@
3.0.0-M2
+
+ 22.03.01-SNAPSHOT
+
@@ -183,6 +186,14 @@
false
+
+
+ central-portal-snapshots
+ https://central.sonatype.com/repository/maven-snapshots/
+ false
+ true
+