<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.6.RELEASE</version>
</parent>
spring-boot-starter-parent是springboo的父项目
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.0.6.RELEASE</version>
</parent>
这是spring-boot-starter-parent的父项目,其作用是管理版本。
plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
这是一个maven插件,其作用是在打jar包的时候生成,在jar包中生成依赖文件,不需要部署额外的容器,打完的jar包可以直接运行
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
spring-boot-starter 场景启动器,springboot将依赖组件做成一个个场景,web表示web模块的依赖组件