pom.xml 11 KB

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