JReleaser 1.5.1 has been released!

JReleaser v1.5.1 has just been released! The full list of issues can be found at the v1.5.1 milestone. This is a patch release that only includes bug fixes, mainly affecting assemblers, the Docker packager, and SINGLE_JAR distributions. Special thanks go to Benjamin Marwell (🐦@bmarwell, 🐘@bmarwell) and Christian Stein (🐦@sormuras, 🐘@sormuras) for filing bugs and advice to get JReleaser up to speed with Java modules.

Java Modules

It all started with a simple question from Benjamin: does the java-archive assembler support creating launchers for modular Java applications? I thought it did. We had a look at the sources and well, something was amiss. We went back and forth with changes until we were happy with the results. Of course, java-archive is not the only assembler supported by JReleaser thus a thorough review of each was done and updates were made where applicable. The end result should be a much better experience with both modular and non-modular applications.

Additionally, all Java examples have been updated to showcase configuration for packaging and running in the classpath and modulepath.

Single JAR

Continuing with the Java modules review, it turns out that all packagers that support the SINGLE_JAR distribution did not handle modular JARs at all! This oversight has been corrected.

Assemblers

One more thing missing from JReleaser's assemblers was the ability to specify longFileMode and bigNumberMode when creating TAR archives. All assemblers have gained that capability as well as specifying a given timestamp for all entries, in case you'd like to generate reproducible archives.

Docker

Support for building multi-arch container images via buildx was recently added yet we missed a few things. This release patches all issues reported in this area.

As always, feedback is welcomed, feel free to file a ticket or start a discussion topic.

Keep on coding!

Photo by Dmitry Demidov from Pexels

Liked it? Take a second to support aalmiray on Patreon!
Become a patron at Patreon!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

ˆ Back To Top