Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lighty-core/lighty-controller-spring-di/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.5.10</version>
<version>3.5.11</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.5.10</version>
<version>3.5.11</version>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The spring-boot version is also updated in lighty-core/lighty-controller-spring-di/pom.xml. To avoid having to update the version in multiple places for future upgrades, it's a good practice to define the version as a property in a common parent pom.xml and reference it in both modules.

For example, in a shared parent pom.xml:

<properties>
    <spring-boot.version>3.5.11</spring-boot.version>
</properties>

Then, you can use ${spring-boot.version} in this file and in lighty-core/lighty-controller-spring-di/pom.xml. This will make future dependency updates easier and less error-prone.

<relativePath/> <!-- lookup parent from repository -->
</parent>

Expand Down
Loading