59 lines
2.1 KiB
XML
59 lines
2.1 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>SpringBootMybatis</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>
|
|||
|
|
|||
|
<!-- https://mvnrepository.com/artifact/org.mybatis.spring.boot/mybatis-spring-boot-starter -->
|
|||
|
<dependency>
|
|||
|
<groupId>org.mybatis.spring.boot</groupId>
|
|||
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|||
|
<version>1.3.1</version>
|
|||
|
</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>
|