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

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.

主站蜘蛛池模板: 溧水县| 慈利县| 博客| 蚌埠市| 阿坝| 巨野县| 和静县| 柳河县| 韩城市| 奉化市| 陕西省| 潢川县| 金平| 尚志市| 隆安县| 泾源县| 东丽区| 平定县| 灯塔市| 普兰店市| 望谟县| 吉隆县| 辽宁省| 辉南县| 乐东| 深水埗区| 商水县| 彰武县| 安塞县| 神木县| 金川县| 邵阳市| 郑州市| 庆城县| 哈巴河县| 平塘县| 南漳县| 临邑县| 屯留县| 修武县| 阿拉善盟|