JReleaser
Project
Repository Issue Tracker
Contributing

JReleaser

    • Install
    • Quick Start
      • cli Command Line
      • maven Apache Maven
      • gradle Gradle
      • ant Apache Ant
    • Concepts
      • Workflow
      • Distributions
        • Binary
        • Flat Binary
        • Java Binary
        • Jlink
        • Native Image
        • Native Package
        • Single JAR
      • Artifacts, Globs, FileSets
      • Templates
        • Template Basics
        • Mustache Primer
    • Examples
      • JReleaser’s Release
      • Java
        • Helloworld in Java (JAVA_BINARY)
        • Helloworld in Java (SINGLE_JAR)
        • Helloworld in Java (JLINK)
        • Helloworld in Java (NATIVE_PACKAGE)
        • Helloworld in Java (BINARY GraalVM)
      • JLink
        • Cross Platform Jlink
        • Quarkus CLI Application
      • Native Image
        • Quarkus CLI Application
        • Spring Boot CLI Application
        • Micronaut CLI Application
      • Maven
        • Staging Artifacts
        • Publishing to Maven Central
      • Miscellaneous
        • Simple Release
        • AutoConfig Release
        • Helloworld in Ballerina
        • Helloworld in CPP
        • Helloworld in C# (Cross Platform)
        • Helloworld in Elixir
        • Helloworld in Haskell
        • Helloworld in Perl
        • Helloworld in Rust (Cross Platform)
    • Continuous Integration
      • Azure Pipelines
      • Buddy
      • Buildkite
      • Circle CI
      • Cirrus CI
      • Codefresh
      • CodeShip
      • Dagger
      • Drone
      • GitHub Actions
      • GitLab CI
      • Jenkins
      • Semaphore
      • TeamCity
      • Travis CI
      • Wercker
      • Woodpecker
    • Extensions
      • Authoring Extensions
      • Extension Points
        • MustacheExtensionPoint
        • WorkflowListener
      • Extensions
        • jreleaser-jfr
    • Tools
      • JReleaser CLI
      • JReleaser Maven Plugin
      • JReleaser Gradle Plugin
      • JReleaser Ant Tasks
      • JReleaser Tool Provider
      • JReleaser Docker Images
      • JDKs Maven Plugin
      • JDKs Gradle Plugin
    • Reference
      • Announce
        • Article
        • Discord
        • Discourse
        • GitHub Discussions
        • Gitter
        • GoogleChat
        • Linkedin
        • Http
        • Mail
        • Mastodon
        • Mattermost
        • Sdkman
        • Slack
        • Smtp
        • Teams
        • Telegram
        • Twitter
        • Webhooks
        • Zulip
      • Assemble
        • Archive
        • Java Archive
        • Jlink
        • Jpackage
        • Native Image
      • Catalog
        • Sbom
          • Syft
      • Checksum
      • Deploy
        • Maven
          • Artifactory
          • Azure
          • Gitea
          • Github
          • Gitlab
          • Nexus2
      • Distributions
      • Download
        • Ftp
        • Http
        • Scp
        • Sftp
      • Environment
      • Extensions
      • Files
      • Hooks
        • Command Hooks
      • Name Templates
      • Packagers
        • AppImage
        • Asdf
        • Chocolatey
        • Docker
        • Flatpak
        • Gofish
        • Homebrew
        • JBang
        • Macports
        • Scoop
        • Sdkman
        • Snap
        • Spec
        • Winget
      • Platform
      • Project
      • Release
        • Codeberg
        • Generic
        • Gitea
        • GitHub
        • GitLab
        • Changelog
      • Signing
      • Upload
        • Artifactory
        • Ftp
        • Gitea
        • GitLab
        • Http
        • AWS S3
        • Scp
        • Sftp
    • Integrations
    • Provenance
    • Checklist
    • FAQ
    • Sponsors
    • Contributing
    • Schema
    • Release History
    • Links
JReleaser latest
  • JReleaser
    • latest
    • early-access
  • JReleaser
  • Examples
  • Native Image
  • Spring Boot CLI Application
latest early-access
Edit this Page

Spring Boot CLI Application

The https://github.com/aalmiray/sb-cli repository defines the minimum configuration required for:

  • Implementing a trivial CLI application with Spring Boot.

  • Packaging the application as a native executable using GraalVM Native Image.

  • Creating a Native Image distribution with the maven-assembly-plugin and os-maven-plugin plugins.

  • Generating executables for Linux, OSX, and Windows using GitHub Actions.

  • Posting releases with the JReleaser Maven Plugin.

Copyright (C) 2021-2022 Andres Almiray. This page was built using an adapted version of the Antora default UI.

The source code for this UI is licensed under the Mozilla Public License Version 2.0 (MPL-2.0).