1 Star 0 Fork 0

张效伟啊 / SpringStudy

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
pom.xml 5.36 KB
Copy Edit Web IDE Raw Blame History
zhangxiaowei authored 2020-04-30 17:48 . test
<?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>2.2.6.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>TestServer</groupId>
<artifactId>springstudy</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>TestServer</name>
<description>Demo project for Spring Boot</description>
<properties>
<java.version>1.8</java.version>
<druid.version>1.1.9</druid.version>
<mybatis.boot.starter.version>2.1.2</mybatis.boot.starter.version>
<mysql.connector.java.version>8.0.11</mysql.connector.java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- 使用 tk.mybatis-->
<dependency>
<groupId>tk.mybatis</groupId>
<artifactId>mapper-spring-boot-starter</artifactId>
<version>2.1.5</version>
</dependency>
<!--数据库驱动-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.connector.java.version}</version>
</dependency>
<!--mybatis starter-->
<!-- <dependency>-->
<!-- <groupId>org.mybatis.spring.boot</groupId>-->
<!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
<!-- <version>${mybatis.boot.starter.version}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.alibaba</groupId>-->
<!-- <artifactId>druid</artifactId>-->
<!-- <version>${druid.version}</version>-->
<!-- </dependency>-->
<!--阿里数据库连接池-->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>${druid.version}</version>
</dependency>
<!-- &lt;!&ndash; 必备依赖,提供核心功能 &ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>tk.mybatis</groupId>-->
<!-- <artifactId>mapper-core</artifactId>-->
<!-- <version>${mapper-core.version}</version>-->
<!-- </dependency>-->
<!-- &lt;!&ndash; 如果需要通用 Mapper 自带的 Mapper 接口和系列方法,需要引入本依赖 &ndash;&gt;-->
<!-- &lt;!&ndash; 拆分 base 项目的目的在于以后可能会提供其他的方式来实现接口 &ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>tk.mybatis</groupId>-->
<!-- <artifactId>mapper-base</artifactId>-->
<!-- <version>${mapper-base.version}</version>-->
<!-- </dependency>-->
<!-- &lt;!&ndash; 针对开发人员的需要提供的一些额外的接口,都有特殊的使用要求 &ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>tk.mybatis</groupId>-->
<!-- <artifactId>mapper-extra</artifactId>-->
<!-- <version>${mapper-extra.version}</version>-->
<!-- </dependency>-->
<!-- &lt;!&ndash; 基于 Java8 方法引用的类 Example 对象 Weekend &ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>tk.mybatis</groupId>-->
<!-- <artifactId>mapper-weekend</artifactId>-->
<!-- <version>${mapper-weekend.version}</version>-->
<!-- </dependency>-->
<!-- &lt;!&ndash; 代码生成器 &ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>tk.mybatis</groupId>-->
<!-- <artifactId>mapper-generator</artifactId>-->
<!-- <version>${mapper-generator.version}</version>-->
<!-- </dependency>-->
<!-- &lt;!&ndash; Spring 集成必备 &ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>tk.mybatis</groupId>-->
<!-- <artifactId>mapper-spring</artifactId>-->
<!-- <version>${mapper-spring.version}</version>-->
<!-- </dependency>-->
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/tlu.zxw/SpringStudy.git
git@gitee.com:tlu.zxw/SpringStudy.git
tlu.zxw
SpringStudy
SpringStudy
master

Search