title: I specified new version of Log4J but still dependencies also show old version
body: <p>I have a project that uses SLF4J also SLF4J uses Log4J 1.2.17 (as a default without specify any version in pom.xml).</p>
  <p>Hi, I want to upgrade Log4J version to 2.17.1, there is information about how to do it
  <a href="https://logging.apache.org/log4j/2.x/maven-artifacts.html" rel="nofollow noreferrer">https://logging.apache.org/log4j/2.x/maven-artifacts.html</a></p>
  <p>and I added below code to my pom.xml file</p>
  <pre><code>&lt;dependencies&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.apache.logging.log4j&lt;/groupId&gt;
      &lt;artifactId&gt;log4j-slf4j-impl&lt;/artifactId&gt;
      &lt;version&gt;2.17.1&lt;/version&gt;
    &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  <p>then when I check Maven Dependecies it shows old version and new version in my project</p>
  <p><a href="https://i.stack.imgur.com/ECZKk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ECZKk.png" alt="maven dependencies" /></a></p>
  <p>Currently I'm confused about &quot;did I upgrade Log4J or not&quot;. How can i be sure?</p>