pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  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.0.6.RELEASE</version>
  10. <relativePath/>
  11. </parent>
  12. <groupId>com.inspur.idm</groupId>
  13. <artifactId>elevator-admin</artifactId>
  14. <version>1.2.0</version>
  15. <properties>
  16. <maven.compiler.source>8</maven.compiler.source>
  17. <maven.compiler.target>8</maven.compiler.target>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. <exclusions>
  25. <exclusion>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-tomcat</artifactId>
  28. </exclusion>
  29. </exclusions>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-undertow</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-data-redis</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  42. </dependency>
  43. <!-- 数据库操作相关依赖 -->
  44. <!-- <dependency>-->
  45. <!-- <groupId>org.mybatis.spring.boot</groupId>-->
  46. <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
  47. <!-- <version>2.0.0</version>-->
  48. <!-- </dependency>-->
  49. <dependency>
  50. <groupId>com.alibaba</groupId>
  51. <artifactId>druid-spring-boot-starter</artifactId>
  52. <version>1.1.21</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>mysql</groupId>
  56. <artifactId>mysql-connector-java</artifactId>
  57. <version>8.0.17</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.inspur.idm.pf</groupId>
  61. <artifactId>pf-core</artifactId>
  62. <exclusions>
  63. <exclusion>
  64. <groupId>org.mybatis</groupId>
  65. <artifactId>mybatis</artifactId>
  66. </exclusion>
  67. <exclusion>
  68. <groupId>com.github.pagehelper</groupId>
  69. <artifactId>pagehelper-spring-boot-starter</artifactId>
  70. </exclusion>
  71. </exclusions>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.github.pagehelper</groupId>
  75. <artifactId>pagehelper-spring-boot-starter</artifactId>
  76. <version>1.2.13</version>
  77. <exclusions>
  78. <exclusion>
  79. <groupId>com.github.jsqlparser</groupId>
  80. <artifactId>jsqlparser</artifactId>
  81. </exclusion>
  82. </exclusions>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.projectlombok</groupId>
  86. <artifactId>lombok</artifactId>
  87. <optional>true</optional>
  88. </dependency>
  89. <!-- 本地shell执行 -->
  90. <dependency>
  91. <groupId>org.apache.commons</groupId>
  92. <artifactId>commons-exec</artifactId>
  93. <version>1.3</version>
  94. </dependency>
  95. <!-- commons-lang3工具包 -->
  96. <dependency>
  97. <groupId>org.apache.commons</groupId>
  98. <artifactId>commons-lang3</artifactId>
  99. <version>3.9</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.alibaba</groupId>
  103. <artifactId>easyexcel</artifactId>
  104. <version>2.2.7</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.squareup.okhttp3</groupId>
  108. <artifactId>okhttp</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.baomidou</groupId>
  112. <artifactId>mybatis-plus-boot-starter</artifactId>
  113. <version>3.5.1</version>
  114. </dependency>
  115. <!--mybatis plus generator-->
  116. <dependency>
  117. <groupId>com.baomidou</groupId>
  118. <artifactId>mybatis-plus-generator</artifactId>
  119. <version>3.5.1</version>
  120. </dependency>
  121. <!-- freemarker -->
  122. <dependency>
  123. <groupId>org.freemarker</groupId>
  124. <artifactId>freemarker</artifactId>
  125. <version>2.3.28</version>
  126. </dependency>
  127. <!-- 阿里云短信 -->
  128. <dependency>
  129. <groupId>com.aliyun</groupId>
  130. <artifactId>dysmsapi20170525</artifactId>
  131. <version>2.0.24</version>
  132. </dependency>
  133. <!-- 阿里云语音 -->
  134. <dependency>
  135. <groupId>com.aliyun</groupId>
  136. <artifactId>dyvmsapi20170525</artifactId>
  137. <version>3.2.1</version>
  138. </dependency>
  139. <!-- 地理坐标计算工具类 -->
  140. <dependency>
  141. <groupId>org.gavaghan</groupId>
  142. <artifactId>geodesy</artifactId>
  143. <version>1.1.3</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework.boot</groupId>
  147. <artifactId>spring-boot-starter-test</artifactId>
  148. <scope>test</scope>
  149. </dependency>
  150. <!--pdf-->
  151. <dependency>
  152. <groupId>com.github.librepdf</groupId>
  153. <artifactId>openpdf</artifactId>
  154. <version>1.3.27</version>
  155. </dependency>
  156. <!--<dependency>
  157. <groupId>com.itextpdf</groupId>
  158. <artifactId>itextpdf</artifactId>
  159. <version>5.2.0</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.itextpdf</groupId>
  163. <artifactId>itext-asian</artifactId>
  164. <version>5.2.0</version>
  165. </dependency>-->
  166. <!--用于jfreechart生成图片 -->
  167. <!--用于生成图片 -->
  168. <dependency>
  169. <groupId>org.jfree</groupId>
  170. <artifactId>jfreechart</artifactId>
  171. <version>1.5.0</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>jfree</groupId>
  175. <artifactId>jcommon</artifactId>
  176. <version>1.0.16</version>
  177. </dependency>
  178. <!-- jiguang-sdk -->
  179. <dependency>
  180. <groupId>io.github.jpush</groupId>
  181. <artifactId>jiguang-sdk</artifactId>
  182. <version>5.0.3</version>
  183. <exclusions>
  184. <exclusion>
  185. <artifactId>feign-form</artifactId>
  186. <groupId>io.github.openfeign.form</groupId>
  187. </exclusion>
  188. <exclusion>
  189. <artifactId>feign-core</artifactId>
  190. <groupId>io.github.openfeign</groupId>
  191. </exclusion>
  192. <exclusion>
  193. <groupId>com.squareup.okhttp3</groupId>
  194. <artifactId>okhttp</artifactId>
  195. </exclusion>
  196. </exclusions>
  197. </dependency>
  198. </dependencies>
  199. <dependencyManagement>
  200. <dependencies>
  201. <dependency>
  202. <groupId>com.inspur.idm.pf</groupId>
  203. <artifactId>pf-dependencies</artifactId>
  204. <version>3.1.1</version>
  205. <type>pom</type>
  206. <scope>import</scope>
  207. </dependency>
  208. </dependencies>
  209. </dependencyManagement>
  210. <build>
  211. <plugins>
  212. <plugin>
  213. <groupId>org.apache.maven.plugins</groupId>
  214. <artifactId>maven-compiler-plugin</artifactId>
  215. <configuration>
  216. <excludes>
  217. <exclude>mybatisplus/**</exclude>
  218. </excludes>
  219. </configuration>
  220. </plugin>
  221. <plugin>
  222. <groupId>org.springframework.boot</groupId>
  223. <artifactId>spring-boot-maven-plugin</artifactId>
  224. <configuration>
  225. <includeSystemScope>true</includeSystemScope>
  226. </configuration>
  227. </plugin>
  228. <plugin>
  229. <groupId>org.mybatis.generator</groupId>
  230. <artifactId>mybatis-generator-maven-plugin</artifactId>
  231. <version>1.3.7</version>
  232. <configuration>
  233. <verbose>true</verbose>
  234. <overwrite>true</overwrite>
  235. </configuration>
  236. <dependencies>
  237. <dependency>
  238. <groupId>org.mybatis.generator</groupId>
  239. <artifactId>mybatis-generator-core</artifactId>
  240. <version>1.3.7</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>mysql</groupId>
  244. <artifactId>mysql-connector-java</artifactId>
  245. <version>8.0.17</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>com.inspur.idm.plantform</groupId>
  249. <artifactId>code-gen-plugin</artifactId>
  250. <version>1.1.2</version>
  251. </dependency>
  252. </dependencies>
  253. </plugin>
  254. <plugin>
  255. <groupId>com.inspur.idm.plantform</groupId>
  256. <artifactId>codegen-maven-plugin</artifactId>
  257. <version>1.1.3</version>
  258. <dependencies>
  259. <dependency>
  260. <groupId>mysql</groupId>
  261. <artifactId>mysql-connector-java</artifactId>
  262. <version>8.0.17</version>
  263. </dependency>
  264. </dependencies>
  265. </plugin>
  266. <plugin>
  267. <groupId>com.spotify</groupId>
  268. <artifactId>docker-maven-plugin</artifactId>
  269. <version>1.2.1</version>
  270. <configuration>
  271. <skipDocker>false</skipDocker>
  272. <serverId>docker-hub</serverId>
  273. <imageName>
  274. 192.168.3.20:8080/media-manage/${project.artifactId}:${project.version}
  275. </imageName>
  276. <dockerHost>http://192.168.3.30:2375</dockerHost>
  277. <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
  278. <resources>
  279. <resource>
  280. <targetPath>/</targetPath>
  281. <directory>${project.build.directory}</directory>
  282. <include>${project.build.finalName}.jar</include>
  283. </resource>
  284. </resources>
  285. </configuration>
  286. </plugin>
  287. </plugins>
  288. <resources>
  289. <resource>
  290. <directory>src/main/resources</directory>
  291. <includes>
  292. <include>**/*.*</include>
  293. </includes>
  294. <filtering>true</filtering>
  295. </resource>
  296. <!-- <resource>-->
  297. <!-- <directory>lib</directory>-->
  298. <!-- <includes>-->
  299. <!-- <include>**/*.jar</include>-->
  300. <!-- </includes>-->
  301. <!-- <filtering>true</filtering>-->
  302. <!-- </resource>-->
  303. </resources>
  304. </build>
  305. </project>