pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  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. <groupId>com.iden</groupId>
  6. <artifactId>iden-server</artifactId>
  7. <version>1.0-RELEASE</version>
  8. <name>iden</name>
  9. <!--父项目依赖-->
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.3.5.RELEASE</version>
  14. <relativePath/>
  15. </parent>
  16. <!--定义版本常量-->
  17. <properties>
  18. <!-- 打包跳过单元测试 -->
  19. <skipTest>true</skipTest>
  20. <!--各依赖版本设置-->
  21. <java.version>1.8</java.version>
  22. <spring-web.version>2.2.10.RELEASE</spring-web.version>
  23. <mybatis-plus.version>3.4.1</mybatis-plus.version>
  24. <HikariCP.version>3.4.5</HikariCP.version>
  25. <jasypt.version>3.0.3</jasypt.version>
  26. <admin.version>2.2.2</admin.version>
  27. <io.springfox.version>2.5.0</io.springfox.version>
  28. <easyexcel.version>2.1.6</easyexcel.version>
  29. <jwt.version>0.9.1</jwt.version>
  30. </properties>
  31. <!--环境依赖-->
  32. <dependencies>
  33. <!--应用健康监控后台管理依赖-->
  34. <dependency>
  35. <groupId>de.codecentric</groupId>
  36. <artifactId>spring-boot-admin-starter-client</artifactId>
  37. <version>${admin.version}</version>
  38. </dependency>
  39. <!--springBoot Web 模块-->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. <version>${spring-web.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-aop</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-websocket</artifactId>
  52. </dependency>
  53. <!--junit5 单元测试-->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-test</artifactId>
  57. <scope>test</scope>
  58. <exclusions>
  59. <exclusion>
  60. <groupId>org.junit.vintage</groupId>
  61. <artifactId>junit-vintage-engine</artifactId>
  62. </exclusion>
  63. </exclusions>
  64. </dependency>
  65. <!--MySQL数据库驱动-->
  66. <dependency>
  67. <groupId>mysql</groupId>
  68. <artifactId>mysql-connector-java</artifactId>
  69. <version>8.0.21</version>
  70. </dependency>
  71. <!--HikariCP 数据库连接池-->
  72. <dependency>
  73. <groupId>com.zaxxer</groupId>
  74. <artifactId>HikariCP</artifactId>
  75. <version>${HikariCP.version}</version>
  76. </dependency>
  77. <!--lombok-->
  78. <dependency>
  79. <groupId>org.projectlombok</groupId>
  80. <artifactId>lombok</artifactId>
  81. <version>1.18.12</version>
  82. <scope>compile</scope>
  83. </dependency>
  84. <!--mybatis-plus-->
  85. <dependency>
  86. <groupId>com.baomidou</groupId>
  87. <artifactId>mybatis-plus-boot-starter</artifactId>
  88. <version>${mybatis-plus.version}</version>
  89. </dependency>
  90. <!--springfox -->
  91. <!-- Swagger -->
  92. <dependency>
  93. <groupId>io.springfox</groupId>
  94. <artifactId>springfox-swagger2</artifactId>
  95. <version>2.9.2</version>
  96. <exclusions>
  97. <exclusion>
  98. <artifactId>org.mapstruct</artifactId>
  99. <groupId>mapstruct</groupId>
  100. </exclusion>
  101. <exclusion>
  102. <groupId>io.swagger</groupId>
  103. <artifactId>swagger-annotations</artifactId>
  104. </exclusion>
  105. <exclusion>
  106. <groupId>io.swagger</groupId>
  107. <artifactId>swagger-models</artifactId>
  108. </exclusion>
  109. </exclusions>
  110. </dependency>
  111. <dependency>
  112. <groupId>io.swagger</groupId>
  113. <artifactId>swagger-annotations</artifactId>
  114. <version>1.5.21</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>io.swagger</groupId>
  118. <artifactId>swagger-models</artifactId>
  119. <version>1.5.21</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>io.springfox</groupId>
  123. <artifactId>springfox-swagger-ui</artifactId>
  124. <version>2.9.2</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>cn.hutool</groupId>
  128. <artifactId>hutool-all</artifactId>
  129. <version>5.5.6</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.poi</groupId>
  133. <artifactId>poi</artifactId>
  134. <version>3.17</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.poi</groupId>
  138. <artifactId>poi-ooxml</artifactId>
  139. <version>3.17</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.poi</groupId>
  143. <artifactId>poi-scratchpad</artifactId>
  144. <version>3.17</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.alibaba</groupId>
  148. <artifactId>easyexcel</artifactId>
  149. <version>${easyexcel.version}</version>
  150. </dependency>
  151. <!-- poi-tl jar -->
  152. <dependency>
  153. <groupId>com.deepoove</groupId>
  154. <artifactId>poi-tl</artifactId>
  155. <version>1.8.2</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.springframework.boot</groupId>
  159. <artifactId>spring-boot-configuration-processor</artifactId>
  160. <optional>true</optional>
  161. </dependency>
  162. <!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf -->
  163. <dependency>
  164. <groupId>com.itextpdf</groupId>
  165. <artifactId>itextpdf</artifactId>
  166. <version>5.5.13.2</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.itextpdf.tool</groupId>
  170. <artifactId>xmlworker</artifactId>
  171. <version>5.5.13.2</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.springframework.boot</groupId>
  175. <artifactId>spring-boot-starter-freemarker</artifactId>
  176. </dependency>
  177. <dependency>
  178. <groupId>junit</groupId>
  179. <artifactId>junit</artifactId>
  180. <scope>test</scope>
  181. </dependency>
  182. <!-- https://mvnrepository.com/artifact/com.itextpdf/itext-asian -->
  183. <dependency>
  184. <groupId>com.itextpdf</groupId>
  185. <artifactId>itext-asian</artifactId>
  186. <version>5.2.0</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>io.jsonwebtoken</groupId>
  190. <artifactId>jjwt</artifactId>
  191. <version>${jwt.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.springframework</groupId>
  195. <artifactId>spring-test</artifactId>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.java-websocket</groupId>
  199. <artifactId>Java-WebSocket</artifactId>
  200. <version>1.3.5</version>
  201. </dependency>
  202. <!-- 引入redis及相关组件 -->
  203. <dependency>
  204. <groupId>org.springframework.boot</groupId>
  205. <artifactId>spring-boot-starter-data-redis</artifactId>
  206. <exclusions>
  207. <exclusion>
  208. <groupId>io.lettuce</groupId>
  209. <artifactId>lettuce-core</artifactId>
  210. </exclusion>
  211. </exclusions>
  212. </dependency>
  213. <dependency>
  214. <groupId>redis.clients</groupId>
  215. <artifactId>jedis</artifactId>
  216. <version>3.3.0</version>
  217. </dependency>
  218. <!-- 引入redis及相关组件 结束 -->
  219. <dependency>
  220. <groupId>com.tencentcloudapi</groupId>
  221. <artifactId>tencentcloud-sdk-java</artifactId>
  222. <!-- go to https://search.maven.org/search?q=tencentcloud-sdk-java and get the latest version. -->
  223. <!-- 请到https://search.maven.org/search?q=tencentcloud-sdk-java查询所有版本,最新版本如下 -->
  224. <version>3.1.283</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>commons-beanutils</groupId>
  228. <artifactId>commons-beanutils</artifactId>
  229. <version>1.9.3</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.bouncycastle</groupId>
  233. <artifactId>bcprov-jdk16</artifactId>
  234. <version>1.46</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.alibaba</groupId>
  238. <artifactId>fastjson</artifactId>
  239. <version>1.2.66</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>AIMCFaceMonitor</groupId>
  243. <artifactId>AIMCFaceMonitor</artifactId>
  244. <version>1.0</version>
  245. <scope>system</scope>
  246. <systemPath>${project.basedir}/lib/AIMCFaceMonitor.jar</systemPath>
  247. </dependency>
  248. </dependencies>
  249. <build>
  250. <!--静态资源过滤-->
  251. <resources>
  252. <resource>
  253. <directory>src/main/resources</directory>
  254. <filtering>false</filtering>
  255. <includes>
  256. <include>**/*.*</include>
  257. </includes>
  258. <!-- <excludes>
  259. <exclude>**/*.properties</exclude>
  260. </excludes>-->
  261. </resource>
  262. </resources>
  263. <plugins>
  264. <plugin>
  265. <groupId>org.springframework.boot</groupId>
  266. <artifactId>spring-boot-maven-plugin</artifactId>
  267. <configuration>
  268. <includeSystemScope>true</includeSystemScope>
  269. </configuration>
  270. </plugin>
  271. <plugin>
  272. <groupId>org.apache.maven.plugins</groupId>
  273. <artifactId>maven-resources-plugin</artifactId>
  274. <configuration>
  275. <delimiters>
  276. <delimiter>@</delimiter>
  277. </delimiters>
  278. <useDefaultDelimiters>false</useDefaultDelimiters>
  279. </configuration>
  280. </plugin>
  281. </plugins>
  282. </build>
  283. </project>