Skip to content

Commit

Permalink
Merge pull request #931 from openpreserve/rel/1.30.1
Browse files Browse the repository at this point in the history
FIX: Update the GH Actions upload task
  • Loading branch information
carlwilson authored Aug 1, 2024
2 parents 7c12ff2 + 2ee5622 commit 70aefcd
Show file tree
Hide file tree
Showing 19 changed files with 31 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,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/
Expand All @@ -60,7 +60,7 @@ 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/
Expand Down
4 changes: 3 additions & 1 deletion jhove-apps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

<artifactId>jhove-apps</artifactId>
<packaging>jar</packaging>
<version>1.30.1</version>


<name>JHOVE Applications</name>
<description>Classes and fat JAR packaging for CLI and GUI app.</description>
Expand Down Expand Up @@ -58,7 +60,7 @@
<dependency>
<groupId>org.openpreservation.jhove</groupId>
<artifactId>jhove-core</artifactId>
<version>${project.version}</version>
<version>1.30.0</version>
</dependency>
</dependencies>

Expand Down
8 changes: 4 additions & 4 deletions jhove-bbt/scripts/create-1.30-target.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/^ <reportingModule release="1.12.4" date="2023-03-16">PDF-hul<\/reportingModule>$/ <reportingModule release="1.12.5" date="2024-03-05">PDF-hul<\/reportingModule>/' {} \;
find "${targetRoot}" -type f -name "audit.jhove.xml" -exec sed -i 's/^ <module release="1.12.4">PDF-hul<\/module>$/ <module release="1.12.5">PDF-hul<\/module>/' {} \;
find "${targetRoot}" -type f -name "audit-PDF-hul.jhove.xml" -exec sed -i 's/^ <release>1.12.4<\/release>$/ <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/^ <reportingModule release="1.12.4" date="2023-03-16">PDF-hul<\/reportingModule>$/ <reportingModule release="1.12.6" date="2024-07-31">PDF-hul<\/reportingModule>/' {} \;
find "${targetRoot}" -type f -name "audit.jhove.xml" -exec sed -i 's/^ <module release="1.12.4">PDF-hul<\/module>$/ <module release="1.12.6">PDF-hul<\/module>/' {} \;
find "${targetRoot}" -type f -name "audit-PDF-hul.jhove.xml" -exec sed -i 's/^ <release>1.12.4<\/release>$/ <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/^ <reportingModule release="1.2" date="2023-03-16">PNG-gdm<\/reportingModule>$/ <reportingModule release="1.3" date="2024-03-05">PNG-gdm<\/reportingModule>/' {} \;
Expand Down
2 changes: 1 addition & 1 deletion jhove-bbt/scripts/travis-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
5 changes: 3 additions & 2 deletions jhove-installer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
</parent>

<artifactId>jhove-installer</artifactId>
<version>1.30.1</version>
<name>JHOVE Installer</name>
<description>Maven-built IzPack installer for JHOVE.</description>

Expand All @@ -24,7 +25,7 @@
<html.hul.version>1.4.3</html.hul.version>
<jpeg2000.hul.version>1.4.4</jpeg2000.hul.version>
<jpeg.hul.version>1.5.4</jpeg.hul.version>
<pdf.hul.version>1.12.5</pdf.hul.version>
<pdf.hul.version>1.12.6</pdf.hul.version>
<tiff.hul.version>1.9.4</tiff.hul.version>
<utf8.hul.version>1.7.3</utf8.hul.version>
<wave.hul.version>1.8.3</wave.hul.version>
Expand Down Expand Up @@ -174,7 +175,7 @@
<dependency>
<groupId>org.openpreservation.jhove</groupId>
<artifactId>jhove-ext-modules</artifactId>
<version>${project.version}</version>
<version>1.30.0</version>
</dependency>
<dependency>
<groupId>org.openpreservation.jhove.modules</groupId>
Expand Down
4 changes: 2 additions & 2 deletions jhove-installer/src/main/izpack/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@
</pack>
<pack name="JHOVE External Modules" required="no">
<description>Third-party validation modules developed for JHOVE, currently GZIP, PNG and WARC.</description>
<file targetdir="$INSTALL_PATH/bin" src="bin/jhove-ext-modules-${project.version}.jar"/>
<executable targetfile="$INSTALL_PATH/bin/jhove-ext-modules-${project.version}.jar"/>
<file targetdir="$INSTALL_PATH/bin" src="bin/jhove-ext-modules-1.30.0.jar"/>
<executable targetfile="$INSTALL_PATH/bin/jhove-ext-modules-1.30.0.jar"/>
<file targetdir="$INSTALL_PATH/conf" override="true" src="config/ext-modules/jhove.conf"/>
<parsable targetfile="$INSTALL_PATH/conf/jhove.conf" type="xml"/>
</pack>
Expand Down
2 changes: 1 addition & 1 deletion jhove-modules/aiff-hul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openpreservation.jhove.modules</groupId>
<artifactId>jhove-modules</artifactId>
<version>1.30.0</version>
<version>1.30.1</version>
</parent>
<artifactId>aiff-hul</artifactId>
<version>1.6.2</version>
Expand Down
2 changes: 1 addition & 1 deletion jhove-modules/ascii-hul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openpreservation.jhove.modules</groupId>
<artifactId>jhove-modules</artifactId>
<version>1.30.0</version>
<version>1.30.1</version>
</parent>
<artifactId>ascii-hul</artifactId>
<version>1.4.2</version>
Expand Down
2 changes: 1 addition & 1 deletion jhove-modules/gif-hul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openpreservation.jhove.modules</groupId>
<artifactId>jhove-modules</artifactId>
<version>1.30.0</version>
<version>1.30.1</version>
</parent>
<artifactId>gif-hul</artifactId>
<version>1.4.3</version>
Expand Down
2 changes: 1 addition & 1 deletion jhove-modules/html-hul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openpreservation.jhove.modules</groupId>
<artifactId>jhove-modules</artifactId>
<version>1.30.0</version>
<version>1.30.1</version>
</parent>
<artifactId>html-hul</artifactId>
<version>1.4.3</version>
Expand Down
2 changes: 1 addition & 1 deletion jhove-modules/jpeg-hul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openpreservation.jhove.modules</groupId>
<artifactId>jhove-modules</artifactId>
<version>1.30.0</version>
<version>1.30.1</version>
</parent>
<artifactId>jpeg-hul</artifactId>
<version>1.5.4</version>
Expand Down
2 changes: 1 addition & 1 deletion jhove-modules/jpeg2000-hul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openpreservation.jhove.modules</groupId>
<artifactId>jhove-modules</artifactId>
<version>1.30.0</version>
<version>1.30.1</version>
</parent>
<artifactId>jpeg2000-hul</artifactId>
<version>1.4.4</version>
Expand Down
4 changes: 2 additions & 2 deletions jhove-modules/pdf-hul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<parent>
<groupId>org.openpreservation.jhove.modules</groupId>
<artifactId>jhove-modules</artifactId>
<version>1.30.0</version>
<version>1.30.1</version>
</parent>
<artifactId>pdf-hul</artifactId>
<version>1.12.5</version>
<version>1.12.6</version>
<name>JHOVE PDF Module HUL</name>
<description>PDF module developed by Harvard University Library</description>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -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; "
Expand Down Expand Up @@ -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) {

Expand Down
1 change: 1 addition & 0 deletions jhove-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<groupId>org.openpreservation.jhove.modules</groupId>
<artifactId>jhove-modules</artifactId>
<packaging>pom</packaging>
<version>1.30.1</version>
<name>JHOVE Validation Modules</name>
<description>The JHOVE HUL validation modules.</description>

Expand Down
2 changes: 1 addition & 1 deletion jhove-modules/tiff-hul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openpreservation.jhove.modules</groupId>
<artifactId>jhove-modules</artifactId>
<version>1.30.0</version>
<version>1.30.1</version>
</parent>
<artifactId>tiff-hul</artifactId>
<version>1.9.4</version>
Expand Down
2 changes: 1 addition & 1 deletion jhove-modules/utf8-hul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openpreservation.jhove.modules</groupId>
<artifactId>jhove-modules</artifactId>
<version>1.30.0</version>
<version>1.30.1</version>
</parent>
<artifactId>utf8-hul</artifactId>
<version>1.7.3</version>
Expand Down
2 changes: 1 addition & 1 deletion jhove-modules/wave-hul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openpreservation.jhove.modules</groupId>
<artifactId>jhove-modules</artifactId>
<version>1.30.0</version>
<version>1.30.1</version>
</parent>
<artifactId>wave-hul</artifactId>
<version>1.8.3</version>
Expand Down
2 changes: 1 addition & 1 deletion jhove-modules/xml-hul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.openpreservation.jhove.modules</groupId>
<artifactId>jhove-modules</artifactId>
<version>1.30.0</version>
<version>1.30.1</version>
</parent>
<artifactId>xml-hul</artifactId>
<version>1.5.4</version>
Expand Down

0 comments on commit 70aefcd

Please sign in to comment.