You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
3.1 KiB
83 lines
3.1 KiB
<?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"> |
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
<groupId>cn.kevinlu98</groupId> |
|
<artifactId>blog-project</artifactId> |
|
<version>1.0-SNAPSHOT</version> |
|
|
|
<parent> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-parent</artifactId> |
|
<version>2.3.7.RELEASE</version> |
|
</parent> |
|
|
|
<properties> |
|
<maven.compiler.source>8</maven.compiler.source> |
|
<maven.compiler.target>8</maven.compiler.target> |
|
<maven.compiler.plugin.version>3.8.1</maven.compiler.plugin.version> |
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
<mysql-connector-java.version>8.0.30</mysql-connector-java.version> |
|
<lombok.version>1.18.24</lombok.version> |
|
</properties> |
|
|
|
<dependencies> |
|
<!-- 上边引入 parent,因此 下边无需指定版本 --> |
|
<!-- 包含 mvc,aop 等jar资源 --> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-web</artifactId> |
|
</dependency> |
|
<!--thymeleaf模版引擎--> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-thymeleaf</artifactId> |
|
</dependency> |
|
|
|
<!-- springboot测试 --> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-test</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
<!--springbootjpa的依赖--> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-data-jpa</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>mysql</groupId> |
|
<artifactId>mysql-connector-java</artifactId> |
|
<version>${mysql-connector-java.version}</version> |
|
</dependency> |
|
<!--lombok--> |
|
<dependency> |
|
<groupId>org.projectlombok</groupId> |
|
<artifactId>lombok</artifactId> |
|
<version>${lombok.version}</version> |
|
<scope>provided</scope> |
|
</dependency> |
|
</dependencies> |
|
|
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<version>${maven.compiler.plugin.version}</version> |
|
<configuration> |
|
<source>${maven.compiler.source}</source> |
|
<target>${maven.compiler.target}</target> |
|
<encoding>${project.build.sourceEncoding}</encoding> |
|
</configuration> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
</project> |