Maven使用中央仓库的同时,使用lib下的包

pom.xml添加如下配置

<build>
  <plugins>  
    <plugin>
      <artifactId>maven-compiler-plugin</artifactId>
      <configuration>
        <compilerArguments>
          <extdirs>src\main\webapp\WEB-INF\lib</extdirs>
              </compilerArguments>
          </configuration>
       </plugin>
   </plugins>  
</build>

 

相关文章:

  • 2022-12-23
  • 2021-07-12
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-29
  • 2021-08-07
  • 2021-11-29
  • 2021-08-11
相关资源
相似解决方案