Merge pull request #19 from apache/dependabot/maven/org.apache.maven.shared-maven-shared-resources-4

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index c3e55b6..1cba709 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -50,10 +50,11 @@
             maven-${{ matrix.os }}-
 
       - name: Set up JDK
-        uses: actions/setup-java@v2
+        uses: actions/setup-java@v2.3.1
         with:
           distribution: adopt
           java-version: ${{ matrix.java }}
+          cache: 'maven'
 
       - name: Build with Maven
         run: mvn -e -B -V verify
diff --git a/pom.xml b/pom.xml
index f91972d..e172601 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,7 +81,7 @@
 
     <jetty.version>9.4.43.v20210629</jetty.version>
     <slf4j.version>1.7.28</slf4j.version>
-    <log4j.version>2.15.0</log4j.version>
+    <log4j.version>2.16.0</log4j.version>
     <spring.version>5.3.7</spring.version>
 
     <ehcache.version>2.10.6</ehcache.version>