maven-shared icon indicating copy to clipboard operation
maven-shared copied to clipboard

MSHARED-341: New API to support to analyze artifact's dependencies

Open wangyf2010 opened this issue 11 years ago • 2 comments

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.

wangyf2010 avatar Jun 24 '14 02:06 wangyf2010

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 avatar Jul 02 '14 04:07 wangyf2010

@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.

michael-o avatar Oct 16 '16 13:10 michael-o