tesshucom / jpsonic

This is a repository for development. See https://github.com/jpsonic/jpsonic
GNU General Public License v3.0
13 stars 13 forks source link

Improve lib configuration management #2631

Closed tesshucom closed 2 months ago

tesshucom commented 2 months ago

Overview

The pom configuration will change to make library configuration management easier.

Details

We mainly use three versions-maven-plugin commands.

However, display-dependency-updates displays all transitive dependencies, so the burden of using it is very heavy. display-property-updates only shows dependencies whose properties are explicitly managed.

Therefore, property management will be promoted more. The configuration is modified to avoid transitive dependency checks.

About Version Properties

They are managed in the parent pom.xml that exists in Jpsonic's Base directory. These include the Libs that Jpsonic directly depends on, and some of the Libs that are transitively dependent on.

Some Libs that are transitively dependent specifically mean overriding Spring Boot Dependencies. If we want to detect and address security flaws in 3rd-pirty-lib before the Spring release, we will obviously need to override them. (However, products with high security risks are relatively limited.)

Additional Note

This pull request will update the plugin and dependent library versions to the latest. As of v114.1, the work on vulnerabilities has already reached a certain level of completion. Starting with v114.2, there will be even more extensive freshness control.