pom.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  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.2</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.njuzr</groupId>
  12. <artifactId>EAI-Backend</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>EAI-Backend</name>
  15. <description>EAI-Backend</description>
  16. <repositories>
  17. <repository>
  18. <id>alimaven</id>
  19. <url>https://maven.aliyun.com/repository/central</url>
  20. </repository>
  21. </repositories>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. <exclusions> <!--选择log4j2,则要排除掉Logback日志框架的依赖-->
  27. <exclusion>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-logging</artifactId>
  30. </exclusion>
  31. </exclusions>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-test</artifactId>
  36. <scope>test</scope>
  37. </dependency>
  38. <!--log4j2日志依赖-->
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-log4j2</artifactId>
  42. <version>3.2.2</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.projectlombok</groupId>
  46. <artifactId>lombok</artifactId>
  47. </dependency>
  48. <!--mysql和mybatis-plus-->
  49. <dependency>
  50. <groupId>com.baomidou</groupId>
  51. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  52. <version>3.5.5</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.mybatis.spring.boot</groupId>
  56. <artifactId>mybatis-spring-boot-starter-test</artifactId>
  57. <version>3.0.3</version>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>mysql</groupId>
  62. <artifactId>mysql-connector-java</artifactId>
  63. <version>8.0.33</version>
  64. </dependency>
  65. <!--ModelMapper,对象转换-->
  66. <dependency>
  67. <groupId>org.modelmapper</groupId>
  68. <artifactId>modelmapper</artifactId>
  69. <version>3.2.0</version>
  70. </dependency>
  71. <!--spring security、jwt-->
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-security</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.security</groupId>
  78. <artifactId>spring-security-jwt</artifactId>
  79. <version>1.1.1.RELEASE</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>io.jsonwebtoken</groupId>
  83. <artifactId>jjwt-api</artifactId>
  84. <version>0.12.5</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.jsonwebtoken</groupId>
  88. <artifactId>jjwt-impl</artifactId>
  89. <version>0.12.5</version>
  90. <scope>runtime</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.jsonwebtoken</groupId>
  94. <artifactId>jjwt-jackson</artifactId>
  95. <version>0.12.5</version>
  96. <scope>runtime</scope>
  97. </dependency>
  98. <!--excel依赖-->
  99. <dependency>
  100. <groupId>org.apache.poi</groupId>
  101. <artifactId>poi-ooxml</artifactId>
  102. <version>5.2.5</version>
  103. </dependency>
  104. <!--csv依赖-->
  105. <dependency>
  106. <groupId>com.opencsv</groupId>
  107. <artifactId>opencsv</artifactId>
  108. <version>5.9</version>
  109. </dependency>
  110. <!--邮箱依赖-->
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-starter-mail</artifactId>
  114. </dependency>
  115. <!--Bean Validation依赖-->
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-validation</artifactId>
  119. </dependency>
  120. <!--其中包含WebClient依赖-->
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-starter-webflux</artifactId>
  124. </dependency>
  125. <!--Redis依赖-->
  126. <dependency>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-starter-data-redis</artifactId>
  129. </dependency>
  130. <!-- MongoDB依赖 -->
  131. <dependency>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  134. </dependency>
  135. <!-- OSS依赖-->
  136. <dependency>
  137. <groupId>com.aliyun.oss</groupId>
  138. <artifactId>aliyun-sdk-oss</artifactId>
  139. <version>3.17.4</version>
  140. </dependency>
  141. <!-- fastjson2依赖 -->
  142. <dependency>
  143. <groupId>com.alibaba.fastjson2</groupId>
  144. <artifactId>fastjson2</artifactId>
  145. <version>2.0.47</version>
  146. </dependency>
  147. <!-- poi-ooxml依赖 -->
  148. <dependency>
  149. <groupId>org.apache.poi</groupId>
  150. <artifactId>poi-ooxml</artifactId>
  151. <version>5.2.5</version>
  152. </dependency>
  153. <!-- 豆包大语言模型依赖 -->
  154. <dependency>
  155. <groupId>com.volcengine</groupId>
  156. <artifactId>volcengine-java-sdk-ark-runtime</artifactId>
  157. <version>0.2.9</version>
  158. </dependency>
  159. <!-- 讯飞语音合成依赖 -->
  160. <dependency>
  161. <groupId>cn.xfyun</groupId>
  162. <artifactId>websdk-java-speech</artifactId>
  163. <version>2.0.3</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.squareup.okhttp3</groupId>
  167. <artifactId>okhttp</artifactId>
  168. <version>3.14.2</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.springdoc</groupId>
  172. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  173. <version>2.1.0</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.springframework.boot</groupId>
  177. <artifactId>spring-boot-starter-freemarker</artifactId>
  178. </dependency>
  179. <!-- Jsoup HTML解析 -->
  180. <dependency>
  181. <groupId>org.jsoup</groupId>
  182. <artifactId>jsoup</artifactId>
  183. <version>1.15.3</version>
  184. </dependency>
  185. <!-- ZIP压缩 -->
  186. <dependency>
  187. <groupId>net.lingala.zip4j</groupId>
  188. <artifactId>zip4j</artifactId>
  189. <version>2.11.5</version>
  190. </dependency>
  191. <!-- 斯坦福大学自然语言处理工具包CoreNLP -->
  192. <dependency>
  193. <groupId>edu.stanford.nlp</groupId>
  194. <artifactId>stanford-corenlp</artifactId>
  195. <version>4.5.8</version>
  196. </dependency>
  197. <!--提供 EOS S3 相关功能,必须-->
  198. <dependency>
  199. <groupId>com.ecloud.eos</groupId>
  200. <artifactId>eos-java-sdk-s3</artifactId>
  201. <version>1.12.378</version>
  202. </dependency>
  203. <!--提供 EOS 临时认证功能,可选-->
  204. <dependency>
  205. <groupId>com.ecloud.eos</groupId>
  206. <artifactId>eos-java-sdk-sts</artifactId>
  207. <version>1.12.378</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>com.theokanning.openai-gpt3-java</groupId>
  211. <artifactId>service</artifactId>
  212. <version>0.18.2</version>
  213. </dependency>
  214. </dependencies>
  215. <build>
  216. <plugins>
  217. <plugin>
  218. <groupId>org.springframework.boot</groupId>
  219. <artifactId>spring-boot-maven-plugin</artifactId>
  220. <configuration>
  221. <excludes>
  222. <exclude>
  223. <groupId>org.projectlombok</groupId>
  224. <artifactId>lombok</artifactId>
  225. </exclude>
  226. </excludes>
  227. </configuration>
  228. </plugin>
  229. <plugin>
  230. <groupId>org.apache.maven.plugins</groupId>
  231. <artifactId>maven-surefire-plugin</artifactId>
  232. <configuration>
  233. <testFailureIgnore>true</testFailureIgnore>
  234. </configuration>
  235. </plugin>
  236. <plugin>
  237. <groupId>org.apache.maven.plugins</groupId>
  238. <artifactId>maven-checkstyle-plugin</artifactId>
  239. <version>3.1.2</version>
  240. <configuration>
  241. <configLocation>checkstyle.xml</configLocation>
  242. <encoding>UTF-8</encoding>
  243. <consoleOutput>true</consoleOutput>
  244. <failsOnError>true</failsOnError>
  245. <linkXRef>false</linkXRef>
  246. </configuration>
  247. <executions>
  248. <execution>
  249. <id>validate</id>
  250. <phase>validate</phase>
  251. <goals>
  252. <goal>check</goal>
  253. </goals>
  254. </execution>
  255. </executions>
  256. </plugin>
  257. </plugins>
  258. </build>
  259. </project>