Spring

Build with Spring on Ubuntu

Simplify app development
with Canonical’s automation for Spring

Harness the features of Spring Boot and move seamlessly from development to deployment. Set up, maintain and publish Spring artefacts with ease through Canonical’s Devpack for Spring. Go further with Spring Boot extensions that empower you to create production-grade containers and Kubernetes operators for your Spring applications. All within the Ubuntu ecosystem.


A smooth dev environment setup process

Devpacks are snaps with collections of tools that assist in setting up, maintaining, and publishing software projects.

The devpack for Spring packages Spring CLI and brings it to Ubuntu.

In addition to the upstream functionality, devpack for Spring offers the following additional features:

  • Offline installation of Spring project libraries

    Work at pace and reduce your initial build time. Work with a consistent set of dependencies and simplify the set up of offline builds.
  • Pre-configured plugins for Maven and Gradle

    Benefit from a consistent set of defaults across the organisation for source code formatting, static analysis and other best practices and policies.
  • Reduced project boilerplate

    With less boilerplate code, you can minimize repetitive and time-consuming tasks and carry out central upgrades of defaults without updating every project.

Build production grade containers for your Spring applications

Thanks to the Spring Boot extension for Rockcraft, in just one command you can build Rocks, which are production-grade OCI containers for your application.


Ideal for production environments

Rocks are production-grade by design. Rockcraft enables you to build dependable, secure, and stable container images for various deployment scenarios, especially within Kubernetes.


No knowledge of image building required

Rockcraft handles all the boilerplate steps involved in creating production-grade container images. This allows developers to focus on the actual content and logic of their applications.


Built on Ubuntu

Rocks leverage the stability, security, and predictable release cadence of Ubuntu, along with its extensive package ecosystem.


Opinionated and consistent design

Rocks follow the same design, aiming to minimise your full-stack disparity and adoption overhead. Pebble is the official entry point, providing a predictable and powerful abstraction between users and the container application.


Create a Kubernetes operator
for your spring applications

Using the Charmcraft Spring plugin, you can package your Spring Boot application as a charm in a single command. Charms are universal software operators for lifecycle management, and through the Spring plugin, you can unlock the benefits of the entire charm ecosystem.

This enables connections to services like HA Postgres databases, monitoring through Grafana, and easy integration with ingress, among other features.

  • Full application lifecycle management

    Charms operate across all aspects of application lifecycle management, with an emphasis on day 2 operations.
  • Support for all Kubernetes distributions

    Your app can be deployed and orchestrated on all major on prem and cloud Kubernetes distributions.
  • Benefit from Canonical’s charm ecosystem

    Every charm benefits from a set of prebuilt integrations including databases, observability, ingress, authentication and much more.

Receive up to 12 years of security patching and maintenance

security patching

Extend the security support period for your builds to up to 12 years, through Ubuntu Pro – Canonical’s comprehensive subscription for open source security.

Give developers the freedom to focus on making impactful applications that deliver for customers with expanded security maintenance for the latest OpenJDK LTS releases running until 2034.