title: log4j 2.16.0 update issue with offline Maven repo
body: <p>Our build server does not have access to the Maven central repositories.</p>
  <p>When updating dependencies I typically create a backup of my repository and then do a diff, and copy the new dependencies to the build machine.</p>
  <p>When updating my Log4j dependency to deal with the recent vulnerability this process seems to have broken down.</p>
  <p>My dependency on log4j comes from:</p>
  <pre class="lang-xml prettyprint-override"><code>        &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-log4j2&lt;/artifactId&gt;
          &lt;/dependency&gt;
  </code></pre>
  <p>I set the log4j version property as such:</p>
  <pre class="lang-xml prettyprint-override"><code>    &lt;properties&gt;
          &lt;log4j2.version&gt;2.16.0&lt;/log4j2.version&gt;
      &lt;/properties&gt;
  </code></pre>
  <p>It builds fine on my machine. And I found the following new files in my local Maven repository which I copied to the Maven repository on the build machine.
  <a href="https://i.stack.imgur.com/c5I7n.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c5I7n.png" alt="enter image description here" /></a></p>
  <p>But when the build runs on the build machine, it appears to go hunting for the new version of Log4j in the remote repository and fails as such:</p>
  <pre><code>161 [INFO] Scanning for projects...
  162 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/logging/logging-parent/3/logging-parent-3.pom
  163 [ERROR] [ERROR] Some problems were encountered while processing the POMs:
  164 [FATAL] Non-resolvable parent POM for org.apache.logging.log4j:log4j-bom:2.16.0: Could not transfer artifact org.apache.logging:logging-parent:pom:3 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/apache/logging/logging-parent/3/logging-parent-3.pom @ org.apache.logging.log4j:log4j-bom:2.16.0, C:\Users\gitlab-runner.ate\.m2\repository\org\apache\logging\log4j\log4j-bom\2.16.0\log4j-bom-2.16.0.pom, line 19, column 11
  </code></pre>