Apache Maven JDeps Plugin
Robert Scholte
rfscholte at apache.org
Sat Feb 14 15:32:23 UTC 2015
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.
thanks,
Robert Scholte
ps. Quite a lot of users relate the plugin version to the Maven version.
For that reason the maven-jdeps-plugin version starts with 3.0, indicating
you need to use at least Maven-3.
ps2. Documentation already refers to Apache Maven 3.2.6, even though it is
not released yet. Chances are that Maven 3.2.6 will be released before
Maven JDeps Plugin 3.0
More information about the jigsaw-dev
mailing list