admin管理员组

文章数量:1125980

Has anyone found an easy way to detect maven dependencies inside your Spring Boot project pom.xml files that are not or no longer needed and can be removed from the pom.xml file ? My intention is to remove unused dependencies from projects to prevent renovate from creating PRs to patch dependencies that are no longer needed in the project.

mvn dependency:analyze doesn't work well with Spring Boot apps that use spring-boot-starter-* dependencies.

For a discussion on this problem, see:

depclean-maven-plugin doesn't seem to work with Java 21.

Any other ideas ?

本文标签: