Skip to content

Commit cf56156

Browse files
committed
fix custom starter setup
1 parent 6319eb8 commit cf56156

1 file changed

Lines changed: 32 additions & 2 deletions

File tree

  • spring-boot-custom-starter/greeter-spring-boot-sample-app

‎spring-boot-custom-starter/greeter-spring-boot-sample-app/pom.xml‎

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,51 @@
77
<version>0.0.1-SNAPSHOT</version>
88

99
<parent>
10-
<artifactId>parent-boot-1</artifactId>
10+
<artifactId>spring-boot-custom-starter</artifactId>
1111
<groupId>com.baeldung</groupId>
1212
<version>0.0.1-SNAPSHOT</version>
13-
<relativePath>../../parent-boot-1</relativePath>
13+
<relativePath>../../spring-boot-custom-starter</relativePath>
1414
</parent>
15+
16+
<dependencyManagement>
17+
<dependencies>
18+
<dependency>
19+
<groupId>org.springframework.boot</groupId>
20+
<artifactId>spring-boot-dependencies</artifactId>
21+
<version>${spring-boot.version}</version>
22+
<type>pom</type>
23+
<scope>import</scope>
24+
</dependency>
25+
</dependencies>
26+
</dependencyManagement>
1527

1628
<dependencies>
1729
<dependency>
1830
<groupId>com.baeldung</groupId>
1931
<artifactId>greeter-spring-boot-starter</artifactId>
2032
<version>${greeter-starter.version}</version>
2133
</dependency>
34+
<dependency>
35+
<groupId>org.springframework.boot</groupId>
36+
<artifactId>spring-boot-starter-test</artifactId>
37+
<scope>test</scope>
38+
</dependency>
2239
</dependencies>
40+
41+
<build>
42+
<pluginManagement>
43+
<plugins>
44+
<plugin>
45+
<groupId>org.springframework.boot</groupId>
46+
<artifactId>spring-boot-maven-plugin</artifactId>
47+
<version>${spring-boot.version}</version>
48+
</plugin>
49+
</plugins>
50+
</pluginManagement>
51+
</build>
2352

2453
<properties>
54+
<spring-boot.version>1.5.15.RELEASE</spring-boot.version>
2555
<greeter-starter.version>0.0.1-SNAPSHOT</greeter-starter.version>
2656
</properties>
2757

0 commit comments

Comments
 (0)