diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c3e1080..6829a217 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,6 +67,19 @@ jobs: with: maven-version: ${{ matrix.maven }} + # The following two steps could be removed once the latest v3 is in Maven Central, but + # it might be nice to allow snapshots in the POM still as an option to support testing + - name: Download JPv3 + env: + JPV3_URL: ksclarke.nyc3.digitaloceanspaces.com + run: | + curl -s --output-dir /tmp -O "https://${{ env.JPV3_URL }}/jiiify-presentation-v3-0.0.0-SNAPSHOT.jar" + + - name: Install JPv3 + run: | + mvn install:install-file -Dfile=/tmp/jiiify-presentation-v3-0.0.0-SNAPSHOT.jar -Dpackaging=jar \ + -DgroupId=info.freelibrary -DartifactId=jiiify-presentation-v3 -Dversion=0.0.0-SNAPSHOT + - name: Release with Maven env: MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} diff --git a/pom.xml b/pom.xml index cee32756..6e25138d 100644 --- a/pom.xml +++ b/pom.xml @@ -160,9 +160,10 @@ - info.freelibrary:jiiify-presentation-v3 + info.freelibrary:jpv3-webrepl info/freelibrary/iiif/presentation/v3/properties/MediaType.class + info/freelibrary/iiif/presentation/v3/utils/MessageCodes.class