-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
To improve maintainability and ensure consistent versions for related dependencies, it's a good practice to define the version as a property and reference it. This is particularly useful for Spring Boot modules.
First, add a property for the Spring Boot version in the <properties>
section:
<properties>
...
<spring.boot.version>3.2.0</spring.boot.version>
</properties>
Then, use this property for your Spring Boot dependencies.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<version>${spring.boot.version}</version>
</dependency>
Originally posted by @gemini-code-assist in #86 (comment)
Metadata
Metadata
Assignees
Labels
No labels