Skip to content

Commit db29f6c

Browse files
committed
fix > issue #19
1 parent 9b715b5 commit db29f6c

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

pom.xml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,14 @@
1111

1212
<properties>
1313
<java.version>1.7</java.version>
14-
<spring.boot.version>1.5.4.RELEASE</spring.boot.version>
1514
</properties>
1615

17-
<dependencyManagement>
18-
<dependencies>
19-
<dependency>
20-
<groupId>org.springframework.boot</groupId>
21-
<artifactId>spring-boot-dependencies</artifactId>
22-
<version>${spring.boot.version}</version>
23-
<type>pom</type>
24-
<scope>import</scope>
25-
</dependency>
26-
</dependencies>
27-
</dependencyManagement>
16+
<!-- Inherit defaults from Spring Boot -->
17+
<parent>
18+
<groupId>org.springframework.boot</groupId>
19+
<artifactId>spring-boot-starter-parent</artifactId>
20+
<version>1.5.4.RELEASE</version>
21+
</parent>
2822

2923
<dependencies>
3024
<!--Spring Boot依赖-->
@@ -115,7 +109,6 @@
115109
<plugin>
116110
<groupId>org.springframework.boot</groupId>
117111
<artifactId>spring-boot-maven-plugin</artifactId>
118-
<version>${spring.boot.version}</version>
119112
</plugin>
120113
<plugin>
121114
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)