[Jigsaw] Get involved and stay informed about Maven and JDK9 Jigsaw

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Jigsaw] Get involved and stay informed about Maven and JDK9 Jigsaw


the Apache Maven team has decided to introduce a new subject prefix for  
the maven-dev mailinglist[1].
Messages prefixed with [Jigsaw] will be used to share information about  
Mavens progress on adopting JDK9 Jigsaw.

Current status: I've been able to package the current codebase of Maven  
(core), package all our maven-plugins and run all their integration tests  
successfully with the following changes:

- Use at least jdk9-b83 due to a classloading issue reported by us and  
solved together with Stuart McCulloch.
- When using org.codehaus.plexus:plexus-component-metadata, use  

This looks very promising, though there's still a small chance we've  
missed a specific jigsaw change which wasn't covered by an  

Next step is to be able to compile with module-info.
There's a jigsaw-ea branch of the plexus-compiler[4] which you can fork  
and test.
The specs of -modulepath doesn't allow a direct reference to jars yet  
(we've reported JDK-8144665[5]) so the jars are still copied to a separate  
I've started adding module-info files to a local fork of the Maven  
project, but I'm blocked by JDK-8144879[6]

We have good contact with Oracle. Buildtools like Maven are very important  
to adopt these changes. The concepts are there, and there's still room for  
discussion on the details (like [5]).
With the jigsaw-ea releases and the mentioned adjustments on your project  
configuration you can start testing and share your feedback.


ps. Also check the maven-jdeps-plugin[6]

[1] http://maven.apache.org/mail-lists.html
[3] http://hg.openjdk.java.net/jigsaw/jake/langtools/rev/948a1770620e
[4] https://github.com/codehaus-plexus/plexus-compiler/tree/jigsaw-ea
[5] https://bugs.openjdk.java.net/browse/JDK-8144665
[6] https://bugs.openjdk.java.net/browse/JDK-8144879