diff --git a/infra/presubmit.py b/infra/presubmit.py
index 86f5cd927fba..41633fa256a7 100755
--- a/infra/presubmit.py
+++ b/infra/presubmit.py
@@ -262,7 +262,7 @@ def _check_one_apt_update(path):
if 'RUN apt install' in dockerfile or 'RUN apt-get install' in dockerfile:
print('Please add an "apt-get update" before "apt-get install". '
'Otherwise, a cached and outdated RUN layer may lead to install '
- 'failures.')
+ 'failures in file %s.' % str(path))
return False
return True
diff --git a/projects/apache-poi/Dockerfile b/projects/apache-poi/Dockerfile
index ba2c834cb8df..daec69262fba 100644
--- a/projects/apache-poi/Dockerfile
+++ b/projects/apache-poi/Dockerfile
@@ -23,17 +23,19 @@ rm -rf maven.zip
ENV MVN $SRC/maven-3.6.3/apache-maven-3.6.3/bin/mvn
ENV TARGET_PACKAGE_PREFIX org.apache.poi.*:org.apache.xmlbeans.*
-RUN curl -L https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u382-b05/OpenJDK8U-jdk_x64_linux_hotspot_8u382b05.tar.gz -o OpenJDK8U-jdk_x64_linux_hotspot_8u382b05.tar.gz && \
- tar xvf OpenJDK8U-jdk_x64_linux_hotspot_8u382b05.tar.gz && \
- rm -rf OpenJDK8U-jdk_x64_linux_hotspot_8u382b05.tar.gz
+# Newer JDK releases are listed at https://github.com/adoptium/temurin8-binaries/releases/
+RUN curl -L https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u432-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u432b06.tar.gz -o OpenJDK8U-jdk_x64_linux_hotspot_8u432b06.tar.gz && \
+ tar xvf OpenJDK8U-jdk_x64_linux_hotspot_8u432b06.tar.gz && \
+ rm -rf OpenJDK8U-jdk_x64_linux_hotspot_8u432b06.tar.gz
-ENV JAVA_HOME_8 $SRC/jdk8u382-b05
+ENV JAVA_HOME_8 $SRC/jdk8u432-b06
-RUN curl -L https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.20%2B8/OpenJDK11U-jdk_x64_linux_hotspot_11.0.20_8.tar.gz -o OpenJDK11U-jdk_x64_linux_hotspot_11.0.20_8.tar.gz && \
- tar xvf OpenJDK11U-jdk_x64_linux_hotspot_11.0.20_8.tar.gz && \
- rm -rf OpenJDK11U-jdk_x64_linux_hotspot_11.0.20_8.tar.gz
+# Newer JDK releases are listed at https://github.com/adoptium/temurin11-binaries/releases/
+RUN curl -L https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.25%2B9/OpenJDK11U-jdk_x64_linux_hotspot_11.0.25_9.tar.gz -o OpenJDK11U-jdk_x64_linux_hotspot_11.0.25_9.tar.gz && \
+ tar xvf OpenJDK11U-jdk_x64_linux_hotspot_11.0.25_9.tar.gz && \
+ rm -rf OpenJDK11U-jdk_x64_linux_hotspot_11.0.25_9.tar.gz
-ENV JAVA_HOME_11 $SRC/jdk-11.0.20+8
+ENV JAVA_HOME_11 $SRC/jdk-11.0.25+9
WORKDIR ${SRC}
#
@@ -42,7 +44,7 @@ WORKDIR ${SRC}
RUN git clone --depth 1 https://github.com/apache/poi.git
# install packages required for font-handling and other code in java.awt.*
-RUN apt-get install -y libxext6 libx11-6 libxrender1 libxtst6 libxi6 libxcb1 libxau6 libxdmcp6 \
+RUN apt-get update && apt-get install -y libxext6 libx11-6 libxrender1 libxtst6 libxi6 libxcb1 libxau6 libxdmcp6 \
&& apt-get clean autoclean \
&& apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
diff --git a/projects/apache-poi/pom.xml b/projects/apache-poi/pom.xml
index 989f007446b1..d3fb8b9abf41 100644
--- a/projects/apache-poi/pom.xml
+++ b/projects/apache-poi/pom.xml
@@ -16,6 +16,18 @@
+
+
+ central
+ Maven Central
+ https://repo.maven.apache.org/maven2/
+
+
+ apache-staging
+ Apache Staging
+ https://repository.apache.org/content/repositories/staging
+
+
+
+
+ org.apache.logging.log4j
+ log4j-bom
+
+
org.apache.poi
poi-ooxml
${fuzzedLibaryVersion}
+
+
+ org.apache.logging.log4j
+ log4j-bom
+
+
org.apache.poi
poi-scratchpad
${fuzzedLibaryVersion}
+
+
+ org.apache.logging.log4j
+ log4j-bom
+
+
org.apache.poi
poi-examples
${fuzzedLibaryVersion}
+
+
+ org.apache.logging.log4j
+ log4j-bom
+
+
org.apache.logging.log4j
log4j-core
- 2.24.1
+ 2.24.2
+
+
+ org.apache.logging.log4j
+ log4j-bom
+ 2.24.2
+ pom
+ import