pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>top.ibase4j</groupId>
  6. <artifactId>ibase4j-common</artifactId>
  7. <version>1.0.0.xmyy</version>
  8. <packaging>jar</packaging>
  9. <!--<name>ibase4j框架</name>-->
  10. <description>dao,service,controller,spring配置的文件抽取</description>
  11. <url>http://192.168.6.251:10080/TourShare/tourShare/tree/master/iBase4J-Common</url>
  12. <licenses>
  13. <license>
  14. <name>The Apache Software License, Version 2.0</name>
  15. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  16. </license>
  17. </licenses>
  18. <properties>
  19. <module.name>${project.artifactId}</module.name>
  20. <other.jar>**/*.jar</other.jar>
  21. <!-- 编码 -->
  22. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  23. <!-- spring -->
  24. <spring.version>5.0.2.RELEASE</spring.version>
  25. <spring-boot.version>2.0.3.RELEASE</spring-boot.version>
  26. <spring-data-redis.version>2.0.8.RELEASE</spring-data-redis.version>
  27. <!-- MySQL -->
  28. <mysql.version>6.0.6</mysql.version>
  29. <druid.version>1.1.6</druid.version>
  30. <!-- mybatis版本号 -->
  31. <mybatis.version>3.4.5</mybatis.version>
  32. <mybatis-spring.version>1.3.1</mybatis-spring.version>
  33. <mybatis-plus.version>2.1.9</mybatis-plus.version>
  34. <jsqlparser.version>0.9.5</jsqlparser.version>
  35. <!-- log4j日志 -->
  36. <slf4j.version>1.7.25</slf4j.version>
  37. <log4j.version>2.9.1</log4j.version>
  38. <!-- rpc相关 -->
  39. <dubbo.version>2.5.8</dubbo.version>
  40. <javassist.version>3.22.0-GA</javassist.version>
  41. <zookeeper.version>3.4.11</zookeeper.version>
  42. <okhttp.version>3.9.1</okhttp.version>
  43. <!-- json -->
  44. <fastjson.version>1.2.44</fastjson.version>
  45. <jackson.version>2.9.3</jackson.version>
  46. <!-- redis-client -->
  47. <lettuce.version>5.0.4.RELEASE</lettuce.version>
  48. <redisson.version>3.7.1</redisson.version>
  49. <!-- ActiveMQ -->
  50. <activemq-spring.version>5.13.3</activemq-spring.version>
  51. <!-- aop相关 -->
  52. <aspectj.version>1.8.13</aspectj.version>
  53. <!-- poi相关 -->
  54. <poi.version>3.17</poi.version>
  55. <jxl.version>2.6.12</jxl.version>
  56. <!-- java使用xfire调用webservice -->
  57. <xfire.version>1.2.6</xfire.version>
  58. <!-- java操作linux -->
  59. <jsch.version>0.1.54</jsch.version>
  60. <!-- 二维码相关 -->
  61. <zxing.version>3.3.1</zxing.version>
  62. <quartz.version>2.3.0</quartz.version>
  63. <!-- shiro -->
  64. <shiro.version>1.4.0</shiro.version>
  65. <!-- swagger -->
  66. <springfox.version>2.6.1</springfox.version>
  67. <swagger.version>1.5.18</swagger.version>
  68. <!-- pinyin4j -->
  69. <pinyin4j.version>2.5.1</pinyin4j.version>
  70. <thumbnailator.version>0.4.8</thumbnailator.version>
  71. <mail.version>1.6.0</mail.version>
  72. <!-- lcn分布式事务 -->
  73. <lcn.last.version>4.1.0</lcn.last.version>
  74. <lcn.last.version>4.1.0</lcn.last.version>
  75. </properties>
  76. <repositories>
  77. <repository>
  78. <id>spring-milestones</id>
  79. <name>Spring Milestones</name>
  80. <url>https://repo.spring.io/libs-milestone</url>
  81. <snapshots>
  82. <enabled>false</enabled>
  83. </snapshots>
  84. </repository>
  85. <repository>
  86. <id>xmyy-repo</id>
  87. <url>http://192.168.6.232:8081/nexus/repository/maven-public/</url>
  88. </repository>
  89. </repositories>
  90. <distributionManagement>
  91. <repository>
  92. <!--这里的ID要和settings.xml的id一致-->
  93. <id>xmyy-releases</id>
  94. <url>http://192.168.6.232:8081/nexus/repository/maven-releases/</url>
  95. </repository>
  96. <snapshotRepository>
  97. <!--这里的ID要和settings.xml的id一致-->
  98. <id>xmyy-snapshots</id>
  99. <url>http://192.168.6.232:8081/nexus/repository/maven-snapshots/</url>
  100. </snapshotRepository>
  101. </distributionManagement>
  102. <dependencies>
  103. <dependency>
  104. <groupId>com.alibaba</groupId>
  105. <artifactId>alipay-sdk-java</artifactId>
  106. <version>java20171012102412</version>
  107. <scope>system</scope>
  108. <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/alipay-sdk-java20171012102412.jar</systemPath>
  109. </dependency>
  110. <dependency>
  111. <groupId>junit</groupId>
  112. <artifactId>junit</artifactId>
  113. <version>4.12</version>
  114. <scope>test</scope>
  115. </dependency>
  116. <!-- -->
  117. <dependency>
  118. <groupId>commons-net</groupId>
  119. <artifactId>commons-net</artifactId>
  120. <version>3.6</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.commons</groupId>
  124. <artifactId>commons-lang3</artifactId>
  125. <version>3.7</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>commons-codec</groupId>
  129. <artifactId>commons-codec</artifactId>
  130. <version>1.11</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>commons-digester</groupId>
  134. <artifactId>commons-digester</artifactId>
  135. <version>2.1</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>commons-beanutils</groupId>
  139. <artifactId>commons-beanutils</artifactId>
  140. <version>1.9.3</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>commons-fileupload</groupId>
  144. <artifactId>commons-fileupload</artifactId>
  145. <version>1.3.3</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>commons-io</groupId>
  149. <artifactId>commons-io</artifactId>
  150. <version>2.6</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.commons</groupId>
  154. <artifactId>commons-pool2</artifactId>
  155. <version>2.5.0</version>
  156. </dependency>
  157. <!-- mybatis -->
  158. <dependency>
  159. <groupId>com.baomidou</groupId>
  160. <artifactId>mybatis-plus</artifactId>
  161. <version>${mybatis-plus.version}</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.mybatis.caches</groupId>
  165. <artifactId>mybatis-ehcache</artifactId>
  166. <version>1.1.0</version>
  167. </dependency>
  168. <!-- spring核心包 -->
  169. <dependency>
  170. <groupId>org.springframework.boot</groupId>
  171. <artifactId>spring-boot-starter</artifactId>
  172. <version>${spring-boot.version}</version>
  173. <exclusions>
  174. <exclusion>
  175. <groupId>ch.qos.logback</groupId>
  176. <artifactId>*</artifactId>
  177. </exclusion>
  178. <exclusion>
  179. <groupId>org.apache.logging.log4j</groupId>
  180. <artifactId>*</artifactId>
  181. </exclusion>
  182. </exclusions>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.springframework</groupId>
  186. <artifactId>spring-web</artifactId>
  187. <version>${spring.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.springframework</groupId>
  191. <artifactId>spring-core</artifactId>
  192. <version>${spring.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.springframework</groupId>
  196. <artifactId>spring-context</artifactId>
  197. <version>${spring.version}</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.springframework.data</groupId>
  201. <artifactId>spring-data-redis</artifactId>
  202. <version>${spring-data-redis.version}</version>
  203. </dependency>
  204. <!-- redis -->
  205. <dependency>
  206. <groupId>io.lettuce</groupId>
  207. <artifactId>lettuce-core</artifactId>
  208. <version>${lettuce.version}</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.redisson</groupId>
  212. <artifactId>redisson</artifactId>
  213. <version>${redisson.version}</version>
  214. </dependency>
  215. <!-- alibaba工具包 -->
  216. <dependency>
  217. <groupId>com.alibaba</groupId>
  218. <artifactId>fastjson</artifactId>
  219. <version>${fastjson.version}</version>
  220. </dependency>
  221. <!--FastDFS -->
  222. <dependency>
  223. <groupId>com.luhuiguo</groupId>
  224. <artifactId>fastdfs-client</artifactId>
  225. <version>0.4.0</version>
  226. <exclusions>
  227. <exclusion>
  228. <groupId>*</groupId>
  229. <artifactId>*</artifactId>
  230. </exclusion>
  231. </exclusions>
  232. </dependency>
  233. <!-- 导入java ee -->
  234. <dependency>
  235. <groupId>javax.servlet</groupId>
  236. <artifactId>javax.servlet-api</artifactId>
  237. <version>3.1.0</version>
  238. <scope>provided</scope>
  239. </dependency>
  240. <dependency>
  241. <groupId>javax.mail</groupId>
  242. <artifactId>javax.mail-api</artifactId>
  243. <version>${mail.version}</version>
  244. </dependency>
  245. <!-- 日志文件管理包 -->
  246. <dependency>
  247. <groupId>org.slf4j</groupId>
  248. <artifactId>slf4j-api</artifactId>
  249. <version>${slf4j.version}</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.apache.logging.log4j</groupId>
  253. <artifactId>log4j-slf4j-impl</artifactId>
  254. <version>${log4j.version}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.apache.logging.log4j</groupId>
  258. <artifactId>log4j-1.2-api</artifactId>
  259. <version>${log4j.version}</version>
  260. </dependency>
  261. <!-- -->
  262. <dependency>
  263. <groupId>org.javassist</groupId>
  264. <artifactId>javassist</artifactId>
  265. <version>${javassist.version}</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>javax.jms</groupId>
  269. <artifactId>jms</artifactId>
  270. <version>1.1</version>
  271. </dependency>
  272. <!-- Dubbo -->
  273. <dependency>
  274. <groupId>com.alibaba</groupId>
  275. <artifactId>dubbo</artifactId>
  276. <version>${dubbo.version}</version>
  277. <exclusions>
  278. <exclusion>
  279. <groupId>org.springframework</groupId>
  280. <artifactId>spring</artifactId>
  281. </exclusion>
  282. <exclusion>
  283. <groupId>org.jboss.netty</groupId>
  284. <artifactId>netty</artifactId>
  285. </exclusion>
  286. </exclusions>
  287. </dependency>
  288. <dependency>
  289. <groupId>org.apache.zookeeper</groupId>
  290. <artifactId>zookeeper</artifactId>
  291. <version>${zookeeper.version}</version>
  292. <exclusions>
  293. <exclusion>
  294. <groupId>org.slf4j</groupId>
  295. <artifactId>slf4j-log4j12</artifactId>
  296. </exclusion>
  297. </exclusions>
  298. </dependency>
  299. <!-- activemq-spring -->
  300. <dependency>
  301. <groupId>org.apache.activemq</groupId>
  302. <artifactId>activemq-spring</artifactId>
  303. <version>${activemq-spring.version}</version>
  304. </dependency>
  305. <!-- jackson -->
  306. <dependency>
  307. <groupId>com.fasterxml.jackson.core</groupId>
  308. <artifactId>jackson-core</artifactId>
  309. <version>${jackson.version}</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>com.fasterxml.jackson.core</groupId>
  313. <artifactId>jackson-databind</artifactId>
  314. <version>${jackson.version}</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>com.fasterxml.jackson.core</groupId>
  318. <artifactId>jackson-annotations</artifactId>
  319. <version>${jackson.version}</version>
  320. </dependency>
  321. <!-- 导入Mysql数据库链接jar包 -->
  322. <dependency>
  323. <groupId>mysql</groupId>
  324. <artifactId>mysql-connector-java</artifactId>
  325. <version>${mysql.version}</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>com.alibaba</groupId>
  329. <artifactId>druid</artifactId>
  330. <version>${druid.version}</version>
  331. </dependency>
  332. <!-- -->
  333. <dependency>
  334. <groupId>org.quartz-scheduler</groupId>
  335. <artifactId>quartz</artifactId>
  336. <version>${quartz.version}</version>
  337. </dependency>
  338. <!-- mybatis -->
  339. <dependency>
  340. <groupId>org.mybatis</groupId>
  341. <artifactId>mybatis</artifactId>
  342. <version>${mybatis.version}</version>
  343. </dependency>
  344. <dependency>
  345. <groupId>org.apache.velocity</groupId>
  346. <artifactId>velocity</artifactId>
  347. <version>1.7</version>
  348. </dependency>
  349. <!-- Spring -->
  350. <dependency>
  351. <groupId>org.springframework</groupId>
  352. <artifactId>spring-webmvc</artifactId>
  353. <version>${spring.version}</version>
  354. </dependency>
  355. <dependency>
  356. <groupId>org.springframework</groupId>
  357. <artifactId>spring-jdbc</artifactId>
  358. <version>${spring.version}</version>
  359. </dependency>
  360. <dependency>
  361. <groupId>org.springframework</groupId>
  362. <artifactId>spring-jms</artifactId>
  363. <version>${spring.version}</version>
  364. </dependency>
  365. <dependency>
  366. <groupId>org.springframework</groupId>
  367. <artifactId>spring-oxm</artifactId>
  368. <version>${spring.version}</version>
  369. </dependency>
  370. <!-- 切面 -->
  371. <dependency>
  372. <groupId>org.aspectj</groupId>
  373. <artifactId>aspectjrt</artifactId>
  374. <version>${aspectj.version}</version>
  375. </dependency>
  376. <!-- shiro -->
  377. <dependency>
  378. <groupId>org.apache.shiro</groupId>
  379. <artifactId>shiro-spring</artifactId>
  380. <version>${shiro.version}</version>
  381. </dependency>
  382. <!-- excel -->
  383. <dependency>
  384. <groupId>net.sourceforge.jexcelapi</groupId>
  385. <artifactId>jxl</artifactId>
  386. <version>${jxl.version}</version>
  387. </dependency>
  388. <dependency>
  389. <groupId>org.apache.poi</groupId>
  390. <artifactId>poi</artifactId>
  391. <version>${poi.version}</version>
  392. </dependency>
  393. <dependency>
  394. <groupId>org.apache.poi</groupId>
  395. <artifactId>poi-ooxml</artifactId>
  396. <version>${poi.version}</version>
  397. </dependency>
  398. <dependency>
  399. <groupId>org.apache.poi</groupId>
  400. <artifactId>poi-ooxml-schemas</artifactId>
  401. <version>${poi.version}</version>
  402. </dependency>
  403. <!-- 文件图片处理 -->
  404. <dependency>
  405. <groupId>net.coobird</groupId>
  406. <artifactId>thumbnailator</artifactId>
  407. <version>${thumbnailator.version}</version>
  408. </dependency>
  409. <dependency>
  410. <groupId>com.jcraft</groupId>
  411. <artifactId>jsch</artifactId>
  412. <version>${jsch.version}</version>
  413. </dependency>
  414. <!-- 中文拼音 -->
  415. <dependency>
  416. <groupId>com.belerweb</groupId>
  417. <artifactId>pinyin4j</artifactId>
  418. <version>${pinyin4j.version}</version>
  419. </dependency>
  420. <dependency>
  421. <groupId>org.codehaus.xfire</groupId>
  422. <artifactId>xfire-core</artifactId>
  423. <version>${xfire.version}</version>
  424. </dependency>
  425. <!-- swagger -->
  426. <dependency>
  427. <groupId>io.swagger</groupId>
  428. <artifactId>swagger-annotations</artifactId>
  429. <version>${swagger.version}</version>
  430. </dependency>
  431. <!-- -->
  432. <dependency>
  433. <groupId>cz.mallat.uasparser</groupId>
  434. <artifactId>uasparser</artifactId>
  435. <version>0.6.2</version>
  436. </dependency>
  437. <dependency>
  438. <groupId>dom4j</groupId>
  439. <artifactId>dom4j</artifactId>
  440. <version>1.6.1</version>
  441. </dependency>
  442. <!-- 反射工具 -->
  443. <dependency>
  444. <groupId>org.db4j</groupId>
  445. <artifactId>reflectasm</artifactId>
  446. <version>1.11.4-2</version>
  447. </dependency>
  448. <!-- 二维码 -->
  449. <dependency>
  450. <groupId>com.google.zxing</groupId>
  451. <artifactId>core</artifactId>
  452. <version>${zxing.version}</version>
  453. </dependency>
  454. <dependency>
  455. <groupId>com.google.zxing</groupId>
  456. <artifactId>javase</artifactId>
  457. <version>${zxing.version}</version>
  458. </dependency>
  459. <!-- OKHTTP -->
  460. <dependency>
  461. <groupId>com.squareup.okhttp3</groupId>
  462. <artifactId>okhttp</artifactId>
  463. <version>3.9.1</version>
  464. </dependency>
  465. <dependency>
  466. <groupId>org.apache.httpcomponents</groupId>
  467. <artifactId>httpclient</artifactId>
  468. <version>4.5.6</version>
  469. </dependency>
  470. <dependency>
  471. <groupId>com.codingapi</groupId>
  472. <artifactId>tx-client</artifactId>
  473. <version>${lcn.last.version}</version>
  474. <exclusions>
  475. <exclusion>
  476. <groupId>org.slf4j</groupId>
  477. <artifactId>*</artifactId>
  478. </exclusion>
  479. </exclusions>
  480. </dependency>
  481. <dependency>
  482. <groupId>com.codingapi</groupId>
  483. <artifactId>transaction-dubbo</artifactId>
  484. <version>${lcn.last.version}</version>
  485. </dependency>
  486. <dependency>
  487. <groupId>com.codingapi</groupId>
  488. <artifactId>tx-plugins-db</artifactId>
  489. <version>${lcn.last.version}</version>
  490. </dependency>
  491. <!-- netty -->
  492. <dependency>
  493. <groupId>io.netty</groupId>
  494. <artifactId>netty-all</artifactId>
  495. <version>4.1.12.Final</version>
  496. </dependency>
  497. </dependencies>
  498. <build>
  499. <finalName>${project.name}-${project.version}</finalName>
  500. <resources>
  501. <resource>
  502. <directory>src/main/java</directory>
  503. <includes>
  504. <include>**/*.xml</include>
  505. </includes>
  506. </resource>
  507. <resource>
  508. <directory>src/main/resources</directory>
  509. <filtering>true</filtering>
  510. <includes>
  511. <include>**/*.*</include>
  512. </includes>
  513. </resource>
  514. </resources>
  515. <plugins>
  516. <plugin>
  517. <groupId>org.apache.maven.plugins</groupId>
  518. <artifactId>maven-compiler-plugin</artifactId>
  519. <configuration>
  520. <source>1.8</source>
  521. <target>1.8</target>
  522. <encoding>UTF-8</encoding>
  523. <testIncludes>
  524. <testInclude>none</testInclude>
  525. </testIncludes>
  526. </configuration>
  527. </plugin>
  528. <plugin>
  529. <groupId>org.apache.maven.plugins</groupId>
  530. <artifactId>maven-resources-plugin</artifactId>
  531. <configuration>
  532. <encoding>UTF-8</encoding>
  533. <useDefaultDelimiters>true</useDefaultDelimiters>
  534. </configuration>
  535. </plugin>
  536. <plugin>
  537. <groupId>org.apache.maven.plugins</groupId>
  538. <artifactId>maven-jar-plugin</artifactId>
  539. <version>2.4</version>
  540. <configuration>
  541. <finalName>${project.artifactId}-${version}</finalName>
  542. </configuration>
  543. </plugin>
  544. <!-- 打包源代码插件 -->
  545. <plugin>
  546. <groupId>org.apache.maven.plugins</groupId>
  547. <artifactId>maven-source-plugin</artifactId>
  548. <version>2.2.1</version>
  549. <configuration>
  550. <attach>true</attach>
  551. <finalName>${project.artifactId}-${version}</finalName>
  552. </configuration>
  553. <executions>
  554. <execution>
  555. <phase>compile</phase>
  556. <goals>
  557. <goal>jar</goal>
  558. </goals>
  559. </execution>
  560. </executions>
  561. </plugin>
  562. <!-- 打包过程忽略Junit测试 -->
  563. <plugin>
  564. <groupId>org.apache.maven.plugins</groupId>
  565. <artifactId>maven-surefire-plugin</artifactId>
  566. <version>2.17</version>
  567. <configuration>
  568. <skip>true</skip>
  569. </configuration>
  570. </plugin>
  571. </plugins>
  572. </build>
  573. </project>