pom1.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <groupId>com.genetic</groupId>
  5. <artifactId>framework-gis</artifactId>
  6. <version>1.0.0.0</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>admin</artifactId>
  10. <version>1.0.0.0</version>
  11. <!-- <packaging>war</packaging>-->
  12. <packaging>jar</packaging>
  13. <description>admin</description>
  14. <properties>
  15. <!--<quartz.version>2.3.0</quartz.version> -->
  16. <common.version>1.0.0.0</common.version>
  17. <dynamic-datasource.version>1.0.0.0</dynamic-datasource.version>
  18. <shiro.version>1.4.0</shiro.version>
  19. <kaptcha.version>0.0.9</kaptcha.version>
  20. <easypoi.version>4.1.0</easypoi.version>
  21. <qiniu.version>[7.2.0, 7.2.99]</qiniu.version>
  22. <aliyun.oss.version>2.8.3</aliyun.oss.version>
  23. <aliyun.core.version>3.2.2</aliyun.core.version>
  24. <aliyun.dysmsapi.version>1.1.0</aliyun.dysmsapi.version>
  25. <qcloud.cos.version>5.4.4</qcloud.cos.version>
  26. <qcloud.qcloudsms.version>1.0.5</qcloud.qcloudsms.version>
  27. <fastdfs.version>1.26.2</fastdfs.version>
  28. <freemarker.version>2.3.28</freemarker.version>
  29. <dgraph.version>1.7.3</dgraph.version>
  30. <geohash.version>0.7.1</geohash.version>
  31. <pinyin4j.version>2.5.1</pinyin4j.version>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>eu.bitwalker</groupId>
  36. <artifactId>UserAgentUtils</artifactId>
  37. <version>1.21</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.genetic</groupId>
  41. <artifactId>common</artifactId>
  42. <version>${common.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.genetic</groupId>
  46. <artifactId>dynamic-datasource</artifactId>
  47. <version>${dynamic-datasource.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.shiro</groupId>
  51. <artifactId>shiro-core</artifactId>
  52. <version>${shiro.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.shiro</groupId>
  56. <artifactId>shiro-spring</artifactId>
  57. <version>${shiro.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.github.axet</groupId>
  61. <artifactId>kaptcha</artifactId>
  62. <version>${kaptcha.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>cn.afterturn</groupId>
  66. <artifactId>easypoi-base</artifactId>
  67. <version>${easypoi.version}</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>cn.afterturn</groupId>
  71. <artifactId>easypoi-web</artifactId>
  72. <version>${easypoi.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>cn.afterturn</groupId>
  76. <artifactId>easypoi-annotation</artifactId>
  77. <version>${easypoi.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.qiniu</groupId>
  81. <artifactId>qiniu-java-sdk</artifactId>
  82. <version>${qiniu.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.aliyun.oss</groupId>
  86. <artifactId>aliyun-sdk-oss</artifactId>
  87. <version>${aliyun.oss.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.qcloud</groupId>
  91. <artifactId>cos_api</artifactId>
  92. <version>${qcloud.cos.version}</version>
  93. <exclusions>
  94. <exclusion>
  95. <groupId>org.slf4j</groupId>
  96. <artifactId>slf4j-log4j12</artifactId>
  97. </exclusion>
  98. </exclusions>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.aliyun</groupId>
  102. <artifactId>aliyun-java-sdk-core</artifactId>
  103. <version>${aliyun.core.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.aliyun</groupId>
  107. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  108. <version>${aliyun.dysmsapi.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.github.qcloudsms</groupId>
  112. <artifactId>qcloudsms</artifactId>
  113. <version>${qcloud.qcloudsms.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.sun.mail</groupId>
  117. <artifactId>javax.mail</artifactId>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.freemarker</groupId>
  121. <artifactId>freemarker</artifactId>
  122. <version>${freemarker.version}</version>
  123. </dependency>
  124. <!-- <dependency>-->
  125. <!-- <groupId>com.github.tobato</groupId>-->
  126. <!-- <artifactId>fastdfs-client</artifactId>-->
  127. <!-- <version>${fastdfs.version}</version>-->
  128. <!-- </dependency>-->
  129. <dependency>
  130. <groupId>org.springframework.kafka</groupId>
  131. <artifactId>spring-kafka</artifactId>
  132. <version>2.2.7.RELEASE</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.github.davidmoten</groupId>
  136. <artifactId>geo</artifactId>
  137. <version>${geohash.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>io.dgraph</groupId>
  141. <artifactId>dgraph4j</artifactId>
  142. <version>${dgraph.version}</version>
  143. <exclusions>
  144. <exclusion>
  145. <groupId>org.slf4j</groupId>
  146. <artifactId>slf4j-api</artifactId>
  147. </exclusion>
  148. <exclusion>
  149. <groupId>org.slf4j</groupId>
  150. <artifactId>slf4j-simple</artifactId>
  151. </exclusion>
  152. </exclusions>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.google.protobuf</groupId>
  156. <artifactId>protobuf-java</artifactId>
  157. <version>3.5.1</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.springframework.boot</groupId>
  161. <artifactId>spring-boot-configuration-processor</artifactId>
  162. <optional>true</optional>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.csource</groupId>
  166. <artifactId>fastdfs-client-java</artifactId>
  167. <version>1.29-SNAPSHOT</version>
  168. <exclusions>
  169. <exclusion>
  170. <groupId>org.slf4j</groupId>
  171. <artifactId>slf4j-log4j12</artifactId>
  172. </exclusion>
  173. </exclusions>
  174. </dependency>
  175. <!-- websocket -->
  176. <dependency>
  177. <groupId>org.springframework.boot</groupId>
  178. <artifactId>spring-boot-starter-websocket</artifactId>
  179. </dependency>
  180. <!--数据导出excel-->
  181. <dependency>
  182. <groupId>org.apache.poi</groupId>
  183. <artifactId>poi</artifactId>
  184. <version>4.1.1</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.apache.poi</groupId>
  188. <artifactId>poi-ooxml</artifactId>
  189. <version>4.1.1</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.hikvision.ga</groupId>
  193. <artifactId>artemis-http-client</artifactId>
  194. <version>1.1.3</version>
  195. </dependency>
  196. <!-- 汉字转拼音 -->
  197. <dependency>
  198. <groupId>com.belerweb</groupId>
  199. <artifactId>pinyin4j</artifactId>
  200. <version>2.5.1</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.java-websocket</groupId>
  204. <artifactId>Java-WebSocket</artifactId>
  205. <version>1.3.5</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.alibaba.csb.sdk</groupId>
  209. <artifactId>http-client</artifactId>
  210. <version>1.1.5.9</version>
  211. </dependency>
  212. </dependencies>
  213. <!-- 打包后包名在这里修改 -->
  214. <build>
  215. <finalName>sgyzt</finalName>
  216. <plugins>
  217. <plugin>
  218. <groupId>org.springframework.boot</groupId>
  219. <artifactId>spring-boot-maven-plugin</artifactId>
  220. <configuration>
  221. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  222. <!--<jvmArguments>-Dfile.encoding=UTF-8 -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005</jvmArguments>-->
  223. </configuration>
  224. </plugin>
  225. <!-- war 插件***********************-->
  226. <plugin>
  227. <groupId>org.apache.maven.plugins</groupId>
  228. <artifactId>maven-war-plugin</artifactId>
  229. <version>3.2.0</version>
  230. </plugin>
  231. <plugin>
  232. <groupId>org.apache.maven.plugins</groupId>
  233. <artifactId>maven-surefire-plugin</artifactId>
  234. <configuration>
  235. <skipTests>true</skipTests>
  236. </configuration>
  237. </plugin>
  238. <plugin>
  239. <groupId>com.spotify</groupId>
  240. <artifactId>docker-maven-plugin</artifactId>
  241. <version>1.1.1</version>
  242. <configuration>
  243. <!--<imageName>59.212.147.64:5000/shys-zhyp-back:2019-02-24-11-42 </imageName>-->
  244. <imageName>haikou/${project.artifactId}</imageName>
  245. <dockerDirectory>${project.basedir}/</dockerDirectory>
  246. <resources>
  247. <resource>
  248. <targetPath>/</targetPath>
  249. <directory>${project.build.directory}</directory>
  250. <include>${project.build.finalName}.jar</include>
  251. </resource>
  252. </resources>
  253. </configuration>
  254. </plugin>
  255. </plugins>
  256. </build>
  257. </project>