A new Maven plugin called JDeps Maven Plugin (v0.1) has been released to help Java projects prepare for Java 9 compatibility. The plugin runs `jdeps -jdkinternals` against compiled classes and breaks the build if any dependencies on JDK-internal APIs are found, such as `sun.misc.Unsafe` or `sun.misc.BASE64Decoder`. Configuration requires only a simple pom.xml snippet and the plugin runs during the verify phase. A roadmap item includes adding the ability to ignore known/existing internal dependencies so teams can incrementally clean up violations.

3m read timeFrom nipafx.dev
Post cover image
Table of contents
▚ JDeps▚ JDeps Maven Plugin▚ Existing Plugins

Sort: