pom.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  1. <?xml version="1.0"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. <version>2.7.2</version>
  8. </parent>
  9. <groupId>com.genersoft</groupId>
  10. <artifactId>hfy-gb</artifactId>
  11. <version>1.1.1-SNAPSHOT</version>
  12. <name>hfy-gb28181</name>
  13. <description>hfy国标28181视频平台</description>
  14. <packaging>${project.packaging}</packaging>
  15. <scm>
  16. <developerConnection>scm:git:git@kindring.cn:kindring/wvp.git</developerConnection>
  17. <tag>HEAD</tag>
  18. </scm>
  19. <repositories>
  20. <repository>
  21. <id>nexus-aliyun</id>
  22. <name>Nexus aliyun</name>
  23. <url>https://maven.aliyun.com/repository/public</url>
  24. <layout>default</layout>
  25. <snapshots>
  26. <enabled>false</enabled>
  27. </snapshots>
  28. <releases>
  29. <enabled>true</enabled>
  30. </releases>
  31. </repository>
  32. </repositories>
  33. <pluginRepositories>
  34. <pluginRepository>
  35. <id>nexus-aliyun</id>
  36. <name>Nexus aliyun</name>
  37. <url>https://maven.aliyun.com/repository/public</url>
  38. <snapshots>
  39. <enabled>false</enabled>
  40. </snapshots>
  41. <releases>
  42. <enabled>true</enabled>
  43. </releases>
  44. </pluginRepository>
  45. </pluginRepositories>
  46. <properties>
  47. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  48. <maven.build.timestamp.format>MMddHHmm</maven.build.timestamp.format>
  49. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  50. <!-- 依赖版本 -->
  51. <snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
  52. <asciidoctor.input.directory>${project.basedir}/docs/asciidoc</asciidoctor.input.directory>
  53. <generated.asciidoc.directory>${project.build.directory}/asciidoc</generated.asciidoc.directory>
  54. <asciidoctor.html.output.directory>${project.build.directory}/asciidoc/html</asciidoctor.html.output.directory>
  55. <asciidoctor.pdf.output.directory>${project.build.directory}/asciidoc/pdf</asciidoctor.pdf.output.directory>
  56. </properties>
  57. <profiles>
  58. <profile>
  59. <id>jar</id>
  60. <activation>
  61. <activeByDefault>true</activeByDefault>
  62. </activation>
  63. <properties>
  64. <project.packaging>jar</project.packaging>
  65. </properties>
  66. </profile>
  67. <profile>
  68. <id>war</id>
  69. <properties>
  70. <project.packaging>war</project.packaging>
  71. </properties>
  72. <dependencies>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-web</artifactId>
  76. <exclusions>
  77. <exclusion>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-jetty</artifactId>
  80. </exclusion>
  81. </exclusions>
  82. </dependency>
  83. <dependency>
  84. <groupId>javax.servlet</groupId>
  85. <artifactId>javax.servlet-api</artifactId>
  86. <version>3.1.0</version>
  87. <scope>provided</scope>
  88. </dependency>
  89. </dependencies>
  90. </profile>
  91. </profiles>
  92. <dependencies>
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-data-redis</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-web</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-configuration-processor</artifactId>
  104. <optional>true</optional>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.mybatis.spring.boot</groupId>
  108. <artifactId>mybatis-spring-boot-starter</artifactId>
  109. <version>2.2.2</version>
  110. <exclusions>
  111. <exclusion>
  112. <groupId>com.zaxxer</groupId>
  113. <artifactId>HikariCP</artifactId>
  114. </exclusion>
  115. </exclusions>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-starter-security</artifactId>
  120. </dependency>
  121. <!-- druid数据库连接池 -->
  122. <dependency>
  123. <groupId>com.alibaba</groupId>
  124. <artifactId>druid-spring-boot-starter</artifactId>
  125. <version>1.2.11</version>
  126. </dependency>
  127. <!-- mysql数据库 -->
  128. <dependency>
  129. <groupId>mysql</groupId>
  130. <artifactId>mysql-connector-java</artifactId>
  131. <version>8.0.30</version>
  132. </dependency>
  133. <!--Mybatis分页插件 -->
  134. <dependency>
  135. <groupId>com.github.pagehelper</groupId>
  136. <artifactId>pagehelper-spring-boot-starter</artifactId>
  137. <version>1.4.3</version>
  138. </dependency>
  139. <!--在线文档 -->
  140. <dependency>
  141. <groupId>org.springdoc</groupId>
  142. <artifactId>springdoc-openapi-ui</artifactId>
  143. <version>1.6.10</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.github.xiaoymin</groupId>
  147. <artifactId>knife4j-springdoc-ui</artifactId>
  148. <version>3.0.3</version>
  149. </dependency>
  150. <!--参数校验 -->
  151. <dependency>
  152. <groupId>javax.validation</groupId>
  153. <artifactId>validation-api</artifactId>
  154. </dependency>
  155. <!-- 日志相关 -->
  156. <dependency>
  157. <groupId>org.springframework.boot</groupId>
  158. <artifactId>spring-boot-starter-aop</artifactId>
  159. </dependency>
  160. <!-- sip协议栈 -->
  161. <dependency>
  162. <groupId>javax.sip</groupId>
  163. <artifactId>jain-sip-ri</artifactId>
  164. <version>1.3.0-91</version>
  165. </dependency>
  166. <!-- 取代log4j -->
  167. <dependency>
  168. <groupId>org.slf4j</groupId>
  169. <artifactId>log4j-over-slf4j</artifactId>
  170. <version>1.7.36</version>
  171. </dependency>
  172. <!-- xml解析库 -->
  173. <dependency>
  174. <groupId>org.dom4j</groupId>
  175. <artifactId>dom4j</artifactId>
  176. <version>2.1.3</version>
  177. </dependency>
  178. <!-- json解析库fastjson2 -->
  179. <dependency>
  180. <groupId>com.alibaba.fastjson2</groupId>
  181. <artifactId>fastjson2</artifactId>
  182. <version>2.0.17</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.alibaba.fastjson2</groupId>
  186. <artifactId>fastjson2-extension</artifactId>
  187. <version>2.0.17</version>
  188. </dependency>
  189. <!-- okhttp -->
  190. <dependency>
  191. <groupId>com.squareup.okhttp3</groupId>
  192. <artifactId>okhttp</artifactId>
  193. <version>4.10.0</version>
  194. </dependency>
  195. <!-- okhttp 调试日志 -->
  196. <dependency>
  197. <groupId>com.squareup.okhttp3</groupId>
  198. <artifactId>logging-interceptor</artifactId>
  199. <version>4.10.0</version>
  200. </dependency>
  201. <!-- okhttp-digest -->
  202. <dependency>
  203. <groupId>io.github.rburgst</groupId>
  204. <artifactId>okhttp-digest</artifactId>
  205. <version>2.7</version>
  206. </dependency>
  207. <!-- https://mvnrepository.com/artifact/net.sf.kxml/kxml2 -->
  208. <!-- <dependency>-->
  209. <!-- <groupId>net.sf.kxml</groupId>-->
  210. <!-- <artifactId>kxml2</artifactId>-->
  211. <!-- <version>2.3.0</version>-->
  212. <!-- </dependency>-->
  213. <!-- jwt实现 -->
  214. <dependency>
  215. <groupId>org.bitbucket.b_c</groupId>
  216. <artifactId>jose4j</artifactId>
  217. <version>0.9.3</version>
  218. </dependency>
  219. <!--反向代理-->
  220. <dependency>
  221. <groupId>org.mitre.dsmiley.httpproxy</groupId>
  222. <artifactId>smiley-http-proxy-servlet</artifactId>
  223. <version>1.12.1</version>
  224. </dependency>
  225. <!--excel解析库-->
  226. <dependency>
  227. <groupId>com.alibaba</groupId>
  228. <artifactId>easyexcel</artifactId>
  229. <version>3.1.1</version>
  230. </dependency>
  231. <!-- sa-Token 权限验证-->
  232. <dependency>
  233. <groupId>cn.dev33</groupId>
  234. <artifactId>sa-token-spring-boot-starter</artifactId>
  235. <version>1.37.0</version>
  236. </dependency>
  237. <!-- 获取系统信息 -->
  238. <dependency>
  239. <groupId>com.github.oshi</groupId>
  240. <artifactId>oshi-core</artifactId>
  241. <version>6.2.2</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>org.springframework.session</groupId>
  245. <artifactId>spring-session-core</artifactId>
  246. </dependency>
  247. <!-- &lt;!&ndash; 检测文件编码 &ndash;&gt;-->
  248. <!-- &lt;!&ndash; https://mvnrepository.com/artifact/cpdetector/cpdetector &ndash;&gt;-->
  249. <!-- <dependency>-->
  250. <!-- <groupId>cpdetector</groupId>-->
  251. <!-- <artifactId>cpdetector</artifactId>-->
  252. <!-- <version>1.0.8</version>-->
  253. <!-- </dependency>-->
  254. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  255. <dependency>
  256. <groupId>com.google.guava</groupId>
  257. <artifactId>guava</artifactId>
  258. <version>31.1-jre</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.springframework.boot</groupId>
  262. <artifactId>spring-boot-starter-test</artifactId>
  263. <!-- <scope>test</scope>-->
  264. </dependency>
  265. </dependencies>
  266. <build>
  267. <!-- <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>-->
  268. <finalName>${project.artifactId}</finalName>
  269. <plugins>
  270. <plugin>
  271. <groupId>org.springframework.boot</groupId>
  272. <artifactId>spring-boot-maven-plugin</artifactId>
  273. <version>2.3.5.RELEASE</version>
  274. <configuration>
  275. <includeSystemScope>true</includeSystemScope>
  276. </configuration>
  277. </plugin>
  278. <plugin>
  279. <groupId>org.apache.maven.plugins</groupId>
  280. <artifactId>maven-compiler-plugin</artifactId>
  281. <version>3.8.1</version>
  282. <configuration>
  283. <source>1.8</source>
  284. <target>1.8</target>
  285. </configuration>
  286. </plugin>
  287. <plugin>
  288. <groupId>pl.project13.maven</groupId>
  289. <artifactId>git-commit-id-plugin</artifactId>
  290. <version>3.0.1</version>
  291. <configuration>
  292. <offline>true</offline>
  293. <failOnNoGitDirectory>false</failOnNoGitDirectory>
  294. <dateFormat>yyyyMMdd</dateFormat>
  295. </configuration>
  296. </plugin>
  297. <plugin>
  298. <groupId>org.apache.maven.plugins</groupId>
  299. <artifactId>maven-surefire-plugin</artifactId>
  300. <version>2.22.2</version>
  301. <configuration>
  302. <skipTests>true</skipTests>
  303. </configuration>
  304. </plugin>
  305. </plugins>
  306. <resources>
  307. <resource>
  308. <directory>src/main/resources</directory>
  309. </resource>
  310. <resource>
  311. <directory>src/main/java</directory>
  312. <includes>
  313. <include>**/*.xml</include>
  314. </includes>
  315. </resource>
  316. </resources>
  317. </build>
  318. </project>