57 lines
2.0 KiB
XML
57 lines
2.0 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|||
|
<parent>
|
|||
|
<artifactId>SpringBoot2</artifactId>
|
|||
|
<groupId>zz</groupId>
|
|||
|
<version>0.0.1-SNAPSHOT</version>
|
|||
|
</parent>
|
|||
|
<modelVersion>4.0.0</modelVersion>
|
|||
|
|
|||
|
<artifactId>SpringBootLombok</artifactId>
|
|||
|
|
|||
|
|
|||
|
<!-- Add typical dependencies for a web application -->
|
|||
|
<dependencies>
|
|||
|
<dependency>
|
|||
|
<groupId>org.springframework.boot</groupId>
|
|||
|
<artifactId>spring-boot-starter-web</artifactId>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!--目的:《可选》引入springboot 热启动,每次修改以后,会自动把改动加载,不需要重启服务了-->
|
|||
|
<dependency> <groupId>org.springframework.boot</groupId>
|
|||
|
<artifactId>spring-boot-devtools</artifactId>
|
|||
|
<optional>true</optional>
|
|||
|
</dependency>
|
|||
|
|
|||
|
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
|
|||
|
<dependency>
|
|||
|
<groupId>mysql</groupId>
|
|||
|
<artifactId>mysql-connector-java</artifactId>
|
|||
|
<version>8.0.15</version>
|
|||
|
</dependency>
|
|||
|
<dependency>
|
|||
|
<groupId>org.projectlombok</groupId>
|
|||
|
<artifactId>lombok</artifactId>
|
|||
|
<version>1.18.6</version>
|
|||
|
<scope>provided</scope>
|
|||
|
</dependency>
|
|||
|
</dependencies>
|
|||
|
|
|||
|
<repositories>
|
|||
|
<repository>
|
|||
|
<id>alimaven</id>
|
|||
|
<name>aliyun maven</name>
|
|||
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|||
|
</repository>
|
|||
|
</repositories>
|
|||
|
<build>
|
|||
|
<plugins>
|
|||
|
<plugin>
|
|||
|
<groupId>org.springframework.boot</groupId>
|
|||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|||
|
</plugin>
|
|||
|
</plugins>
|
|||
|
</build>
|
|||
|
</project>
|