Maven配置笔记Maven两种实现方式1. 使用parent,项目继承至 spring-boot-starter-parent,覆盖parent项目中的版本等信息配置,使用properties
4.0.0
com.example
myproject
0.0.1-SNAPSHOT
org.springframework.boot
spring-boot-starter-parent
1.4.2.RELEASE
Fowler-SR2
使用dependencyManagement
org.springframework.data
spring-data-releasetrain
Fowler-SR2
import
pom
org.springframework.boot
spring-boot-dependencies
1.4.2.RELEASE
pom
import
使用Spring-boot的maven插件
org.springframework.boot
spring-boot-maven-plugin
开发第一个spring-boot应用
参考官方例子Developing your first Spring Boot application