maven-shared
maven-shared copied to clipboard
MSHARED-341: New API to support to analyze artifact's dependencies
Need new API to analyze artifact's dependencies too. Later could leverage this API to enhance maven-dependency-plugin to analyze project's transitive dependencies and provide more intensive analyzing report.
It could help users: not only find out "unused but declared dependencies" for current project. It could analyze others domain's dependencies also.
Reason from Real World: In real world, it's hard to drive others domain's to optimize their dependencies. But with this report, any developers could start to drive others domains to optimize their dependency hierarchies.
This API will leverage actual analyzing logic to ProjectDependencyAnalyzer. Analyze result is the same to ProjectDependencyAnalyzer.
Hi,
Anybody take a look at this pull request?
It's trying to analyze transitive dependencies also. Simple enhancement for current API.
Regards Simon
@wangyf2010 I am willing to merge this. Can you check this against master wether code has change. Additionally, do have have a good example what the benefit is? Moreover, how does it affect clients using the current API? I am totally unaware.