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

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.

主站蜘蛛池模板: 盐亭县| 波密县| 莱芜市| 杭锦后旗| 句容市| 会昌县| 张家港市| 城固县| 吉隆县| 和政县| 新疆| 瓦房店市| 桦南县| 南和县| 墨脱县| 松溪县| 贵南县| 安吉县| 沁源县| 衡山县| 昌江| 顺昌县| 屏山县| 灯塔市| 来凤县| 子洲县| 会昌县| 扬州市| 铜陵市| 怀集县| 吴旗县| 平定县| 中阳县| 玉山县| 获嘉县| 沂水县| 昆山市| 将乐县| 襄樊市| 荆州市| 临朐县|