maven allows you to define in a pom file:
(A) dependencies→ actual direct dependencies of the project
(B) dependencyManagement/ dependencies→ managed dependencies that affect category (A) dependencies with undefined version and transitive dependencies.
- If I put the wrong / unknown artifact in category A - maven will certainly fail.
- If I put an incorrect / unknown artifact in category B, maven will fail only if it affects category A (for example, A defines dep on
foo:bar, and B defines dep on foo:bar:<unknown-version>.
I wonder if there is any existing plugin that allows me to check all managed deps (category B) - make sure they really exist.
I have 1 global pom project with deps control that serves several projects and I want to check any changes in folders in CI before uploading the new version to the remote repository
source
share