Closed midovlvn closed 1 year ago
Describe the bug Maven:
<artifactId>spring-boot-starter-parent</artifactId> <version>3.1.0</version> <dependencyManagement> <artifactId>spring-cloud-dependencies</artifactId> <version>2022.0.3</version>
[INFO] --- maven-dependency-plugin:3.5.0:tree (default-cli) @ delete-me-soon --- [INFO] com.example:delete-me-soon:jar:0.0.1-SNAPSHOT [INFO] - org.springframework.boot:spring-boot-starter-test:jar:3.1.0:test [INFO] +- org.mockito:mockito-core:jar:4.8.1:test
Expected: 5.3.1 Sample
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.1.0</version> <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>com.example</groupId> <artifactId>delete-me-soon</artifactId> <version>0.0.1-SNAPSHOT</version> <name>delete-me-soon</name> <description>delete-me-soon</description> <properties> <java.version>17</java.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>2022.0.3</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> </project>
Duplicates https://github.com/spring-cloud/spring-cloud-kubernetes/issues/1355
Describe the bug Maven:
Expected: 5.3.1 Sample