官术网_书友最值得收藏!

Spring Boot Starter Parent POM

The Starter Parent POM defines key versions of dependencies and Maven plugins. It typically uses spring-boot-starter-parent as the parent in the pom.xml file:

<parent>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-parent</artifactId>
   <version>2.0.2.RELEASE</version>
   <relativePath/> <!-- lookup parent from repository -->
</parent> 

Spring Boot Starter Parent POM allows us to manage the following things for multiple child projects and modules:

  • Configuration: Java version and other properties
  • Dependency management: Version of dependencies
  • Default plugin configuration: This includes configurations such as build plugins

It is an easy way to bring in multiple coordinated dependencies including transitive dependencies.

Let's see the Spring Boot auto-configuration.

主站蜘蛛池模板: 新乡县| 讷河市| 黑龙江省| 莱阳市| 商洛市| 年辖:市辖区| 永济市| 当阳市| 广平县| 建平县| 乌拉特中旗| 衡阳县| 内江市| 光山县| 双鸭山市| 松滋市| 灵台县| 江山市| 武平县| 长乐市| 郧西县| 长乐市| 宜春市| 永丰县| 溧水县| 鄯善县| 南部县| 襄樊市| 建德市| 玛沁县| 上虞市| 林芝县| 昭平县| 安达市| 广汉市| 建平县| 龙里县| 浑源县| 扶余县| 防城港市| 凌海市|