pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  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 http://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>2.5.6</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>org.example</groupId>
  12. <artifactId>kaojiplatform</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <packaging>war</packaging>
  15. <name>kaojiplatform</name>
  16. <properties>
  17. <java.version>11</java.version>
  18. <log4j2.version>2.15.0</log4j2.version>
  19. <poi.version>5.2.0</poi.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  25. </dependency>
  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</artifactId>
  33. <exclusions>
  34. <exclusion>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-logging</artifactId>
  37. </exclusion>
  38. </exclusions>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-test</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.mybatis.spring.boot</groupId>
  47. <artifactId>mybatis-spring-boot-starter</artifactId>
  48. <version>2.2.0</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-tomcat</artifactId>
  53. <scope>provided</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-log4j2</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-devtools</artifactId>
  62. <scope>runtime</scope>
  63. <optional>true</optional>
  64. </dependency>
  65. <dependency>
  66. <groupId>mysql</groupId>
  67. <artifactId>mysql-connector-java</artifactId>
  68. <scope>runtime</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.alibaba</groupId>
  72. <artifactId>fastjson</artifactId>
  73. <version>1.2.7</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>io.netty</groupId>
  77. <artifactId>netty-all</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.commons</groupId>
  81. <artifactId>commons-lang3</artifactId>
  82. <version>3.12.0</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.poi</groupId>
  86. <artifactId>poi</artifactId>
  87. <version>${poi.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.poi</groupId>
  91. <artifactId>poi-ooxml</artifactId>
  92. <version>${poi.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.quartz-scheduler</groupId>
  96. <artifactId>quartz</artifactId>
  97. <version>2.3.2</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-configuration-processor</artifactId>
  102. <optional>true</optional>
  103. </dependency>
  104. <!-- swagger 相关依赖包-->
  105. <dependency>
  106. <groupId>io.springfox</groupId>
  107. <artifactId>springfox-boot-starter</artifactId>
  108. <version>3.0.0</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.github.xiaoymin</groupId>
  112. <artifactId>swagger-bootstrap-ui</artifactId>
  113. <version>1.9.6</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.github.pagehelper</groupId>
  117. <artifactId>pagehelper-spring-boot-starter</artifactId>
  118. <version>1.2.5</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.projectlombok</groupId>
  122. <artifactId>lombok</artifactId>
  123. </dependency>
  124. <!-- Token鉴权部分 -->
  125. <dependency>
  126. <groupId>com.auth0</groupId>
  127. <artifactId>auth0</artifactId>
  128. <version>1.30.0</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.auth0</groupId>
  132. <artifactId>java-jwt</artifactId>
  133. <version>3.14.0</version>
  134. </dependency>
  135. <!-- Token鉴权部分 -->
  136. <!-- 防暴限流 -->
  137. <dependency>
  138. <groupId>com.google.guava</groupId>
  139. <artifactId>guava</artifactId>
  140. <version>30.1-jre</version>
  141. </dependency>
  142. <!-- 防暴限流 -->
  143. <dependency>
  144. <groupId>org.bouncycastle</groupId>
  145. <artifactId>bcprov-jdk15on</artifactId>
  146. <version>1.69</version>
  147. </dependency>
  148. <!--邮件处理-->
  149. <dependency>
  150. <groupId>com.sun.mail</groupId>
  151. <artifactId>javax.mail</artifactId>
  152. <version>1.6.2</version>
  153. </dependency>
  154. <!-- WebService -->
  155. <dependency>
  156. <groupId>org.apache.httpcomponents</groupId>
  157. <artifactId>httpclient</artifactId>
  158. <version>4.5.13</version> <!-- 使用适合你项目的版本 -->
  159. </dependency>
  160. <dependency>
  161. <groupId>org.mybatis.generator</groupId>
  162. <artifactId>mybatis-generator-core</artifactId>
  163. <version>1.3.5</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.tencentcloudapi</groupId>
  167. <artifactId>tencentcloud-sdk-java</artifactId>
  168. <version>3.1.1094</version>
  169. </dependency>
  170. <!-- 移动OneNet部分 -->
  171. <dependency>
  172. <groupId>org.apache.pulsar</groupId>
  173. <artifactId>pulsar-client</artifactId>
  174. <version>3.0.1</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.apache.pulsar</groupId>
  178. <artifactId>pulsar-client-tools</artifactId>
  179. <version>3.0.1</version>
  180. </dependency>
  181. <!-- 电信AEP-SDK -->
  182. <dependency>
  183. <groupId>com.ctg.ag.sdk.biz</groupId>
  184. <artifactId>sdkpackage</artifactId>
  185. <version>1.0</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>com.ctg.ag.sdk.core</groupId>
  189. <artifactId>sdkcore</artifactId>
  190. <version>1.0</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>com.ctiot.aep</groupId>
  194. <artifactId>mq-msgpush-sdk</artifactId>
  195. <version>1.1.0</version>
  196. </dependency>
  197. <!-- 拼音处理库 -->
  198. <dependency>
  199. <groupId>com.belerweb</groupId>
  200. <artifactId>pinyin4j</artifactId>
  201. <version>2.5.1</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.apache.pdfbox</groupId>
  205. <artifactId>pdfbox</artifactId>
  206. <version>2.0.27</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.google.zxing</groupId>
  210. <artifactId>core</artifactId>
  211. <version>3.4.1</version>
  212. </dependency>
  213. <!-- Spring AOP基础支持 -->
  214. <dependency>
  215. <groupId>org.springframework.boot</groupId>
  216. <artifactId>spring-boot-starter-aop</artifactId>
  217. </dependency>
  218. <!-- AspectJ增强能力 -->
  219. <dependency>
  220. <groupId>org.aspectj</groupId>
  221. <artifactId>aspectjweaver</artifactId>
  222. <version>1.9.7</version>
  223. </dependency>
  224. </dependencies>
  225. <profiles>
  226. <profile>
  227. <id>dev</id>
  228. <properties>
  229. <env>dev</env>
  230. </properties>
  231. </profile>
  232. <profile>
  233. <id>prod</id>
  234. <properties>
  235. <env>prod</env>
  236. </properties>
  237. <activation>
  238. <activeByDefault>true</activeByDefault>
  239. </activation>
  240. </profile>
  241. <profile>
  242. <id>test</id>
  243. <properties>
  244. <env>test</env>
  245. </properties>
  246. </profile>
  247. </profiles>
  248. <build>
  249. <resources>
  250. <resource>
  251. <directory>src/main/resources</directory>
  252. <excludes>
  253. <exclude>/config/dev/*</exclude>
  254. <exclude>/config/prod/*</exclude>
  255. <exclude>/config/test/*</exclude>
  256. <exclude>/config/generatorConfig.xml</exclude>
  257. </excludes>
  258. </resource>
  259. <resource>
  260. <directory>src/main/resources/config/${env}</directory>
  261. </resource>
  262. <resource>
  263. <directory>src/main/webapp</directory>
  264. </resource>
  265. </resources>
  266. <plugins>
  267. <plugin>
  268. <groupId>org.springframework.boot</groupId>
  269. <artifactId>spring-boot-maven-plugin</artifactId>
  270. </plugin>
  271. <!--<plugin>
  272. <groupId>org.mybatis.generator</groupId>
  273. <artifactId>mybatis-generator-maven-plugin</artifactId>
  274. <version>1.3.5</version>
  275. <configuration>
  276. <configurationFile>src/main/resources/config/generatorConfig.xml</configurationFile>
  277. <verbose>true</verbose>
  278. <overwrite>true</overwrite>
  279. </configuration>
  280. <executions>
  281. <execution>
  282. <id>Generate MyBatis Artifacts</id>
  283. <goals>
  284. <goal>generate</goal>
  285. </goals>
  286. </execution>
  287. </executions>
  288. <dependencies>
  289. <dependency>
  290. <groupId>org.mybatis.generator</groupId>
  291. <artifactId>mybatis-generator-core</artifactId>
  292. <version>1.3.5</version>
  293. </dependency>
  294. </dependencies>
  295. </plugin>-->
  296. </plugins>
  297. </build>
  298. </project>