Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从项目的 pom.xml 中删除了一个未使用的依赖项,该依赖项具有战争类型的包装。即使在删除它之后,它也被捆绑在 lib 文件夹下。为什么会这样?感谢您的投入
执行以下命令以查看您的实际 pom
mvn help:effective-pom
或将其输出到文件
mvn help:effective-pom > effective-pom.xml
现在通过生成的effective-pom.xml
effective-pom.xml