pom.xml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  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>cn.com.contrygraden.bi</groupId>
  7. <artifactId>DPshow_depart</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>war</packaging>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <poi.version>3.16</poi.version>
  13. <HikariCP.version>2.6.1</HikariCP.version>
  14. <spring.version>4.3.10.RELEASE</spring.version>
  15. <mybatis.version>3.4.4</mybatis.version>
  16. <mybatis.spring.version>1.3.1</mybatis.spring.version>
  17. <mybatis.generator.core.version>1.3.5</mybatis.generator.core.version>
  18. <mybatis.freemarker.version>1.1.1</mybatis.freemarker.version>
  19. <mysql.connector.java.version>5.1.45</mysql.connector.java.version>
  20. <commons.collections4.version>4.1</commons.collections4.version>
  21. <commons.fileupload.version>1.3.1</commons.fileupload.version>
  22. <commons.io.version>2.4</commons.io.version>
  23. <commons.lang.version>2.6</commons.lang.version>
  24. <sqljdbc4.version>4.0</sqljdbc4.version>
  25. <targetJavaProject>${basedir}/src</targetJavaProject>
  26. <pagehelper.version>5.1.0</pagehelper.version>
  27. <targetResourceProject>${basedir}/resources</targetResourceProject>
  28. <logback.version>1.2.3</logback.version>
  29. <slf4.version>1.7.25</slf4.version>
  30. <easypoi.version>2.4.0</easypoi.version>
  31. <weixin-java-mp.version>3.9.0</weixin-java-mp.version>
  32. </properties>
  33. <repositories>
  34. <repository>
  35. <id>clojars.org</id>
  36. <url>http://clojars.org/repo</url>
  37. </repository>
  38. <repository>
  39. <id>nuxeo</id>
  40. <url>https://maven-eu.nuxeo.org/nexus/content/repositories/public-releases/</url>
  41. </repository>
  42. <repository>
  43. <id>bgyfw</id>
  44. <name>Release</name>
  45. <url>http://10.10.171.169:65116/repository/bgyfw/</url>
  46. </repository>
  47. <repository>
  48. <id>public</id>
  49. <name>aliyun nexus</name>
  50. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  51. <releases>
  52. <enabled>true</enabled>
  53. </releases>
  54. </repository>
  55. </repositories>
  56. <dependencies>
  57. <dependency>
  58. <groupId>io.github.biezhi</groupId>
  59. <artifactId>oh-my-email</artifactId>
  60. <version>0.0.4</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>net.sf.json-lib</groupId>
  64. <artifactId>json-lib</artifactId>
  65. <version>2.4</version>
  66. <classifier>jdk15</classifier>
  67. </dependency>
  68. <dependency>
  69. <groupId>commons-codec</groupId>
  70. <artifactId>commons-codec</artifactId>
  71. <version>1.10</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>commons-net</groupId>
  75. <artifactId>commons-net</artifactId>
  76. <version>3.5</version>
  77. </dependency>
  78. <!--短信相关 SDK -->
  79. <dependency>
  80. <groupId>com.aliyun.api.gateway</groupId>
  81. <artifactId>sdk-core-java</artifactId>
  82. <version>1.0.4</version>
  83. </dependency>
  84. <!-- https://mvnrepository.com/artifact/com.aliyun.oss/aliyun-sdk-oss chenzhe 11.28-->
  85. <dependency>
  86. <groupId>com.aliyun.oss</groupId>
  87. <artifactId>aliyun-sdk-oss</artifactId>
  88. <version>2.8.0</version>
  89. </dependency>
  90. <!-- spring -->
  91. <dependency>
  92. <groupId>org.springframework</groupId>
  93. <artifactId>spring-core</artifactId>
  94. <version>${spring.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework</groupId>
  98. <artifactId>spring-jdbc</artifactId>
  99. <version>${spring.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springframework</groupId>
  103. <artifactId>spring-web</artifactId>
  104. <version>${spring.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework</groupId>
  108. <artifactId>spring-tx</artifactId>
  109. <version>${spring.version}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.springframework</groupId>
  113. <artifactId>spring-orm</artifactId>
  114. <version>${spring.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework</groupId>
  118. <artifactId>spring-aop</artifactId>
  119. <version>${spring.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.springframework</groupId>
  123. <artifactId>spring-aspects</artifactId>
  124. <version>${spring.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.springframework</groupId>
  128. <artifactId>spring-beans</artifactId>
  129. <version>${spring.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.springframework</groupId>
  133. <artifactId>spring-context</artifactId>
  134. <version>${spring.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework</groupId>
  138. <artifactId>spring-context-support</artifactId>
  139. <version>${spring.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework</groupId>
  143. <artifactId>spring-expression</artifactId>
  144. <version>${spring.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.springframework</groupId>
  148. <artifactId>spring-webmvc</artifactId>
  149. <version>${spring.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.aspectj</groupId>
  153. <artifactId>aspectjrt</artifactId>
  154. <version>1.8.6</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.aspectj</groupId>
  158. <artifactId>aspectjweaver</artifactId>
  159. <version>1.8.6</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>javax.transaction</groupId>
  163. <artifactId>jta</artifactId>
  164. <version>1.1</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>aopalliance</groupId>
  168. <artifactId>aopalliance</artifactId>
  169. <version>1.0</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.jboss.spec.javax.transaction</groupId>
  173. <artifactId>jboss-transaction-api_1.2_spec</artifactId>
  174. <version>1.0.0.Final</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>javax.activation</groupId>
  178. <artifactId>activation</artifactId>
  179. <version>1.1</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>javax.persistence</groupId>
  183. <artifactId>persistence-api</artifactId>
  184. <version>1.0</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>javax.xml.rpc</groupId>
  188. <artifactId>javax.xml.rpc-api</artifactId>
  189. <version>1.1.1</version>
  190. </dependency>
  191. <!--<dependency>-->
  192. <!--<groupId>org.apache.axis</groupId>-->
  193. <!--<artifactId>com.springsource.org.apache.axis</artifactId>-->
  194. <!--<version>1.4.0</version>-->
  195. <!--&lt;!&ndash;<classifier>sources</classifier> &ndash;&gt;-->
  196. <!--</dependency>-->
  197. <dependency>
  198. <groupId>org.apache.axis</groupId>
  199. <artifactId>axis</artifactId>
  200. <version>1.4</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>commons-discovery</groupId>
  204. <artifactId>commons-discovery</artifactId>
  205. <version>0.2</version>
  206. <exclusions>
  207. <exclusion>
  208. <groupId>commons-logging</groupId>
  209. <artifactId>commons-logging</artifactId>
  210. </exclusion>
  211. </exclusions>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.apache.axis</groupId>
  215. <artifactId>axis-jaxrpc</artifactId>
  216. <version>1.4</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.apache.axis</groupId>
  220. <artifactId>axis-saaj</artifactId>
  221. <version>1.4</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>wsdl4j</groupId>
  225. <artifactId>wsdl4j</artifactId>
  226. <version>1.4</version>
  227. </dependency>
  228. <!--excel导出-->
  229. <dependency>
  230. <groupId>org.jeecg</groupId>
  231. <artifactId>easypoi-base</artifactId>
  232. <version>${easypoi.version}</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.jeecg</groupId>
  236. <artifactId>easypoi-web</artifactId>
  237. <version>${easypoi.version}</version>
  238. <exclusions>
  239. <exclusion>
  240. <groupId>org.springframework</groupId>
  241. <artifactId>spring-web</artifactId>
  242. </exclusion>
  243. <exclusion>
  244. <groupId>org.springframework</groupId>
  245. <artifactId>spring-webmvc</artifactId>
  246. </exclusion>
  247. <exclusion>
  248. <groupId>org.springframework</groupId>
  249. <artifactId>spring-core</artifactId>
  250. </exclusion>
  251. </exclusions>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.jeecg</groupId>
  255. <artifactId>easypoi-annotation</artifactId>
  256. <version>${easypoi.version}</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>org.apache.poi</groupId>
  260. <artifactId>poi</artifactId>
  261. <version>${poi.version}</version>
  262. <exclusions>
  263. <exclusion>
  264. <artifactId>commons-codec</artifactId>
  265. <groupId>commons-codec</groupId>
  266. </exclusion>
  267. </exclusions>
  268. </dependency>
  269. <!--poi -->
  270. <dependency>
  271. <groupId>org.apache.poi</groupId>
  272. <artifactId>poi</artifactId>
  273. <version>${poi.version}</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>org.apache.poi</groupId>
  277. <artifactId>poi-ooxml</artifactId>
  278. <version>${poi.version}</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>org.apache.poi</groupId>
  282. <artifactId>poi-scratchpad</artifactId>
  283. <version>${poi.version}</version>
  284. </dependency>
  285. <dependency>
  286. <groupId>org.apache.poi</groupId>
  287. <artifactId>poi-ooxml-schemas</artifactId>
  288. <version>${poi.version}</version>
  289. </dependency>
  290. <!-- mybatis -->
  291. <dependency>
  292. <groupId>org.mybatis</groupId>
  293. <artifactId>mybatis</artifactId>
  294. <version>${mybatis.version}</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>org.mybatis</groupId>
  298. <artifactId>mybatis-spring</artifactId>
  299. <version>${mybatis.spring.version}</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>org.mybatis.generator</groupId>
  303. <artifactId>mybatis-generator-core</artifactId>
  304. <version>${mybatis.generator.core.version}</version>
  305. </dependency>
  306. <dependency>
  307. <groupId>org.mybatis.scripting</groupId>
  308. <artifactId>mybatis-freemarker</artifactId>
  309. <version>${mybatis.freemarker.version}</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>tk.mybatis</groupId>
  313. <artifactId>mapper</artifactId>
  314. <version>3.4.2</version>
  315. <exclusions>
  316. <exclusion>
  317. <groupId>javax.persistence</groupId>
  318. <artifactId>persistence-api</artifactId>
  319. </exclusion>
  320. </exclusions>
  321. </dependency>
  322. <dependency>
  323. <groupId>com.github.pagehelper</groupId>
  324. <artifactId>pagehelper</artifactId>
  325. <version>${pagehelper.version}</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>javax.persistence</groupId>
  329. <artifactId>persistence-api</artifactId>
  330. <version>1.0</version>
  331. </dependency>
  332. <!-- mssql -->
  333. <dependency>
  334. <groupId>com.microsoft.sqlserver</groupId>
  335. <artifactId>sqljdbc4</artifactId>
  336. <version>${sqljdbc4.version}</version>
  337. </dependency>
  338. <!-- mysql -->
  339. <dependency>
  340. <groupId>mysql</groupId>
  341. <artifactId>mysql-connector-java</artifactId>
  342. <version>${mysql.connector.java.version}</version>
  343. </dependency>
  344. <!-- commons -->
  345. <dependency>
  346. <groupId>org.apache.commons</groupId>
  347. <artifactId>commons-collections4</artifactId>
  348. <version>${commons.collections4.version}</version>
  349. </dependency>
  350. <dependency>
  351. <groupId>commons-beanutils</groupId>
  352. <artifactId>commons-beanutils</artifactId>
  353. <version>1.9.3</version>
  354. </dependency>
  355. <dependency>
  356. <groupId>commons-fileupload</groupId>
  357. <artifactId>commons-fileupload</artifactId>
  358. <version>${commons.fileupload.version}</version>
  359. </dependency>
  360. <dependency>
  361. <groupId>commons-io</groupId>
  362. <artifactId>commons-io</artifactId>
  363. <version>${commons.io.version}</version>
  364. </dependency>
  365. <dependency>
  366. <groupId>commons-lang</groupId>
  367. <artifactId>commons-lang</artifactId>
  368. <version>${commons.lang.version}</version>
  369. </dependency>
  370. <dependency>
  371. <groupId>org.javassist</groupId>
  372. <artifactId>javassist</artifactId>
  373. <version>3.18.1-GA</version>
  374. </dependency>
  375. <!-- json -->
  376. <dependency>
  377. <groupId>com.alibaba</groupId>
  378. <artifactId>fastjson</artifactId>
  379. <version>1.2.37</version>
  380. </dependency>
  381. <dependency>
  382. <groupId>com.fasterxml.jackson.core</groupId>
  383. <artifactId>jackson-core</artifactId>
  384. <version>2.6.0</version>
  385. </dependency>
  386. <dependency>
  387. <groupId>com.fasterxml.jackson.core</groupId>
  388. <artifactId>jackson-annotations</artifactId>
  389. <version>2.6.0</version>
  390. </dependency>
  391. <dependency>
  392. <groupId>com.fasterxml.jackson.core</groupId>
  393. <artifactId>jackson-databind</artifactId>
  394. <version>2.6.0</version>
  395. </dependency>
  396. <!-- ehcache -->
  397. <dependency>
  398. <groupId>net.sf.ehcache</groupId>
  399. <artifactId>ehcache-core</artifactId>
  400. <version>2.6.9</version>
  401. </dependency>
  402. <dependency>
  403. <groupId>org.ehcache</groupId>
  404. <artifactId>ehcache</artifactId>
  405. <version>3.6.0</version>
  406. </dependency>
  407. <!-- db pool -->
  408. <dependency>
  409. <groupId>com.zaxxer</groupId>
  410. <artifactId>HikariCP</artifactId>
  411. <version>${HikariCP.version}</version>
  412. </dependency>
  413. <dependency>
  414. <groupId>com.alibaba</groupId>
  415. <artifactId>druid</artifactId>
  416. <version>1.1.0</version>
  417. <exclusions>
  418. <exclusion>
  419. <groupId>com.alibaba</groupId>
  420. <artifactId>jconsole</artifactId>
  421. </exclusion>
  422. <exclusion>
  423. <groupId>com.alibaba</groupId>
  424. <artifactId>tools</artifactId>
  425. </exclusion>
  426. </exclusions>
  427. </dependency>
  428. <!-- jedis -->
  429. <dependency>
  430. <groupId>redis.clients</groupId>
  431. <artifactId>jedis</artifactId>
  432. <version>2.8.0</version>
  433. </dependency>
  434. <!--httpclient --> <!-- chenzhe 原版本4.3.5 更新致4.4.1-->
  435. <dependency>
  436. <groupId>org.apache.httpcomponents</groupId>
  437. <artifactId>httpclient</artifactId>
  438. <version>4.4.1</version>
  439. </dependency>
  440. <dependency>
  441. <groupId>org.apache.httpcomponents</groupId>
  442. <artifactId>httpmime</artifactId>
  443. <version>4.4.1</version>
  444. </dependency>
  445. <dependency>
  446. <groupId>org.apache.httpcomponents</groupId>
  447. <artifactId>httpcore</artifactId>
  448. <version>4.4.1</version>
  449. </dependency>
  450. <!-- log -->
  451. <dependency>
  452. <groupId>ch.qos.logback</groupId>
  453. <artifactId>logback-classic</artifactId>
  454. <version>${logback.version}</version>
  455. </dependency>
  456. <!-- https://mvnrepository.com/artifact/com.qcloud/cos_api -->
  457. <dependency>
  458. <groupId>com.qcloud</groupId>
  459. <artifactId>cos_api</artifactId>
  460. <version>5.5.1</version>
  461. <exclusions>
  462. <exclusion>
  463. <artifactId>slf4j-log4j12</artifactId>
  464. <groupId>org.slf4j</groupId>
  465. </exclusion>
  466. </exclusions>
  467. </dependency>
  468. <dependency>
  469. <groupId>org.slf4j</groupId>
  470. <artifactId>slf4j-api</artifactId>
  471. <version>${slf4.version}</version>
  472. </dependency>
  473. <dependency>
  474. <groupId>ch.qos.logback</groupId>
  475. <artifactId>logback-access</artifactId>
  476. <version>${logback.version}</version>
  477. </dependency>
  478. <dependency>
  479. <groupId>ch.qos.logback</groupId>
  480. <artifactId>logback-core</artifactId>
  481. <version>${logback.version}</version>
  482. </dependency>
  483. <dependency>
  484. <groupId>org.logback-extensions</groupId>
  485. <artifactId>logback-ext-spring</artifactId>
  486. <version>0.1.4</version>
  487. </dependency>
  488. <dependency>
  489. <groupId>net.logstash.logback</groupId>
  490. <artifactId>logstash-logback-encoder</artifactId>
  491. <version>4.11</version>
  492. </dependency>
  493. <!-- servlet -->
  494. <dependency>
  495. <groupId>javax.servlet</groupId>
  496. <artifactId>javax.servlet-api</artifactId>
  497. <version>3.0.1</version>
  498. <scope>provided</scope>
  499. </dependency>
  500. <dependency>
  501. <groupId>org.hamcrest</groupId>
  502. <artifactId>hamcrest-all</artifactId>
  503. <version>1.3</version>
  504. </dependency>
  505. <!-- test -->
  506. <!-- https://mvnrepository.com/artifact/junit/junit -->
  507. <dependency>
  508. <groupId>junit</groupId>
  509. <artifactId>junit</artifactId>
  510. <version>4.12</version>
  511. <scope>test</scope>
  512. </dependency>
  513. <dependency>
  514. <groupId>org.springframework</groupId>
  515. <artifactId>spring-test</artifactId>
  516. <version>${spring.version}</version>
  517. <scope>test</scope>
  518. </dependency>
  519. <dependency>
  520. <groupId>com.squareup.okhttp3</groupId>
  521. <artifactId>okhttp</artifactId>
  522. <version>3.9.1</version>
  523. </dependency>
  524. <dependency>
  525. <groupId>joda-time</groupId>
  526. <artifactId>joda-time</artifactId>
  527. <version>2.4</version>
  528. </dependency>
  529. <!-- gson -->
  530. <dependency>
  531. <groupId>com.google.code.gson</groupId>
  532. <artifactId>gson</artifactId>
  533. <version>2.2.4</version>
  534. </dependency>
  535. <!-- dbutils -->
  536. <dependency>
  537. <groupId>commons-dbutils</groupId>
  538. <artifactId>commons-dbutils</artifactId>
  539. <version>1.6</version>
  540. </dependency>
  541. <dependency>
  542. <groupId>dom4j</groupId>
  543. <artifactId>dom4j</artifactId>
  544. <version>1.6.1</version>
  545. </dependency>
  546. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok chenzhe 11.28-->
  547. <dependency>
  548. <groupId>org.projectlombok</groupId>
  549. <artifactId>lombok</artifactId>
  550. <version>1.18.2</version>
  551. <scope>provided</scope>
  552. </dependency>
  553. <!-- https://mvnrepository.com/artifact/com.belerweb/pinyin4j chenzhe 11.28-->
  554. <dependency>
  555. <groupId>com.belerweb</groupId>
  556. <artifactId>pinyin4j</artifactId>
  557. <version>2.5.0</version>
  558. </dependency>
  559. <dependency>
  560. <groupId>cn.hutool</groupId>
  561. <artifactId>hutool-all</artifactId>
  562. <version>4.1.19</version>
  563. </dependency>
  564. <!-- <dependency>-->
  565. <!-- <groupId>com.bgyfw</groupId>-->
  566. <!-- <artifactId>auth-sdk</artifactId>-->
  567. <!-- <version>1.1.1-SNAPSHOT</version>-->
  568. <!-- </dependency>-->
  569. <dependency>
  570. <groupId>io.jsonwebtoken</groupId>
  571. <artifactId>jjwt</artifactId>
  572. <version>0.9.1</version>
  573. </dependency>
  574. <dependency>
  575. <groupId>com.vdurmont</groupId>
  576. <artifactId>emoji-java</artifactId>
  577. <version>4.0.0</version>
  578. </dependency>
  579. <dependency>
  580. <groupId>com.github.binarywang</groupId>
  581. <artifactId>weixin-java-mp</artifactId>
  582. <version>${weixin-java-mp.version}</version>
  583. </dependency>
  584. <dependency>
  585. <groupId>com.github.rholder</groupId>
  586. <artifactId>guava-retrying</artifactId>
  587. <version>2.0.0</version>
  588. </dependency>
  589. </dependencies>
  590. <build>
  591. <sourceDirectory>src</sourceDirectory>
  592. <testSourceDirectory>test</testSourceDirectory>
  593. <resources>
  594. <resource>
  595. <directory>resources</directory>
  596. </resource>
  597. </resources>
  598. <plugins>
  599. <plugin>
  600. <groupId>org.mybatis.generator</groupId>
  601. <artifactId>mybatis-generator-maven-plugin</artifactId>
  602. <version>1.3.5</version>
  603. <configuration>
  604. <configurationFile>test/generatorConfigMarketing.xml</configurationFile>
  605. <verbose>true</verbose>
  606. <overwrite>true</overwrite>
  607. </configuration>
  608. <dependencies>
  609. <dependency>
  610. <groupId>mysql</groupId>
  611. <artifactId>mysql-connector-java</artifactId>
  612. <version>${mysql.connector.java.version}</version>
  613. </dependency>
  614. <dependency>
  615. <groupId>org.mybatis.generator</groupId>
  616. <artifactId>mybatis-generator-core</artifactId>
  617. <version>${mybatis.generator.core.version}</version>
  618. </dependency>
  619. <dependency>
  620. <groupId>tk.mybatis</groupId>
  621. <artifactId>mapper</artifactId>
  622. <version>3.4.2</version>
  623. <exclusions>
  624. <exclusion>
  625. <groupId>javax.persistence</groupId>
  626. <artifactId>persistence-api</artifactId>
  627. </exclusion>
  628. </exclusions>
  629. </dependency>
  630. </dependencies>
  631. </plugin>
  632. <plugin>
  633. <artifactId>maven-compiler-plugin</artifactId>
  634. <version>3.1</version>
  635. <configuration>
  636. <source>1.8</source>
  637. <target>1.8</target>
  638. <encoding>UTF-8</encoding>
  639. <!--<fork>true</fork> -->
  640. <!--<compilerArgs> -->
  641. <!--<arg>-verbose</arg> -->
  642. <!--<arg>-extdirs</arg> -->
  643. <!--<arg>${project.basedir}/WebContent/WEB-INF/lib</arg> -->
  644. <!--</compilerArgs> -->
  645. <!--<compilerArguments> -->
  646. <!--<extdirs>${basedir}/WebContent/WEB-INF/lib</extdirs> -->
  647. <!--</compilerArguments> -->
  648. </configuration>
  649. </plugin>
  650. <plugin>
  651. <groupId>org.apache.maven.plugins</groupId>
  652. <artifactId>maven-war-plugin</artifactId>
  653. <configuration>
  654. <!-- 设置WebContent目录为Web目录 -->
  655. <webappDirectory>${basedir}/WebContent</webappDirectory>
  656. <warSourceDirectory>${basedir}/WebContent</warSourceDirectory>
  657. </configuration>
  658. </plugin>
  659. </plugins>
  660. </build>
  661. <profiles>
  662. <profile>
  663. <id>dev</id>
  664. <!-- <activation>
  665. <activeByDefault>true</activeByDefault>
  666. </activation> -->
  667. <properties>
  668. <profiles.active>dev</profiles.active>
  669. </properties>
  670. <build>
  671. <plugins>
  672. <plugin>
  673. <groupId>org.codehaus.mojo</groupId>
  674. <artifactId>build-helper-maven-plugin</artifactId>
  675. <version>3.0.0</version>
  676. <executions>
  677. <execution>
  678. <id>add-resource</id>
  679. <phase>generate-resources</phase>
  680. <goals>
  681. <goal>add-resource</goal>
  682. </goals>
  683. <configuration>
  684. <resources>
  685. <resource>
  686. <directory>${project.basedir}/extResources/dev</directory>
  687. </resource>
  688. </resources>
  689. </configuration>
  690. </execution>
  691. </executions>
  692. </plugin>
  693. </plugins>
  694. </build>
  695. </profile>
  696. <profile>
  697. <id>test</id>
  698. <activation>
  699. <activeByDefault>true</activeByDefault>
  700. </activation>
  701. <properties>
  702. <profiles.active>test</profiles.active>
  703. </properties>
  704. <build>
  705. <finalName>dpshowtest</finalName>
  706. <plugins>
  707. <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId>
  708. <version>2.12.4</version> <configuration> <skipTests>true</skipTests> <testFailureIgnore>true</testFailureIgnore>
  709. </configuration> </plugin> -->
  710. <plugin>
  711. <groupId>org.apache.maven.plugins</groupId>
  712. <artifactId>maven-surefire-plugin</artifactId>
  713. <configuration>
  714. <testFailureIgnore>true</testFailureIgnore>
  715. </configuration>
  716. </plugin>
  717. <plugin>
  718. <groupId>org.codehaus.mojo</groupId>
  719. <artifactId>build-helper-maven-plugin</artifactId>
  720. <version>3.0.0</version>
  721. <executions>
  722. <execution>
  723. <id>add-resource</id>
  724. <phase>generate-resources</phase>
  725. <goals>
  726. <goal>add-resource</goal>
  727. </goals>
  728. <configuration>
  729. <resources>
  730. <resource>
  731. <directory>${project.basedir}/extResources/test</directory>
  732. </resource>
  733. </resources>
  734. </configuration>
  735. </execution>
  736. </executions>
  737. </plugin>
  738. </plugins>
  739. </build>
  740. </profile>
  741. <profile>
  742. <id>prod</id>
  743. <properties>
  744. <profiles.active>prod</profiles.active>
  745. </properties>
  746. <build>
  747. <finalName>DPshow</finalName>
  748. <plugins>
  749. <plugin>
  750. <groupId>org.apache.maven.plugins</groupId>
  751. <artifactId>maven-surefire-plugin</artifactId>
  752. <configuration>
  753. <skip>true</skip>
  754. </configuration>
  755. </plugin>
  756. <plugin>
  757. <groupId>org.codehaus.mojo</groupId>
  758. <artifactId>build-helper-maven-plugin</artifactId>
  759. <version>3.0.0</version>
  760. <executions>
  761. <execution>
  762. <id>add-resource</id>
  763. <phase>generate-resources</phase>
  764. <goals>
  765. <goal>add-resource</goal>
  766. </goals>
  767. <configuration>
  768. <resources>
  769. <resource>
  770. <directory>${project.basedir}/extResources/prod</directory>
  771. </resource>
  772. </resources>
  773. </configuration>
  774. </execution>
  775. </executions>
  776. </plugin>
  777. </plugins>
  778. </build>
  779. </profile>
  780. <profile>
  781. <id>rc</id>
  782. <properties>
  783. <profiles.active>rc</profiles.active>
  784. </properties>
  785. <build>
  786. <finalName>DPshow</finalName>
  787. <plugins>
  788. <plugin>
  789. <groupId>org.apache.maven.plugins</groupId>
  790. <artifactId>maven-surefire-plugin</artifactId>
  791. <configuration>
  792. <skip>true</skip>
  793. </configuration>
  794. </plugin>
  795. <plugin>
  796. <groupId>org.codehaus.mojo</groupId>
  797. <artifactId>build-helper-maven-plugin</artifactId>
  798. <version>3.0.0</version>
  799. <executions>
  800. <execution>
  801. <id>add-resource</id>
  802. <phase>generate-resources</phase>
  803. <goals>
  804. <goal>add-resource</goal>
  805. </goals>
  806. <configuration>
  807. <resources>
  808. <resource>
  809. <directory>${project.basedir}/extResources/rc</directory>
  810. </resource>
  811. </resources>
  812. </configuration>
  813. </execution>
  814. </executions>
  815. </plugin>
  816. </plugins>
  817. </build>
  818. </profile>
  819. </profiles>
  820. </project>