diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 848f419b1..e182bf094 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -14,8 +14,8 @@ jobs: java-version: [8, 11] steps: - - uses: actions/checkout@v3 - - uses: dorny/paths-filter@v2 + - uses: actions/checkout@v4 + - uses: dorny/paths-filter@v3 id: filter with: filters: | @@ -30,15 +30,14 @@ jobs: - 'jhove-bbt/scripts/**' - 'test-root/corpora/**' - name: JDK setup - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java-version }} distribution: 'temurin' cache: maven - name: Build with Maven run: mvn --batch-mode --update-snapshots install -DjacocoAgg - - name: Integration Tests - if: (matrix.java-version == 8) && (steps.filter.outputs.jhove == 'true') + - name: Integration(matrix.java-version == 8) && (steps.filter.outputs.jhove == 'true') run: ./bbt-jhove shell: bash - name: Test with Maven @@ -46,7 +45,7 @@ jobs: run: mvn --batch-mode verify -DjacocoAgg - name: Upload coverage report if: (matrix.java-version == 8) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-report path: jhove-apps/target/site/jacoco-aggregate/ @@ -61,13 +60,17 @@ jobs: - name: Codacy analysis reporting uses: codacy/codacy-analysis-cli-action@4.0.0 - name: Download coverage report - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: coverage-report path: jhove-apps/target/site/jacoco-aggregate/ - name: Codecov coverage reporting - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: jhove-apps/target/site/jacoco-aggregate/jacoco.xml - fail_ci_if_error: true # optional (default = false) + fail_ci_if_error: false # optional (default = false) verbose: true # optional (default = false) + name: codecov-jhove + token: ${{ secrets.CODECOV_TOKEN }} # required + + diff --git a/jhove-apps/pom.xml b/jhove-apps/pom.xml index afd0c7bf0..96610605e 100644 --- a/jhove-apps/pom.xml +++ b/jhove-apps/pom.xml @@ -5,11 +5,13 @@ org.openpreservation.jhove jhove - 1.30.0-RC1 + 1.30.0 jhove-apps jar + 1.30.1 + JHOVE Applications Classes and fat JAR packaging for CLI and GUI app. @@ -58,7 +60,7 @@ org.openpreservation.jhove jhove-core - ${project.version} + 1.30.0 diff --git a/jhove-bbt/scripts/create-1.30-target.sh b/jhove-bbt/scripts/create-1.30-target.sh index 3d6b6aba7..46ed6dd84 100755 --- a/jhove-bbt/scripts/create-1.30-target.sh +++ b/jhove-bbt/scripts/create-1.30-target.sh @@ -64,10 +64,10 @@ find "${targetRoot}" -type f -name "audit.jhove.xml" -exec sed -i 's/outputHandl find "${targetRoot}" -type f -name "audit.jhove.xml" -exec sed -i 's/outputHandler release="1.1">JSON/outputHandler release="1.2">JSON/' {} \; # Update release details for PDF module -find "${targetRoot}" -type f -name "*.pdf.jhove.xml" -exec sed -i 's/^ PDF-hul<\/reportingModule>$/ PDF-hul<\/reportingModule>/' {} \; -find "${targetRoot}" -type f -name "audit.jhove.xml" -exec sed -i 's/^ PDF-hul<\/module>$/ PDF-hul<\/module>/' {} \; -find "${targetRoot}" -type f -name "audit-PDF-hul.jhove.xml" -exec sed -i 's/^ 1.12.4<\/release>$/ 1.12.5<\/release>/' {} \; -find "${targetRoot}" -type f -name "audit-PDF-hul.jhove.xml" -exec sed -i 's/2023-03-16/2024-03-05/' {} \; +find "${targetRoot}" -type f -name "*.pdf.jhove.xml" -exec sed -i 's/^ PDF-hul<\/reportingModule>$/ PDF-hul<\/reportingModule>/' {} \; +find "${targetRoot}" -type f -name "audit.jhove.xml" -exec sed -i 's/^ PDF-hul<\/module>$/ PDF-hul<\/module>/' {} \; +find "${targetRoot}" -type f -name "audit-PDF-hul.jhove.xml" -exec sed -i 's/^ 1.12.4<\/release>$/ 1.12.6<\/release>/' {} \; +find "${targetRoot}" -type f -name "audit-PDF-hul.jhove.xml" -exec sed -i 's/2023-03-16/2024-07-31/' {} \; # Update release details for PNG module find "${targetRoot}" -type f -name "*.png.jhove.xml" -exec sed -i 's/^ PNG-gdm<\/reportingModule>$/ PNG-gdm<\/reportingModule>/' {} \; diff --git a/jhove-bbt/scripts/travis-test.sh b/jhove-bbt/scripts/travis-test.sh index efd4788b5..94ace84e3 100755 --- a/jhove-bbt/scripts/travis-test.sh +++ b/jhove-bbt/scripts/travis-test.sh @@ -54,7 +54,7 @@ fi [[ -d "${TARGET_ROOT}" ]] || mkdir -p "${TARGET_ROOT}" # Grab the Major and Minor versions from the full Maven project version string -MVN_VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec) +MVN_VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec -f jhove-installer/pom.xml) MAJOR_MINOR_VER="${MVN_VERSION%.*}" JHOVE_INSTALLER="./jhove-installer/target/jhove-xplt-installer-${MVN_VERSION}.jar" diff --git a/jhove-core/pom.xml b/jhove-core/pom.xml index 2a923bbfc..c7e17204c 100644 --- a/jhove-core/pom.xml +++ b/jhove-core/pom.xml @@ -5,7 +5,7 @@ org.openpreservation.jhove jhove - 1.30.0-RC1 + 1.30.0 jhove-core diff --git a/jhove-ext-modules/pom.xml b/jhove-ext-modules/pom.xml index 288e19652..97ed7377b 100644 --- a/jhove-ext-modules/pom.xml +++ b/jhove-ext-modules/pom.xml @@ -3,7 +3,7 @@ org.openpreservation.jhove jhove - 1.30.0-RC1 + 1.30.0 jhove-ext-modules diff --git a/jhove-installer/pom.xml b/jhove-installer/pom.xml index 805a94357..df9b0e891 100644 --- a/jhove-installer/pom.xml +++ b/jhove-installer/pom.xml @@ -5,10 +5,11 @@ org.openpreservation.jhove jhove - 1.30.0-RC1 + 1.30.0 jhove-installer + 1.30.1 JHOVE Installer Maven-built IzPack installer for JHOVE. @@ -24,7 +25,7 @@ 1.4.3 1.4.4 1.5.4 - 1.12.5 + 1.12.6 1.9.4 1.7.3 1.8.3 @@ -174,7 +175,7 @@ org.openpreservation.jhove jhove-ext-modules - ${project.version} + 1.30.0 org.openpreservation.jhove.modules diff --git a/jhove-installer/src/main/izpack/install.xml b/jhove-installer/src/main/izpack/install.xml index f8ec2b446..41ea703d1 100644 --- a/jhove-installer/src/main/izpack/install.xml +++ b/jhove-installer/src/main/izpack/install.xml @@ -107,8 +107,8 @@ Third-party validation modules developed for JHOVE, currently GZIP, PNG and WARC. - - + + diff --git a/jhove-modules/aiff-hul/pom.xml b/jhove-modules/aiff-hul/pom.xml index 3db631dd9..1395924e3 100644 --- a/jhove-modules/aiff-hul/pom.xml +++ b/jhove-modules/aiff-hul/pom.xml @@ -3,7 +3,7 @@ org.openpreservation.jhove.modules jhove-modules - 1.30.0-RC1 + 1.30.1 aiff-hul 1.6.2 diff --git a/jhove-modules/ascii-hul/pom.xml b/jhove-modules/ascii-hul/pom.xml index 5e69b7a8d..fbdaf3f6e 100644 --- a/jhove-modules/ascii-hul/pom.xml +++ b/jhove-modules/ascii-hul/pom.xml @@ -3,7 +3,7 @@ org.openpreservation.jhove.modules jhove-modules - 1.30.0-RC1 + 1.30.1 ascii-hul 1.4.2 diff --git a/jhove-modules/gif-hul/pom.xml b/jhove-modules/gif-hul/pom.xml index 66f00008a..2abd4cec3 100644 --- a/jhove-modules/gif-hul/pom.xml +++ b/jhove-modules/gif-hul/pom.xml @@ -3,7 +3,7 @@ org.openpreservation.jhove.modules jhove-modules - 1.30.0-RC1 + 1.30.1 gif-hul 1.4.3 diff --git a/jhove-modules/html-hul/pom.xml b/jhove-modules/html-hul/pom.xml index c948857ca..03ae60382 100644 --- a/jhove-modules/html-hul/pom.xml +++ b/jhove-modules/html-hul/pom.xml @@ -3,7 +3,7 @@ org.openpreservation.jhove.modules jhove-modules - 1.30.0-RC1 + 1.30.1 html-hul 1.4.3 diff --git a/jhove-modules/jpeg-hul/pom.xml b/jhove-modules/jpeg-hul/pom.xml index 1eacb6ad8..1b1d663bc 100644 --- a/jhove-modules/jpeg-hul/pom.xml +++ b/jhove-modules/jpeg-hul/pom.xml @@ -3,7 +3,7 @@ org.openpreservation.jhove.modules jhove-modules - 1.30.0-RC1 + 1.30.1 jpeg-hul 1.5.4 diff --git a/jhove-modules/jpeg2000-hul/pom.xml b/jhove-modules/jpeg2000-hul/pom.xml index 8050c0d2d..1d4557036 100644 --- a/jhove-modules/jpeg2000-hul/pom.xml +++ b/jhove-modules/jpeg2000-hul/pom.xml @@ -3,7 +3,7 @@ org.openpreservation.jhove.modules jhove-modules - 1.30.0-RC1 + 1.30.1 jpeg2000-hul 1.4.4 diff --git a/jhove-modules/pdf-hul/pom.xml b/jhove-modules/pdf-hul/pom.xml index c82114a0e..b7102d68d 100644 --- a/jhove-modules/pdf-hul/pom.xml +++ b/jhove-modules/pdf-hul/pom.xml @@ -3,10 +3,10 @@ org.openpreservation.jhove.modules jhove-modules - 1.30.0-RC1 + 1.30.1 pdf-hul - 1.12.5 + 1.12.6 JHOVE PDF Module HUL PDF module developed by Harvard University Library diff --git a/jhove-modules/pdf-hul/src/main/java/edu/harvard/hul/ois/jhove/module/PdfModule.java b/jhove-modules/pdf-hul/src/main/java/edu/harvard/hul/ois/jhove/module/PdfModule.java index 0b861987d..2c25fd0c3 100644 --- a/jhove-modules/pdf-hul/src/main/java/edu/harvard/hul/ois/jhove/module/PdfModule.java +++ b/jhove-modules/pdf-hul/src/main/java/edu/harvard/hul/ois/jhove/module/PdfModule.java @@ -380,8 +380,8 @@ public class PdfModule extends ModuleBase { ******************************************************************/ private static final String NAME = "PDF-hul"; - private static final String RELEASE = "1.12.5"; - private static final int[] DATE = { 2024, 03, 05 }; + private static final String RELEASE = "1.12.6"; + private static final int[] DATE = { 2024, 07, 31 }; private static final String[] FORMAT = { "PDF", "Portable Document Format" }; private static final String COVERAGE = "PDF 1.0-1.6; " @@ -3502,6 +3502,7 @@ protected void addDestination(PdfObject itemObj, String propName, JhoveMessages.getMessageInstance( e.getJhoveMessage().getId(), e.getJhoveMessage().getMessage(), e.getJhoveMessage().getSubMessage()))); + info.setValid(false); } } catch (Exception e) { diff --git a/jhove-modules/pom.xml b/jhove-modules/pom.xml index 7f7a99480..be67b6629 100644 --- a/jhove-modules/pom.xml +++ b/jhove-modules/pom.xml @@ -5,12 +5,13 @@ org.openpreservation.jhove jhove - 1.30.0-RC1 + 1.30.0 org.openpreservation.jhove.modules jhove-modules pom + 1.30.1 JHOVE Validation Modules The JHOVE HUL validation modules. @@ -18,7 +19,7 @@ org.openpreservation.jhove jhove-core - 1.30.0-RC1 + 1.30.0 org.junit.vintage diff --git a/jhove-modules/tiff-hul/pom.xml b/jhove-modules/tiff-hul/pom.xml index 7a335a740..1bae3e28d 100644 --- a/jhove-modules/tiff-hul/pom.xml +++ b/jhove-modules/tiff-hul/pom.xml @@ -3,7 +3,7 @@ org.openpreservation.jhove.modules jhove-modules - 1.30.0-RC1 + 1.30.1 tiff-hul 1.9.4 diff --git a/jhove-modules/utf8-hul/pom.xml b/jhove-modules/utf8-hul/pom.xml index f75d052cd..b8b5c2d19 100644 --- a/jhove-modules/utf8-hul/pom.xml +++ b/jhove-modules/utf8-hul/pom.xml @@ -3,7 +3,7 @@ org.openpreservation.jhove.modules jhove-modules - 1.30.0-RC1 + 1.30.1 utf8-hul 1.7.3 diff --git a/jhove-modules/wave-hul/pom.xml b/jhove-modules/wave-hul/pom.xml index dd20e8626..33a5a90c6 100644 --- a/jhove-modules/wave-hul/pom.xml +++ b/jhove-modules/wave-hul/pom.xml @@ -3,7 +3,7 @@ org.openpreservation.jhove.modules jhove-modules - 1.30.0-RC1 + 1.30.1 wave-hul 1.8.3 diff --git a/jhove-modules/xml-hul/pom.xml b/jhove-modules/xml-hul/pom.xml index 7de1e49db..41cbd791c 100644 --- a/jhove-modules/xml-hul/pom.xml +++ b/jhove-modules/xml-hul/pom.xml @@ -3,7 +3,7 @@ org.openpreservation.jhove.modules jhove-modules - 1.30.0-RC1 + 1.30.1 xml-hul 1.5.4 diff --git a/pom.xml b/pom.xml index 7d541f0b7..053b0f762 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ org.openpreservation.jhove jhove - 1.30.0-RC1 + 1.30.0 pom JHOVE - JSTOR/Harvard Object Validation Environment