pom.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.3.5.RELEASE</version>
  10. </parent>
  11. <groupId>com.unis.hlht.cjlksj.server</groupId>
  12. <artifactId>cjlksj</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <packaging>jar</packaging>
  15. <name>hlht-cjlksj-server</name>
  16. <description>互联互通-采集粮库数据-后端服务</description>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-freemarker</artifactId>
  26. <exclusions>
  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>junit</groupId>
  35. <artifactId>junit</artifactId>
  36. <version>4.12</version>
  37. <!-- junit的版本有3.x, 4.x, 5.x 5.x还没有发布, 现在都用是4.x -->
  38. </dependency>
  39. <!-- <dependency>-->
  40. <!-- <groupId>org.springframework</groupId>-->
  41. <!-- <artifactId>spring-beans</artifactId>-->
  42. <!-- <version>5.1.14.RELEASE</version>-->
  43. <!-- </dependency>-->
  44. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  45. <dependency>
  46. <groupId>org.apache.commons</groupId>
  47. <artifactId>commons-lang3</artifactId>
  48. <version>3.10</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-web-services</artifactId>
  53. </dependency>
  54. <!-- <dependency>
  55. <groupId>org.mybatis.spring.boot</groupId>
  56. <artifactId>mybatis-spring-boot-starter</artifactId>
  57. <version>1.3.2</version>
  58. </dependency> -->
  59. <dependency>
  60. <groupId>org.apache.commons</groupId>
  61. <artifactId>commons-lang3</artifactId>
  62. <version>3.7</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-test</artifactId>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>mysql</groupId>
  71. <artifactId>mysql-connector-java</artifactId>
  72. <scope>runtime</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.alibaba</groupId>
  76. <artifactId>druid-spring-boot-starter</artifactId>
  77. <version>1.1.10</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.projectlombok</groupId>
  81. <artifactId>lombok</artifactId>
  82. <optional>true</optional>
  83. </dependency>
  84. <dependency>
  85. <groupId>io.springfox</groupId>
  86. <artifactId>springfox-swagger2</artifactId>
  87. <version>2.8.0</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>io.springfox</groupId>
  91. <artifactId>springfox-swagger-ui</artifactId>
  92. <version>2.8.0</version>
  93. </dependency>
  94. <!-- <dependency>
  95. <groupId>tk.mybatis</groupId>
  96. <artifactId>mapper-spring-boot-starter</artifactId>
  97. <version>2.1.2</version>
  98. </dependency> -->
  99. <!--Mybatis分页插件 -->
  100. <dependency>
  101. <groupId>com.github.pagehelper</groupId>
  102. <artifactId>pagehelper-spring-boot-starter</artifactId>
  103. <version>1.2.3</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.alibaba</groupId>
  107. <artifactId>fastjson</artifactId>
  108. <version>1.2.36</version>
  109. </dependency>
  110. <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
  111. <dependency>
  112. <groupId>commons-codec</groupId>
  113. <artifactId>commons-codec</artifactId>
  114. <version>1.10</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-cache</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.ehcache</groupId>
  122. <artifactId>ehcache</artifactId>
  123. <version>3.7.0</version>
  124. </dependency>
  125. <!-- <dependency>
  126. <groupId>com.oracle</groupId>
  127. <artifactId>ojdbc14</artifactId>
  128. <version>10.2.0.5.0</version>
  129. </dependency> -->
  130. <dependency>
  131. <groupId>dom4j</groupId>
  132. <artifactId>dom4j</artifactId>
  133. <version>1.6.1</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>jaxen</groupId>
  137. <artifactId>jaxen</artifactId>
  138. <version>1.1.6</version>
  139. </dependency>
  140. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
  141. <!--<dependency> -->
  142. <!--<groupId>org.apache.poi</groupId> -->
  143. <!--<artifactId>poi</artifactId> -->
  144. <!--<version>3.6</version> -->
  145. <!--</dependency> -->
  146. <!--<dependency> -->
  147. <!--<groupId>org.apache.poi</groupId> -->
  148. <!--<artifactId>poi-ooxml</artifactId> -->
  149. <!--<version>3.6</version> -->
  150. <!--</dependency> -->
  151. <dependency>
  152. <groupId>org.apache.poi</groupId>
  153. <artifactId>poi</artifactId>
  154. <version>3.11</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.apache.poi</groupId>
  158. <artifactId>poi-ooxml</artifactId>
  159. <version>3.11</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.poi</groupId>
  163. <artifactId>poi-ooxml-schemas</artifactId>
  164. <version>3.11</version>
  165. </dependency>
  166. <!-- 海康,视频监控API相关 -->
  167. <dependency>
  168. <groupId>com.yiyou</groupId>
  169. <artifactId>artemis-http-client-1.2-SNAPSHOT-CL</artifactId>
  170. <version>1.0</version>
  171. </dependency>
  172. <!-- <dependency>-->
  173. <!-- <groupId>com.yiyou</groupId>-->
  174. <!-- <artifactId>artemis-http-client-1.2-SNAPSHOT</artifactId>-->
  175. <!-- <version>1.0</version>-->
  176. <!-- <exclusions>-->
  177. <!-- <exclusion>-->
  178. <!-- <groupId>org.springframework.boot</groupId>-->
  179. <!-- <artifactId>spring-boot-starter-logging</artifactId>-->
  180. <!-- </exclusion>-->
  181. <!-- <exclusion>-->
  182. <!-- <groupId>org.slf4j</groupId>-->
  183. <!-- <artifactId>slf4j-log4j12</artifactId>-->
  184. <!-- </exclusion>-->
  185. <!-- <exclusion>-->
  186. <!-- <groupId>log4j</groupId>-->
  187. <!-- <artifactId>log4j</artifactId>-->
  188. <!-- </exclusion>-->
  189. <!-- </exclusions>-->
  190. <!-- </dependency>-->
  191. <!-- 海康,视频监控API相关 -->
  192. <!-- 引入log4j2依赖 -->
  193. <dependency>
  194. <groupId>org.springframework.boot</groupId>
  195. <artifactId>spring-boot-starter-log4j2</artifactId>
  196. </dependency>
  197. <!-- tk-->
  198. <dependency>
  199. <groupId>tk.mybatis</groupId>
  200. <artifactId>mapper-spring-boot-starter</artifactId>
  201. <version>RELEASE</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>tk.mybatis</groupId>
  205. <artifactId>mapper</artifactId>
  206. <version>3.4.5</version>
  207. </dependency>
  208. <!-- redis -->
  209. <dependency>
  210. <groupId>org.springframework.boot</groupId>
  211. <artifactId>spring-boot-starter-data-redis</artifactId>
  212. </dependency>
  213. <!-- <dependency>-->
  214. <!-- <groupId>org.springframework.boot</groupId>-->
  215. <!-- <artifactId>spring-boot-starter-data-redis-reactive</artifactId>-->
  216. <!-- </dependency>-->
  217. <!-- spring2.X集成redis所需common-pool2-->
  218. <dependency>
  219. <groupId>org.apache.commons</groupId>
  220. <artifactId>commons-pool2</artifactId>
  221. <!-- <version>2.6.0</version>-->
  222. </dependency>
  223. <dependency>
  224. <groupId>com.github.xiaoymin</groupId>
  225. <artifactId>swagger-bootstrap-ui</artifactId>
  226. <version>1.9.3</version>
  227. </dependency>
  228. </dependencies>
  229. <build>
  230. <resources>
  231. <resource>
  232. <directory>src/main/webapp/</directory>
  233. <targetPath>META-INF/resources</targetPath>
  234. <includes>
  235. <include>**/**</include>
  236. </includes>
  237. </resource>
  238. <resource>
  239. <directory>src/main/resources</directory>
  240. <filtering>true</filtering>
  241. </resource>
  242. </resources>
  243. <plugins>
  244. <plugin>
  245. <groupId>org.springframework.boot</groupId>
  246. <artifactId>spring-boot-maven-plugin</artifactId>
  247. <!-- <configuration>-->
  248. <!-- <layout>ZIP</layout>-->
  249. <!-- <includes>-->
  250. <!-- <include>-->
  251. <!-- <groupId>com.unis.hlht.server</groupId>-->
  252. <!-- <artifactId>sxls-hlht-cjlksj-server</artifactId>-->
  253. <!-- </include>-->
  254. <!-- </includes>-->
  255. <!-- </configuration>-->
  256. </plugin>
  257. <!--打包是不进行验证测试 -->
  258. <plugin>
  259. <groupId>org.apache.maven.plugins</groupId>
  260. <artifactId>maven-surefire-plugin</artifactId>
  261. <version>2.21.0</version>
  262. <configuration>
  263. <skipTests>true</skipTests>
  264. </configuration>
  265. </plugin>
  266. </plugins>
  267. <finalName>cjlksj-server</finalName>
  268. </build>
  269. </project>