title: Maven successfully add dependency but found nothing in lib
body: <p>Here is my pom file:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;
           xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
           xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
      &lt;parent&gt;
          &lt;artifactId&gt;parent-web&lt;/artifactId&gt;
          &lt;groupId&gt;com.test&lt;/groupId&gt;
          &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;artifactId&gt;web-amazon-auth&lt;/artifactId&gt;
      &lt;description&gt;
          Amazon Auth
      &lt;/description&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.test&lt;/groupId&gt;
              &lt;artifactId&gt;web-common&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
          &lt;!--mybatis-plus--&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;mysql&lt;/groupId&gt;
              &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.velocity&lt;/groupId&gt;
              &lt;artifactId&gt;velocity&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
          &lt;!--failed dependencies--&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.baomidou&lt;/groupId&gt;
              &lt;artifactId&gt;dynamic-datasource-spring-boot-starter&lt;/artifactId&gt;
              &lt;version&gt;3.2.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;
              &lt;artifactId&gt;aws-java-sdk-core&lt;/artifactId&gt;
              &lt;version&gt;1.11.1024&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;software.amazon.awssdk&lt;/groupId&gt;
              &lt;artifactId&gt;sts&lt;/artifactId&gt;
              &lt;version&gt;2.16.81&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;software.amazon.awssdk&lt;/groupId&gt;
              &lt;artifactId&gt;auth&lt;/artifactId&gt;
              &lt;version&gt;2.16.81&lt;/version&gt;
          &lt;/dependency&gt;
  
  
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
  
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.0.0-M5&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;skipTests&gt;true&lt;/skipTests&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;!--quick boot--&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;!--fork: required to enable devtool--&gt;
                      &lt;fork&gt;true&lt;/fork&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  <p>That was quite strange, All the dependencies added below tag <code>&lt;!--failed dependencies--&gt;</code> are successfully added to maven, but I cannot use them in my code.</p>
  <p>By searching them in lib, there is nothing until I force add them manually from module setting, this situation will not happen in any of other modules. I have tried to clean or invalid cache and restart, also I have tried to relink the child pom to the parent, so far , only force add manually worked. I don't know how to fix this...</p>
  <p>All the required jars are normal in my maven repository, and they all run well in my other projects with the same <code>pom.xml</code>. I'm stuck here for a long time why the jars will not added into lib in this module.</p>