76 lines
2.4 KiB
XML
76 lines
2.4 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<parent>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-parent</artifactId>
|
||
<version>3.5.14</version>
|
||
<relativePath/> <!-- lookup parent from repository -->
|
||
</parent>
|
||
<!--Maven坐标:当前工程的描述-->
|
||
<groupId>com.inmind</groupId>
|
||
<artifactId>springboot-mybatis-quickstart</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
|
||
<name>springboot-mybatis-quickstart</name>
|
||
<description>springboot-mybatis-quickstart</description>
|
||
<url/>
|
||
<licenses>
|
||
<license/>
|
||
</licenses>
|
||
<developers>
|
||
<developer/>
|
||
</developers>
|
||
<scm>
|
||
<connection/>
|
||
<developerConnection/>
|
||
<tag/>
|
||
<url/>
|
||
</scm>
|
||
<!--统一属性定义-->
|
||
<properties>
|
||
<java.version>17</java.version>
|
||
</properties>
|
||
|
||
<!--依赖管理-->
|
||
<dependencies>
|
||
<!--mybatis框架起步依赖-->
|
||
<dependency>
|
||
<groupId>org.mybatis.spring.boot</groupId>
|
||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||
<version>3.0.5</version>
|
||
</dependency>
|
||
<!--mysql驱动依赖-->
|
||
<dependency>
|
||
<groupId>com.mysql</groupId>
|
||
<artifactId>mysql-connector-j</artifactId>
|
||
<scope>runtime</scope>
|
||
</dependency>
|
||
<!--单元测试依赖-->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<!--mybatis测试起步依赖-->
|
||
<dependency>
|
||
<groupId>org.mybatis.spring.boot</groupId>
|
||
<artifactId>mybatis-spring-boot-starter-test</artifactId>
|
||
<version>3.0.5</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<!--maven插件-->
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project>
|