|
|
@ -11,12 +11,12 @@ |
|
|
|
|
|
|
|
<artifactId>lottery-service</artifactId> |
|
|
|
|
|
|
|
<properties> |
|
|
|
<maven.compiler.source>11</maven.compiler.source> |
|
|
|
<maven.compiler.target>11</maven.compiler.target> |
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
|
|
</properties> |
|
|
|
<dependencies> |
|
|
|
<!-- Spring Boot 基础依赖 --> |
|
|
|
<dependency> |
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
<artifactId>spring-boot-starter-web</artifactId> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>com.lottery</groupId> |
|
|
|
<artifactId>lottery-pojo</artifactId> |
|
|
@ -29,25 +29,24 @@ |
|
|
|
<artifactId>lottery-common</artifactId> |
|
|
|
<version>1.0-SNAPSHOT</version> |
|
|
|
</dependency> |
|
|
|
|
|
|
|
<!-- <dependency>--> |
|
|
|
<!-- <groupId>org.apache.poi</groupId>--> |
|
|
|
<!-- <artifactId>poi</artifactId>--> |
|
|
|
<!-- <version>5.2.3</version>--> |
|
|
|
<!-- </dependency>--> |
|
|
|
<!-- <dependency>--> |
|
|
|
<!-- <groupId>org.apache.poi</groupId>--> |
|
|
|
<!-- <artifactId>poi-ooxml</artifactId>--> |
|
|
|
<!-- <version>5.2.3</version>--> |
|
|
|
<!-- </dependency>--> |
|
|
|
<dependency> |
|
|
|
<groupId>com.alibaba</groupId> |
|
|
|
<artifactId>easyexcel</artifactId> |
|
|
|
<version>3.1.3</version> <!-- 建议使用最新版本 --> |
|
|
|
</dependency> |
|
|
|
|
|
|
|
|
|
|
|
</dependencies> |
|
|
|
|
|
|
|
<!-- 构建配置(修正位置) --> |
|
|
|
<build> |
|
|
|
<plugins> |
|
|
|
<plugin> |
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
|
|
<!-- 不需要指定版本,继承自父 POM --> |
|
|
|
<configuration> |
|
|
|
<mainClass>com.lottery.LotteryApplication</mainClass> <!-- 指定主类 --> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
</plugins> |
|
|
|
</build> |
|
|
|
|
|
|
|
</project> |