2026年开年王炸项目"全球最懂机构行为的AI"
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.

152 lines
4.1 KiB

2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
2 months ago
1 month ago
2 months ago
1 month ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>3.2.5</version> <!-- 改为 3.2.5,更稳定 -->
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <!-- 修复 groupId:使用完整的包名 -->
  12. <groupId>com.deepchart</groupId>
  13. <artifactId>deepchart</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>deepchart</name>
  16. <description>全球最懂机构行为的AI</description>
  17. <packaging>jar</packaging>
  18. <properties>
  19. <java.version>17</java.version>
  20. <maven.compiler.source>17</maven.compiler.source>
  21. <maven.compiler.target>17</maven.compiler.target>
  22. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  23. </properties>
  24. <dependencies>
  25. <!-- Spring Boot Starters -->
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-data-jpa</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-validation</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-actuator</artifactId>
  41. </dependency>
  42. <!-- Database -->
  43. <dependency>
  44. <groupId>com.mysql</groupId>
  45. <artifactId>mysql-connector-j</artifactId>
  46. <scope>runtime</scope>
  47. </dependency>
  48. <!-- H2 Database for testing -->
  49. <dependency>
  50. <groupId>com.h2database</groupId>
  51. <artifactId>h2</artifactId>
  52. <scope>test</scope>
  53. </dependency>
  54. <!-- Lombok -->
  55. <dependency>
  56. <groupId>org.projectlombok</groupId>
  57. <artifactId>lombok</artifactId>
  58. <optional>true</optional>
  59. </dependency>
  60. <!-- Test -->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-test</artifactId>
  64. <scope>test</scope>
  65. </dependency>
  66. <!-- 修复 TestNG 依赖 -->
  67. <dependency>
  68. <groupId>org.testng</groupId>
  69. <artifactId>testng</artifactId>
  70. <version>7.8.0</version> <!-- 使用具体版本,不要用 RELEASE -->
  71. <scope>test</scope> <!-- 改为 test scope -->
  72. </dependency>
  73. <dependency>
  74. <groupId>com.alibaba</groupId>
  75. <artifactId>fastjson</artifactId>
  76. <version>2.0.43</version> <!-- 升级到 2.x 版本 -->
  77. </dependency>
  78. <dependency>
  79. <groupId>org.apache.httpcomponents</groupId>
  80. <artifactId>httpclient</artifactId>
  81. <version>4.5.14</version> <!-- 升级到最新稳定版 -->
  82. </dependency>
  83. <dependency>
  84. <groupId>cn.afterturn</groupId>
  85. <artifactId>easypoi-annotation</artifactId>
  86. <version>4.4.0</version> <!-- 升级到最新版 -->
  87. </dependency>
  88. <dependency>
  89. <groupId>commons-io</groupId>
  90. <artifactId>commons-io</artifactId>
  91. <version>2.15.1</version> <!-- 升级到最新版 -->
  92. </dependency>
  93. </dependencies>
  94. <build>
  95. <plugins>
  96. <plugin>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-maven-plugin</artifactId>
  99. <configuration>
  100. <excludes>
  101. <exclude>
  102. <groupId>org.projectlombok</groupId>
  103. <artifactId>lombok</artifactId>
  104. </exclude>
  105. </excludes>
  106. </configuration>
  107. </plugin>
  108. <!-- 添加编译插件确保 Java 17 兼容 -->
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-compiler-plugin</artifactId>
  112. <version>3.12.1</version>
  113. <configuration>
  114. <source>17</source>
  115. <target>17</target>
  116. <annotationProcessorPaths>
  117. <path>
  118. <groupId>org.projectlombok</groupId>
  119. <artifactId>lombok</artifactId>
  120. <version>1.18.30</version>
  121. </path>
  122. </annotationProcessorPaths>
  123. </configuration>
  124. <executions>
  125. <execution>
  126. <id>repackage</id>
  127. <goals>
  128. <goal>repackage</goal>
  129. </goals>
  130. </execution>
  131. </executions>
  132. </plugin>
  133. </plugins>
  134. </build>
  135. </project>