海外活动管理项目后端项目
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
2.8 KiB

9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.lottery</groupId>
  8. <artifactId>lottery-system</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>lottery-service</artifactId>
  12. <dependencies>
  13. <!-- Spring Boot 基础依赖 -->
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-web</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>com.lottery</groupId>
  20. <artifactId>lottery-pojo</artifactId>
  21. <version>1.0-SNAPSHOT</version>
  22. <scope>compile</scope>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-websocket</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.apache.commons</groupId>
  30. <artifactId>commons-pool2</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-data-redis</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.lottery</groupId>
  38. <artifactId>lottery-common</artifactId>
  39. <version>1.0-SNAPSHOT</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>javax.validation</groupId>
  43. <artifactId>validation-api</artifactId>
  44. <version>2.0.1.Final</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-data-jpa</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-validation</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.alibaba</groupId>
  56. <artifactId>easyexcel</artifactId>
  57. <version>3.1.3</version> <!-- 建议使用最新版本 -->
  58. </dependency>
  59. </dependencies>
  60. <!-- 构建配置(修正位置) -->
  61. <build>
  62. <plugins>
  63. <plugin>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-maven-plugin</artifactId>
  66. <!-- 不需要指定版本,继承自父 POM -->
  67. <configuration>
  68. <mainClass>com.lottery.LotteryApplication</mainClass> <!-- 指定主类 -->
  69. </configuration>
  70. </plugin>
  71. </plugins>
  72. </build>
  73. </project>