Foojay Today

JReleaser 0.10.0 Released!

January 04, 2022

JReleaser is a tool that streamlines creating releases for [Java] projects.

It can create a GitHub/GitLab/Gitea release, while also packaging binaries for Homebrew, Snapcraft, Docker, Chocolatey, Scoop, JBang and, more than that, announces releases to Twitter, SdkMan!, e-mail, Zulip, Discord, Gitter, Slack, Teams, and more.

JReleaser v0.10.0 is the last push towards 1.0.0. We'll concentrate on bug fixing and polishing from now on. Be mindful of the breaking changes introduced in this release.

There are plenty of improvements in several areas, a quick summary of the highlights follows:

  • JPackage. The jpackage tool can now be used to assemble distributions of type NATIVE_PACKAGE. You have the choice to reuse an existing jlink assembler or supply a runtime image created by any other means.
  • Archive extensions. Additional archive extensions are now supported, such as .tar.xz, .txz, tar.bz2, .tbz2. Additionally, both jlink and nativeImage assemblers now let you specify the archive format to use, with .zip as by default.
  • Platform replacements. JReleaser defines a fixed set of platform values (such as osx-x86_64 or linux-aarch_64) which are used to identify platform specific artifacts. These values are often times added to artifact names. Sometimes you'd like to use a different value such as mac-arm64 or linux-amd64. You can use platform replacements to achieve this goal.
  • Artifactory. JFrog's Artifactory supports multiple types of repositories such as generic, rpm, deb, nuget, and more. Previously you could only configure a single generic repository, now you can configure multiple repositories of any type as needed.
  • Gofish. The GoFish package manager joins the set of support packagers. You can use it with distributions of type BINARY, JAVA_BINARY, JLINK, and NATIVE_IMAGE.
  • Expanded Packager Support. Chocolatey, Macports, and Spec can now be used with additional distribution types, bringing the total set to BINARY, JAVA_BINARY, JLINK, and NATIVE_IMAGE.
  • JsonSchema. The CLI offers a new command that generates a json-schema file, useful for validating JSON, YAML, and TOML config files.

Full changelog can be found at the v0.10.0 release page.

More information about the tool can be found at https://jreleaser.org.

Topics:

Author(s)

  • Gerrit Grunwald

    JUG Leader, Java Champion, Speaker, Author, ❤️ Java(FX) and coding in general

Comments (1)

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

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Save my name, email, and website in this browser for the next time I comment.

Java News Roundup: JDK 18, JDK 19, Groovy DSL for Spring Integration, JHipster, Micronaut Foundation

[…] 0.10.0 has been released to include: improvement in the JPackage tool to assemble distributions of the Native Package type; […]

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard