logo betterdep-maven-plugin

Better results than the maven-dependency-plugin offers for troubleshooting output.

homepage: github.com/jdcasey/betterdep-maven-plugin
fresh index:
last release: 4 years ago, first release: 5 years ago
packaging: maven-plugin
get this artifact from: central
see this artifact on: search.maven.org




This chart shows how much is this artifact used as a dependency in other Maven artifacts in Central repository and GitHub:


select version:

Add this snippet into pom.xml inside tag <project><build><plugins>:




Switch to artifact.
goals:
betterdep:tree

Generates a tree-style listing of the artifacts contained within the dependency graph for a project or set of projects. Output also includes parent POMs and BOMs referenced from these artifacts by default. This output style is intended to show how different artifacts were included in dependency graph, not just the fact of their inclusion. If this goal is run using the -Dfrom=GAV[,GAV]* parameter, those GAVs will be treated as the "roots" of the dependency graph (origins of traversal). Otherwise, the current set of projects will be used.

betterdep:paths

Generates a list of the paths within the dependency graph from the "root" projects to some other GAV or set of GAVs. This is a distillation of what a lot of people are really after when they use the 'tree' goal. The key parameter here is the -Dto=GAV[,GAV]* parameter, which specifies the list of artifacts to search for in the dependency graph. If this goal is run using the -Dfrom=GAV[,GAV]* parameter, those GAVs will be treated as the "roots" of the dependency graph (origins of traversal). Otherwise, the current set of projects will be used.

betterdep:diff

Generates pseudo-diff style output that highlights the differences between two dependency graphs. The first (old) graph is generated from either the current projects, or else the -Dfrom=GAV[,GAV]* parameter. The second (new) graph is generated from the -Dto=GAV[,GAV]* parameter. This goal is most useful to determine the changes in the dependency graph from one release of a project to the next.

betterdep:list

Generates a listing of the artifacts contained within the dependency graph for a project or set of projects. Output also includes parent POMs and BOMs referenced from these artifacts by default. If this goal is run using the -Dfrom=GAV[,GAV]* parameter, those GAVs will be treated as the "roots" of the dependency graph (origins of traversal). Otherwise, the current set of projects will be used.

betterdep:downlog

Generates a list of URLs for artifact and their related files for each artifact in the dependency graph. Optionally, each line can be prefixed with 'Downloading: ' to mimic a distillation of the console output from a Maven build. Also optionally, other extra files like checksums, signatures, and attached artifacts may be included. This goal is useful to quickly generate a listing of URLs that would need to be imported to a cleanroom build environment in order to build the given projects. If this goal is run using the -Dfrom=GAV[,GAV]* parameter, those GAVs will be treated as the "roots" of the dependency graph (origins of traversal). Otherwise, the current set of projects will be used.

betterdep:repozip

Generates a zip archive containing all the artifacts and other related files for a dependency graph. Optionally, other extra files like checksums, signatures, and attached artifacts may be included. If this goal is run using the -Dfrom=GAV[,GAV]* parameter, those GAVs will be treated as the "roots" of the dependency graph (origins of traversal). Otherwise, the current set of projects will be used.


© Jiri Pinkas 2015 - 2018. All rights reserved. Admin login To submit bugs / feature requests please use this github page
related: JavaVids | Top Java Blogs | Java školení | 4npm - npm search | monitored using: sitemonitoring
Apache and Apache Maven are trademarks of the Apache Software Foundation. The Central Repository is a service mark of Sonatype, Inc.