Skip to content

Commit

Permalink
Support using a downloadable version of jpv3 (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksclarke authored Jan 9, 2025
1 parent cb6eff8 commit a37095d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,10 @@
</excludes>
</filter>
<filter>
<artifact>info.freelibrary:jiiify-presentation-v3</artifact>
<artifact>info.freelibrary:jpv3-webrepl</artifact>
<excludes>
<exclude>info/freelibrary/iiif/presentation/v3/properties/MediaType.class</exclude>
<exclude>info/freelibrary/iiif/presentation/v3/utils/MessageCodes.class</exclude>
</excludes>
</filter>
</filters>
Expand Down

0 comments on commit a37095d

Please sign in to comment.