Apache Maven JDeps Plugin

Alan Bateman Alan.Bateman at oracle.com
Mon Feb 16 18:16:52 UTC 2015


On 14/02/2015 15:32, Robert Scholte wrote:
> Hi,
>
> during FOSDEM 2015 a few members of the Apache Maven team visited a 
> talk of Oracle, presented by Rory O'Donnell and Dalibor Topic.
> Their talk ended with encouraging everybody to use the JDeps tool to 
> analyze your dependencies in preparation of JDK9s jigsaw.
> On behalf of the Maven team I've picked up the task to develop a 
> plugin which can do the analysis during the build of a Java project. 
> Call it a thin Maven wrapper around the JDeps tool.
>
> The sources can be found here:
> http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jdeps-plugin/
>
> The documentation can be found here:
> http://maven.apache.org/plugins-archives/maven-jdeps-plugin-LATEST/maven-jdeps-plugin/ 
>
> http://maven.apache.org/plugins-archives/maven-jdeps-plugin-LATEST/maven-jdeps-plugin/usage.html 
>
>
> There's a SNAPSHOT version availabe at
> https://repository.apache.org/content/repositories/snapshots/
>
> The plugin is still in development, but now would be an appropriate 
> moment to share your thoughts on what this plugin should do. For 
> instance: break the build if the project depends on JDK internal APIs 
> (already implemented).
> So please, share your ideas.
This looks very useful. If I read the documentation pages correctly then 
it checks the project main and test classes which makes me curious about 
dependences. Does it run jdeps on those too?

-Alan.


More information about the jigsaw-dev mailing list