Is it possible to provide an pom with spring boot version on maven central repository officially just like this ?
the new pom spring-boot-starter-parent-with-version
makes it easier and more accurate to access spring boot version while working with maven, and for gradle just use the origin pom spring-boot-starter-parent
.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>xxx</version>
<relativePath/>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent-with-version</artifactId>
<packaging>pom</packaging>
<version>xxx</version>
<properties>
<!-- since spring-boot-dependencies:2.3.4.RELEASE -->
<spring-boot.version>xxx</spring-boot.version>
</properties>
</project>
Comment From: bclozel
I'm sorry @vdisk-group but we'll have to decline this enhancement request. This information was there at some point but we removed it for good reasons (see #23174) so we're not likely to re-introduce it for the reasons stated in the linked issue.
Thanks!