APIs for maven dependency -


are there api helps find dependency of maven packages. used examples present in answer of programmatically resolving maven dependencies outside of plugin - repositorysystemsession , repositorysystem

however dependency list using aether different list given apis

afaik. api did not resolve ranges, not sure whether handles exclusions.

is there readily available api takes care of resolving version ranges, exclusions (simillar when using "mvn dependency-list/tree)

i looking api returns result provided mvn dependency:list/tree

note: code running outside mvn plugin

i recommend use 2 tools:

mvn help:effective-pom 

this tool provides effective pom - detailed pom.xml actual dependencies , versions

mvn dependency:tree 

provides dependency tree


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -