-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java Modules v1.3.x #204
Comments
It sounds useful. What do we need to do in this space? |
For more information about how to determine what module name to use please refer to this site http://blog.joda.org/2017/04/java-se-9-jpms-module-naming.html |
@sf105 got delayed but finally got time to get a 1.3.1 proposed release. https://github.com/nhojpatrick/JavaHamcrest/tree/bugfix/204_1.3.x_jpms All it does it add a Automatic-Module-Name into the MANIFEST.MF. This is purely so those depending upon hamcrest don't need to use jar name generated module names. i.e. hamcrest-alpha-bravo-1.2.3.jar would become module name hamcrest.alpha.bravo The current BUILDING.TXT talks about Java 1.5 and Ant 1.6. The oldest Java I've got access to is Java 1.7.0_80 and I downloaded Ant 1.6.5. But the tests with the following but I couldn't work out how to fix that quickly.
Don't merge this branch into master, I would create hamcrest-java-1.3.1 branch and tag, the do If you happy with the proposed module names and format, I'll start looking into sorting out similar for master branch. |
The building.txt is out of date as we moved to Groovy (see another issue about moving back to maven). I start working on updating it to a more recent version that actually support uploading to maven central, but lost steam in the process. |
I've made you a committer if you want to start work on this. |
found this looking at a problem which just turned out to be a wrong requires name... does this still need to be open? looks like this is all in Manifest.MF now. It would be useful to have it in a real module-info.java for jlink if you're depending on java 11+ now (I think that it can also be put into a note: it's |
Thanks for the prompt @xenoterracide. This is a redundant issue, as it was addressed in a different issue and PR (see #185 and #186). I'm closing this issue now, although we may revisit this in future as we start to natively support more recent versions of Java |
Hamcrest future
Java modules was massive change, rolling out a patch on 1.3 which supports modules I feel would be useful for downstream projects that build upon, use or incorporate hamcrest into their libraries.
I'm specifically talking about "Automatic-Module-Name" being added into the MANIFEST.MF.
The text was updated successfully, but these errors were encountered: