Skip to content

Commit

Permalink
Remove spring-cloud-build dependency; add spring-boot BOM explicitly (G…
Browse files Browse the repository at this point in the history
…oogleCloudPlatform#804)

Remove spring-cloud-build dependency; add spring-boot BOM explicitly
  • Loading branch information
kateryna216 authored and GitHub committed Dec 16, 2021
1 parent 2e1dae4 commit c2db792
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
<skipTests>false</skipTests>
<spring-cloud-build.version>3.0.4</spring-cloud-build.version>
<spring-cloud-dependencies.version>2020.0.4</spring-cloud-dependencies.version>
<spring-boot-dependencies.version>2.5.7</spring-boot-dependencies.version>
<spring-javaformat-checkstyle.version>0.0.29</spring-javaformat-checkstyle.version>
<zipkin-gcp.version>1.0.2</zipkin-gcp.version>
<spring-native.version>0.10.5</spring-native.version>
Expand All @@ -80,9 +81,9 @@
</dependency>

<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build-dependencies</artifactId>
<version>${spring-cloud-build.version}</version>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot-dependencies.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -171,7 +172,6 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<!-- Needed to run JUnit4 tests while inheriting from spring-cloud-build parent pom -->
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
public class SecretManagerPropertySourceIntegrationTests {

private ConfigurableApplicationContext context =
new SpringApplicationBuilder(TestConfiguration.class)
new SpringApplicationBuilder(SecretManagerTestConfiguration.class, TestConfiguration.class)
.web(WebApplicationType.NONE)
.properties("spring.cloud.bootstrap.enabled=true")
.run();
Expand Down

0 comments on commit c2db792

Please sign in to comment.