Merge pull request #20 from apache/dependabot/maven/org.codehaus.mojo-buildnumber-maven-plugin-3.0.0

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 282f92c..50cd372 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>
@@ -722,7 +722,7 @@
             <dependency>
               <groupId>org.apache.maven.shared</groupId>
               <artifactId>maven-shared-resources</artifactId>
-              <version>2</version>
+              <version>4</version>
             </dependency>
           </dependencies>
         </plugin>