The compatibility support between build automation tools (Maven, Gradle, etc) and Spring Boot applications.
search cancel

The compatibility support between build automation tools (Maven, Gradle, etc) and Spring Boot applications.

book

Article ID: 428565

calendar_today

Updated On:

Products

VMware Tanzu Platform Spring

Issue/Introduction

Using an unsupported build tool version would cause errors when building the applications. 

It is required and necessary to validate the compatibility support before building an application using a specific build tool version.

Resolution

This documentation will take Maven and Gradle as examples as they are relatively popular build tools for Spring Boot applications.

 

Compatibility table between build tools and Spring Boot 3:

Build Tool Version
Maven 3.6.3 or later
Gradle Gradle 7.x (7.6.4 or later) or 8.x (8.4 or later)

 

Compatibility table between build tools and Spring Boot 4:

Build Tool Version
Maven 3.6.3 or later
Gradle Gradle 8.x (8.14 or later) and 9.x

 

Java compatibility with Gradle (Part of the full table):

Java Version Support for toolchains Support for running Gradle
21 8.4 8.5 and later
22 8.7 8.8 and later
23 8.10 8.10 and later
24 8.14 8.14 and later
25 9.1.0 9.1.0 and later

 

Java compatibility with Maven (Part of the full table):

Maven Release Version Required Java Version
4.0.0-alpha-13 and later (not yet GA) Java 17
Versions prior to 4.0.0-alpha-13 (not yet GA) Java 8
Maven 3.9.x Java 8

 

Please also be noticed that Broadcom Tanzu support team does not officially support Maven or Gradle. Please contact Maven or Gradle team directly for support. 

Refer to Scope of Support - Tanzu Spring & OSS Projects to understand the scope of Tanzu support for Spring products.