pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  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. <groupId>platform</groupId>
  7. <artifactId>snd-escloud</artifactId>
  8. <packaging>war</packaging>
  9. <version>1.0-SNAPSHOT</version>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>1.5.4.RELEASE</version>
  14. </parent>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <thymeleaf.version>3.0.0.RELEASE</thymeleaf.version>
  19. <thymeleaf-layout-dialect.version>2.0.0</thymeleaf-layout-dialect.version>
  20. <shiro.version>1.3.2</shiro.version>
  21. <!-- <poi.version>3.9</poi.version>-->
  22. <thymeleaf-shiro.version>2.0.0</thymeleaf-shiro.version>
  23. <hutool.version>2.16.0</hutool.version>
  24. <commons-io.version>2.4</commons-io.version>
  25. <commons-lang3.version>3.5</commons-lang3.version>
  26. <commons-fileupload.version>1.3.2</commons-fileupload.version>
  27. <commons-codec.version>1.10</commons-codec.version>
  28. <commons-collections4.version>4.1</commons-collections4.version>
  29. <quartz.version>2.3.0</quartz.version>
  30. <lombok.version>1.16.14</lombok.version>
  31. <mybatis-spring-boot.version>1.3.0</mybatis-spring-boot.version>
  32. <pagehelper-spring-boot.version>1.1.2</pagehelper-spring-boot.version>
  33. <mapper-spring-boot.version>1.1.3</mapper-spring-boot.version>
  34. <java.version>1.8</java.version>
  35. <springfox.version>2.6.1</springfox.version>
  36. <httpclient.version>4.3.5</httpclient.version>
  37. <okhttp.version>3.8.0</okhttp.version>
  38. <druid-spring-boot.version>1.1.2</druid-spring-boot.version>
  39. <feilong-platform.version>1.10.5</feilong-platform.version>
  40. <jwt.version>0.7.0</jwt.version>
  41. </properties>
  42. <repositories>
  43. <repository>
  44. <id>feilong-repository</id>
  45. <url>https://raw.github.com/venusdrogon/feilong-platform/repository</url>
  46. </repository>
  47. </repositories>
  48. <dependencies>
  49. <!--<dependency>-->
  50. <!--<groupId>org.flywaydb</groupId>-->
  51. <!--<artifactId>flyway-core</artifactId>-->
  52. <!--<version>5.0.3</version>-->
  53. <!--</dependency>-->
  54. <!--web支持-->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-web</artifactId>
  58. <exclusions>
  59. <exclusion>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-tomcat</artifactId>
  62. </exclusion>
  63. </exclusions>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-tomcat</artifactId>
  68. <!--<scope>complie</scope>-->
  69. </dependency>
  70. <!--<dependency>-->
  71. <!--<groupId>org.springframework.boot</groupId>-->
  72. <!--<artifactId>spring-boot-starter-security</artifactId>-->
  73. <!--</dependency>-->
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-jdbc</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-aop</artifactId>
  81. </dependency>
  82. <!-- Junit 单元测试 -->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-test</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. <!-- 支持 @ConfigurationProperties 注解 -->
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-configuration-processor</artifactId>
  92. <optional>true</optional>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-actuator</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>io.prometheus</groupId>
  100. <artifactId>simpleclient_spring_boot</artifactId>
  101. <version>0.0.26</version>
  102. </dependency>
  103. <!-- Email -->
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-mail</artifactId>
  107. </dependency>
  108. <!-- 添加redis支持-->
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-data-redis</artifactId>
  112. </dependency>
  113. <!--<dependency>-->
  114. <!--<groupId>org.springframework.boot</groupId>-->
  115. <!--<artifactId>spring-boot-starter-cache</artifactId>-->
  116. <!--</dependency>-->
  117. <!--mybatis-->
  118. <dependency>
  119. <groupId>org.mybatis.spring.boot</groupId>
  120. <artifactId>mybatis-spring-boot-starter</artifactId>
  121. <version>${mybatis-spring-boot.version}</version>
  122. </dependency>
  123. <!--daopper-->
  124. <dependency>
  125. <groupId>tk.mybatis</groupId>
  126. <artifactId>mapper-spring-boot-starter</artifactId>
  127. <version>${mapper-spring-boot.version}</version>
  128. </dependency>
  129. <!--pagehelper-->
  130. <dependency>
  131. <groupId>com.github.pagehelper</groupId>
  132. <artifactId>pagehelper-spring-boot-starter</artifactId>
  133. <version>${pagehelper-spring-boot.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>mysql</groupId>
  137. <artifactId>mysql-connector-java</artifactId>
  138. <scope>runtime</scope>
  139. </dependency>
  140. <!-- 数据库连接池 -->
  141. <dependency>
  142. <groupId>com.alibaba</groupId>
  143. <artifactId>druid-spring-boot-starter</artifactId>
  144. <version>${druid-spring-boot.version}</version>
  145. </dependency>
  146. <!-- 只需引入spring-boot-devtools 即可实现热部署 -->
  147. <dependency>
  148. <groupId>org.springframework.boot</groupId>
  149. <artifactId>spring-boot-devtools</artifactId>
  150. <optional>true</optional>
  151. </dependency>
  152. <!--thymeleaf模版支持-->
  153. <dependency>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  156. </dependency>
  157. <!-- shiro spring. -->
  158. <dependency>
  159. <groupId>org.apache.shiro</groupId>
  160. <artifactId>shiro-spring</artifactId>
  161. <version>${shiro.version}</version>
  162. </dependency>
  163. <!-- shiro 页面标签库 -->
  164. <dependency>
  165. <groupId>com.github.theborakompanioni</groupId>
  166. <artifactId>thymeleaf-extras-shiro</artifactId>
  167. <version>${thymeleaf-shiro.version}</version>
  168. </dependency>
  169. <!-- shiro ehcache -->
  170. <dependency>
  171. <groupId>org.apache.shiro</groupId>
  172. <artifactId>shiro-ehcache</artifactId>
  173. <version>${shiro.version}</version>
  174. </dependency>
  175. <!--
  176. 包含支持UI模版(Velocity,FreeMarker,JasperReports),
  177. 邮件服务,
  178. 脚本服务(JRuby),
  179. 缓存Cache(EHCache),
  180. 任务计划Scheduling(quartz)。
  181. -->
  182. <dependency>
  183. <groupId>org.springframework</groupId>
  184. <artifactId>spring-context-support</artifactId>
  185. </dependency>
  186. <dependency>
  187. <groupId>commons-io</groupId>
  188. <artifactId>commons-io</artifactId>
  189. <version>${commons-io.version}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.apache.commons</groupId>
  193. <artifactId>commons-lang3</artifactId>
  194. <version>${commons-lang3.version}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>commons-fileupload</groupId>
  198. <artifactId>commons-fileupload</artifactId>
  199. <version>${commons-fileupload.version}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.apache.commons</groupId>
  203. <artifactId>commons-collections4</artifactId>
  204. <version>${commons-collections4.version}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>com.xiaoleilu</groupId>
  208. <artifactId>hutool</artifactId>
  209. <version>${hutool.version}</version>
  210. </dependency>
  211. <!-- <dependency>-->
  212. <!-- <groupId>com.feilong.platform</groupId>-->
  213. <!-- <artifactId>feilong-core</artifactId>-->
  214. <!-- <version>${feilong-platform.version}</version>-->
  215. <!-- </dependency>-->
  216. <dependency>
  217. <groupId>commons-codec</groupId>
  218. <artifactId>commons-codec</artifactId>
  219. <version>${commons-codec.version}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>com.alibaba</groupId>
  223. <artifactId>fastjson</artifactId>
  224. <version>1.2.44</version>
  225. </dependency>
  226. <!-- poi office -->
  227. <!-- <dependency>-->
  228. <!-- <groupId>org.apache.poi</groupId>-->
  229. <!-- <artifactId>poi</artifactId>-->
  230. <!-- <version>${poi.version}</version>-->
  231. <!-- </dependency>-->
  232. <!-- <dependency>-->
  233. <!-- <groupId>org.apache.poi</groupId>-->
  234. <!-- <artifactId>poi-ooxml</artifactId>-->
  235. <!-- <version>${poi.version}</version>-->
  236. <!-- </dependency>-->
  237. <!-- <dependency>-->
  238. <!-- <groupId>org.apache.poi</groupId>-->
  239. <!-- <artifactId>poi-ooxml-schemas</artifactId>-->
  240. <!-- <version>${poi.version}</version>-->
  241. <!-- </dependency>-->
  242. <dependency>
  243. <groupId>org.projectlombok</groupId>
  244. <artifactId>lombok</artifactId>
  245. <version>${lombok.version}</version>
  246. </dependency>
  247. <!-- Swagger2核心包-->
  248. <dependency>
  249. <groupId>io.springfox</groupId>
  250. <artifactId>springfox-swagger2</artifactId>
  251. <version>${springfox.version}</version>
  252. </dependency>
  253. <!-- Swagger2 UI包,前端展示API文档 -->
  254. <dependency>
  255. <groupId>io.springfox</groupId>
  256. <artifactId>springfox-swagger-ui</artifactId>
  257. <version>${springfox.version}</version>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.bouncycastle</groupId>
  261. <artifactId>bcprov-jdk15on</artifactId>
  262. <version>1.63</version>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.apache.httpcomponents</groupId>
  266. <artifactId>httpclient</artifactId>
  267. <version>4.5.2</version>
  268. </dependency>
  269. <!-- httpclient -->
  270. <!--<dependency>-->
  271. <!--<groupId>org.apache.httpcomponents</groupId>-->
  272. <!--<artifactId>httpclient</artifactId>-->
  273. <!--<version>${httpclient.version}</version>-->
  274. <!--</dependency>-->
  275. <dependency>
  276. <groupId>com.squareup.okhttp3</groupId>
  277. <artifactId>okhttp</artifactId>
  278. <version>${okhttp.version}</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>org.springframework</groupId>
  282. <artifactId>springloaded</artifactId>
  283. </dependency>
  284. <dependency>
  285. <groupId>com.google.code.gson</groupId>
  286. <artifactId>gson</artifactId>
  287. <version>2.7</version>
  288. </dependency>
  289. <!-- httpclient 上传文件至文件服务器 -->
  290. <dependency>
  291. <groupId>org.apache.httpcomponents</groupId>
  292. <artifactId>httpmime</artifactId>
  293. <version>4.5.2</version>
  294. </dependency>
  295. <!-- 阿里大鱼短信 -->
  296. <dependency>
  297. <groupId>com.aliyun</groupId>
  298. <artifactId>aliyun-java-sdk-core</artifactId>
  299. <version>3.2.8</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>com.aliyun</groupId>
  303. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  304. <version>1.1.0</version>
  305. </dependency>
  306. <!-- json web token -->
  307. <dependency>
  308. <groupId>io.jsonwebtoken</groupId>
  309. <artifactId>jjwt</artifactId>
  310. <version>${jwt.version}</version>
  311. </dependency>
  312. <!--&lt;!&ndash; https://mvnrepository.com/artifact/com.google.gwt/gwt-user &ndash;&gt;-->
  313. <dependency>
  314. <groupId>com.google.gwt</groupId>
  315. <artifactId>gwt-user</artifactId>
  316. <version>2.8.2</version>
  317. </dependency>
  318. <!-- https://mvnrepository.com/artifact/org.jxls/jxls -->
  319. <dependency>
  320. <groupId>org.jxls</groupId>
  321. <artifactId>jxls</artifactId>
  322. <version>2.4.7</version>
  323. </dependency>
  324. <dependency>
  325. <groupId>com.alibaba</groupId>
  326. <artifactId>easyexcel</artifactId>
  327. <version>2.1.6</version>
  328. </dependency>
  329. <!-- ETL -->
  330. <dependency>
  331. <groupId>com.javaforge.scriptella</groupId>
  332. <artifactId>scriptella-core</artifactId>
  333. <version>1.1</version>
  334. </dependency>
  335. <dependency>
  336. <groupId>com.javaforge.scriptella</groupId>
  337. <artifactId>scriptella-drivers</artifactId>
  338. <version>1.1</version>
  339. </dependency>
  340. <dependency>
  341. <groupId>com.javaforge.scriptella</groupId>
  342. <artifactId>scriptella-tools</artifactId>
  343. <version>1.1</version>
  344. </dependency>
  345. </dependencies>
  346. <build>
  347. <finalName>${artifactId}</finalName>
  348. <plugins>
  349. <!-- <plugin>
  350. <groupId>org.apache.maven.plugins</groupId>
  351. <artifactId>maven-resources-plugin</artifactId>
  352. &lt;!&ndash;排除对二进制文件的过滤,解决字体图标无法显示&ndash;&gt;
  353. <configuration>
  354. <nonFilteredFileExtensions>
  355. &lt;!&ndash; fonts &ndash;&gt;
  356. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  357. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  358. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  359. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  360. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  361. </nonFilteredFileExtensions>
  362. </configuration>
  363. </plugin>-->
  364. <plugin>
  365. <groupId>org.apache.maven.plugins</groupId>
  366. <artifactId>maven-compiler-plugin</artifactId>
  367. <version>3.5.1</version>
  368. <configuration>
  369. <source>${java.version}</source>
  370. <target>${java.version}</target>
  371. <encoding>UTF-8</encoding>
  372. </configuration>
  373. </plugin>
  374. <plugin>
  375. <groupId>org.apache.maven.plugins</groupId>
  376. <artifactId>maven-surefire-plugin</artifactId>
  377. <version>2.19.1</version>
  378. </plugin>
  379. <plugin>
  380. <groupId>org.springframework.boot</groupId>
  381. <artifactId>spring-boot-maven-plugin</artifactId>
  382. <configuration>
  383. <mainClass>platform.RootApplication</mainClass>
  384. <jvmArguments>-Dfile.encoding=UTF-8 -Xdebug
  385. -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
  386. </jvmArguments>
  387. <executable>true</executable>
  388. <fork>true</fork>
  389. </configuration>
  390. </plugin>
  391. </plugins>
  392. </build>
  393. <distributionManagement>
  394. <repository>
  395. <!--这里的id与settings.xml中的servers节点配置的用户ID一直,这样才能使用配置的用户去上传到maven私有仓库 -->
  396. <!--此仓库对应的为RELEASE版本的jar-->
  397. <id>public</id>
  398. <url>http://221.224.91.21:9019/repository/maven-releases/</url>
  399. </repository>
  400. <snapshotRepository>
  401. <!--这里的id与settings.xml中的servers节点配置的用户ID一直,这样才能使用配置的用户去上传到maven私有仓库 -->
  402. <!--此仓库对应的为SNAPSHOT版本的jar-->
  403. <id>public</id>
  404. <url>http://221.224.91.21:9019/repository/maven-snapshots/</url>
  405. </snapshotRepository>
  406. </distributionManagement>
  407. </project>