pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>keyuan</groupId>
  5. <artifactId>diaowen</artifactId>
  6. <packaging>war</packaging>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>diaowen Maven Webapp</name>
  9. <url>https://github.com/wkeyuan/DWSurvey</url>
  10. <repositories>
  11. <!--<repository>
  12. <snapshots>
  13. <enabled>true</enabled>
  14. </snapshots>
  15. <id>DWSurveyRepostiory</id>
  16. <name>DWSurveyRepostiory</name>
  17. <url>http://maven.dwsurvey.net:8081/repository/maven-public/</url>
  18. </repository>-->
  19. <repository>
  20. <snapshots>
  21. <enabled>true</enabled>
  22. </snapshots>
  23. <id>DWSurveyRepostiory</id>
  24. <name>DWSurveyRepostiory</name>
  25. <url>https://maven.aliyun.com/repository/public</url>
  26. </repository>
  27. </repositories>
  28. <dependencies>
  29. <!-- <dependency>
  30. <groupId>com.baidu</groupId>
  31. <artifactId>ueditor</artifactId>
  32. <version>1.1.2</version>
  33. </dependency>
  34. -->
  35. <dependency>
  36. <groupId>junit</groupId>
  37. <artifactId>junit</artifactId>
  38. <version>3.8.1</version>
  39. <scope>test</scope>
  40. </dependency>
  41. <!-- https://mvnrepository.com/artifact/com.sun.xml.security/xml-security-impl -->
  42. <dependency>
  43. <groupId>com.sun.xml.security</groupId>
  44. <artifactId>xml-security-impl</artifactId>
  45. <version>1.0</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.geronimo.specs</groupId>
  49. <artifactId>geronimo-j2ee-management_1.1_spec</artifactId>
  50. <version>1.0.1</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.geronimo.specs</groupId>
  54. <artifactId>geronimo-jms_1.1_spec</artifactId>
  55. <version>1.1.1</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.hamcrest</groupId>
  59. <artifactId>hamcrest-core</artifactId>
  60. <version>1.1</version>
  61. </dependency>
  62. <!-- https://mvnrepository.com/artifact/com.lowagie/itext -->
  63. <!--<dependency>
  64. <groupId>com.lowagie</groupId>
  65. <artifactId>itext</artifactId>
  66. <version>2.0.8</version>
  67. </dependency>-->
  68. <!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
  69. <dependency>
  70. <groupId>org.jsoup</groupId>
  71. <artifactId>jsoup</artifactId>
  72. <version>1.7.2</version>
  73. </dependency>
  74. <!-- https://mvnrepository.com/artifact/org.eclipse.birt.runtime.3_7_1/Tidy -->
  75. <dependency>
  76. <groupId>org.eclipse.birt.runtime.3_7_1</groupId>
  77. <artifactId>Tidy</artifactId>
  78. <version>1</version>
  79. </dependency>
  80. <!-- https://mvnrepository.com/artifact/com.octo.captcha/jcaptcha-all -->
  81. <dependency>
  82. <groupId>com.octo.captcha</groupId>
  83. <artifactId>jcaptcha-all</artifactId>
  84. <version>1.0-RC6</version>
  85. <exclusions>
  86. <exclusion>
  87. <artifactId>spring</artifactId>
  88. <groupId>org.springframework</groupId>
  89. </exclusion>
  90. <exclusion>
  91. <groupId>xerces</groupId>
  92. <artifactId>xercesImpl</artifactId>
  93. </exclusion>
  94. </exclusions>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.sitemesh</groupId>
  98. <artifactId>sitemesh</artifactId>
  99. <version>3.0-alpha-2</version>
  100. </dependency>
  101. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
  102. <dependency>
  103. <groupId>org.apache.poi</groupId>
  104. <artifactId>poi-ooxml</artifactId>
  105. <version>5.0.0</version>
  106. </dependency>
  107. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-scratchpad -->
  108. <dependency>
  109. <groupId>org.apache.poi</groupId>
  110. <artifactId>poi-scratchpad</artifactId>
  111. <version>5.0.0</version>
  112. </dependency>
  113. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  114. <dependency>
  115. <groupId>mysql</groupId>
  116. <artifactId>mysql-connector-java</artifactId>
  117. <version>5.1.49</version>
  118. <!-- 5.1.6 , 5.1.49, 8.0.19-->
  119. </dependency>
  120. <!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity -->
  121. <dependency>
  122. <groupId>org.apache.velocity</groupId>
  123. <artifactId>velocity</artifactId>
  124. <version>1.7</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.jvnet</groupId>
  128. <artifactId>mimepull</artifactId>
  129. <version>1.4</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>javax.mail</groupId>
  133. <artifactId>mail</artifactId>
  134. <version>1.4.4</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.itextpdf.tool</groupId>
  138. <artifactId>xmlworker</artifactId>
  139. <version>5.4.3</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.xbean</groupId>
  143. <artifactId>xbean-spring</artifactId>
  144. <version>3.12</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.tuckey</groupId>
  148. <artifactId>urlrewritefilter</artifactId>
  149. <version>4.0.3</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.apache.struts</groupId>
  153. <artifactId>struts2-spring-plugin</artifactId>
  154. <version>${org.struts2.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.apache.struts</groupId>
  158. <artifactId>struts2-core</artifactId>
  159. <version>${org.struts2.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.struts</groupId>
  163. <artifactId>struts2-convention-plugin</artifactId>
  164. <version>${org.struts2.version}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.apache.struts</groupId>
  168. <artifactId>struts2-convention-plugin</artifactId>
  169. <version>${org.struts2.version}</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.hibernate</groupId>
  173. <artifactId>hibernate-validator</artifactId>
  174. <version>4.2.0.Final</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.hibernate.javax.persistence</groupId>
  178. <artifactId>hibernate-jpa-2.0-api</artifactId>
  179. <version>1.0.1.Final</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.hibernate</groupId>
  183. <artifactId>hibernate-commons-annotations</artifactId>
  184. <version>3.2.0.Final</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.hibernate</groupId>
  188. <artifactId>hibernate-core</artifactId>
  189. <version>3.6.8.Final</version>
  190. </dependency>
  191. <!-- https://mvnrepository.com/artifact/org.xhtmlrenderer/core-renderer -->
  192. <!--<dependency>
  193. <groupId>org.xhtmlrenderer</groupId>
  194. <artifactId>core-renderer</artifactId>
  195. <version>R8</version>
  196. </dependency>-->
  197. <!-- https://mvnrepository.com/artifact/org.json/json -->
  198. <dependency>
  199. <groupId>org.json</groupId>
  200. <artifactId>json</artifactId>
  201. <version>20160810</version>
  202. </dependency>
  203. <!-- https://mvnrepository.com/artifact/org.apache.activemq/activemq-all -->
  204. <dependency>
  205. <groupId>org.apache.activemq</groupId>
  206. <artifactId>activemq-all</artifactId>
  207. <version>5.8.0</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.apache.activemq</groupId>
  211. <artifactId>activeio-core</artifactId>
  212. <version>3.1.4</version>
  213. </dependency>
  214. <!-- Spring -->
  215. <!-- https://mvnrepository.com/artifact/org.springframework/spring-web -->
  216. <dependency>
  217. <groupId>org.springframework</groupId>
  218. <artifactId>spring-web</artifactId>
  219. <version>${org.springframework.version}</version>
  220. </dependency>
  221. <!-- https://mvnrepository.com/artifact/org.springframework/spring-tx -->
  222. <dependency>
  223. <groupId>org.springframework</groupId>
  224. <artifactId>spring-tx</artifactId>
  225. <version>${org.springframework.version}</version>
  226. </dependency>
  227. <!-- https://mvnrepository.com/artifact/org.springframework/spring-jms -->
  228. <dependency>
  229. <groupId>org.springframework</groupId>
  230. <artifactId>spring-jms</artifactId>
  231. <version>${org.springframework.version}</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.springframework</groupId>
  235. <artifactId>spring-context</artifactId>
  236. <version>${org.springframework.version}</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.springframework</groupId>
  240. <artifactId>spring-test</artifactId>
  241. <version>${org.springframework.version}</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>org.springframework</groupId>
  245. <artifactId>spring-context-support</artifactId>
  246. <version>${org.springframework.version}</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.springframework</groupId>
  250. <artifactId>spring-oxm</artifactId>
  251. <version>${org.springframework.version}</version>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.springframework</groupId>
  255. <artifactId>spring-core</artifactId>
  256. <version>${org.springframework.version}</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>org.springframework</groupId>
  260. <artifactId>spring-beans</artifactId>
  261. <version>${org.springframework.version}</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.springframework</groupId>
  265. <artifactId>spring-expression</artifactId>
  266. <version>${org.springframework.version}</version>
  267. </dependency>
  268. <!-- https://mvnrepository.com/artifact/org.springframework/spring-aspects -->
  269. <dependency>
  270. <groupId>org.springframework</groupId>
  271. <artifactId>spring-aspects</artifactId>
  272. <version>${org.springframework.version}</version>
  273. </dependency>
  274. <!-- https://mvnrepository.com/artifact/org.springframework/spring-jdbc -->
  275. <dependency>
  276. <groupId>org.springframework</groupId>
  277. <artifactId>spring-jdbc</artifactId>
  278. <version>${org.springframework.version}</version>
  279. </dependency>
  280. <!-- https://mvnrepository.com/artifact/org.springframework/spring-web -->
  281. <dependency>
  282. <groupId>org.springframework</groupId>
  283. <artifactId>spring-web</artifactId>
  284. <version>${org.springframework.version}</version>
  285. </dependency>
  286. <!-- https://mvnrepository.com/artifact/org.springframework/spring-orm -->
  287. <dependency>
  288. <groupId>org.springframework</groupId>
  289. <artifactId>spring-orm</artifactId>
  290. <version>${org.springframework.version}</version>
  291. </dependency>
  292. <!-- https://mvnrepository.com/artifact/cglib/cglib-nodep -->
  293. <dependency>
  294. <groupId>cglib</groupId>
  295. <artifactId>cglib-nodep</artifactId>
  296. <version>2.2.2</version>
  297. </dependency>
  298. <!-- Logger start -->
  299. <dependency>
  300. <groupId>org.slf4j</groupId>
  301. <artifactId>slf4j-api</artifactId>
  302. <version>${slf4j.version}</version>
  303. </dependency>
  304. <dependency>
  305. <groupId>org.apache.logging.log4j</groupId>
  306. <artifactId>log4j-api</artifactId>
  307. <version>${log4j2.version}</version>
  308. </dependency>
  309. <dependency>
  310. <groupId>org.apache.logging.log4j</groupId>
  311. <artifactId>log4j-core</artifactId>
  312. <version>${log4j2.version}</version>
  313. </dependency>
  314. <dependency>
  315. <!-- 桥接:告诉Slf4j使用Log4j2 -->
  316. <groupId>org.apache.logging.log4j</groupId>
  317. <artifactId>log4j-slf4j-impl</artifactId>
  318. <version>${log4j2.version}</version>
  319. </dependency>
  320. <dependency>
  321. <groupId>org.apache.logging.log4j</groupId>
  322. <artifactId>log4j-web</artifactId>
  323. <version>${log4j2.version}</version>
  324. </dependency>
  325. <!-- Logger end -->
  326. <!-- https://mvnrepository.com/artifact/commons-logging/commons-logging -->
  327. <dependency>
  328. <groupId>commons-logging</groupId>
  329. <artifactId>commons-logging</artifactId>
  330. <version>1.2</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>commons-codec</groupId>
  334. <artifactId>commons-codec</artifactId>
  335. <version>1.4</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>org.apache.commons</groupId>
  339. <artifactId>commons-lang3</artifactId>
  340. <version>3.6</version>
  341. </dependency>
  342. <dependency>
  343. <groupId>commons-lang</groupId>
  344. <artifactId>commons-lang</artifactId>
  345. <version>2.6</version>
  346. </dependency>
  347. <dependency>
  348. <groupId>commons-httpclient</groupId>
  349. <artifactId>commons-httpclient</artifactId>
  350. <version>3.0.1</version>
  351. </dependency>
  352. <dependency>
  353. <groupId>org.apache.httpcomponents</groupId>
  354. <artifactId>httpcore</artifactId>
  355. <version>4.4.5</version>
  356. </dependency>
  357. <dependency>
  358. <groupId>org.apache.httpcomponents</groupId>
  359. <artifactId>httpclient</artifactId>
  360. <version>4.5.2</version>
  361. </dependency>
  362. <dependency>
  363. <groupId>org.apache.httpcomponents</groupId>
  364. <artifactId>httpclient-cache</artifactId>
  365. <version>4.5.2</version>
  366. </dependency>
  367. <dependency>
  368. <groupId>org.apache.httpcomponents</groupId>
  369. <artifactId>httpcore-nio</artifactId>
  370. <version>4.4.5</version>
  371. </dependency>
  372. <dependency>
  373. <groupId>org.apache.httpcomponents</groupId>
  374. <artifactId>httpmime</artifactId>
  375. <version>4.5.2</version>
  376. </dependency>
  377. <dependency>
  378. <groupId>com.fasterxml.jackson.core</groupId>
  379. <artifactId>jackson-annotations</artifactId>
  380. <version>2.1.1</version>
  381. </dependency>
  382. <dependency>
  383. <groupId>com.fasterxml.jackson.core</groupId>
  384. <artifactId>jackson-core</artifactId>
  385. <version>2.1.1</version>
  386. </dependency>
  387. <dependency>
  388. <groupId>com.fasterxml.jackson.core</groupId>
  389. <artifactId>jackson-databind</artifactId>
  390. <version>2.9.10.7</version>
  391. </dependency>
  392. <dependency>
  393. <groupId>com.sun.jersey</groupId>
  394. <artifactId>jersey-client</artifactId>
  395. <version>1.19.1</version>
  396. </dependency>
  397. <!--utils-->
  398. <dependency>
  399. <groupId>com.google.guava</groupId>
  400. <artifactId>guava</artifactId>
  401. <version>r09</version>
  402. </dependency>
  403. <dependency>
  404. <groupId>com.google.guava</groupId>
  405. <artifactId>guava</artifactId>
  406. <version>17.0</version>
  407. </dependency>
  408. <!-- 读取字节码包 -->
  409. <dependency>
  410. <groupId>org.javassist</groupId>
  411. <artifactId>javassist</artifactId>
  412. <version>3.15.0-GA</version>
  413. </dependency>
  414. <dependency>
  415. <groupId>org.apache.shiro</groupId>
  416. <artifactId>shiro-all</artifactId>
  417. <version>1.7.1</version>
  418. </dependency>
  419. <dependency>
  420. <groupId>commons-beanutils</groupId>
  421. <artifactId>commons-beanutils</artifactId>
  422. <version>1.9.4</version>
  423. </dependency>
  424. <dependency>
  425. <groupId>net.sf.dozer</groupId>
  426. <artifactId>dozer</artifactId>
  427. <version>5.3.2</version>
  428. </dependency>
  429. <dependency>
  430. <groupId>net.sf.json-lib</groupId>
  431. <artifactId>json-lib</artifactId>
  432. <version>2.4</version>
  433. <classifier>jdk15</classifier>
  434. </dependency>
  435. <dependency>
  436. <groupId>javax.servlet</groupId>
  437. <artifactId>jstl</artifactId>
  438. <version>1.2</version>
  439. <type>jar</type>
  440. </dependency>
  441. <dependency>
  442. <groupId>taglibs</groupId>
  443. <artifactId>standard</artifactId>
  444. <version>1.1.2</version>
  445. <type>jar</type>
  446. </dependency>
  447. <!-- servlet3 -->
  448. <dependency>
  449. <groupId>javax.servlet</groupId>
  450. <artifactId>javax.servlet-api</artifactId>
  451. <version>3.0.1</version>
  452. <scope>provided</scope>
  453. </dependency>
  454. <dependency>
  455. <groupId>javax.servlet.jsp</groupId>
  456. <artifactId>jsp-api</artifactId>
  457. <version>2.1</version>
  458. <scope>provided</scope>
  459. </dependency>
  460. <!-- https://mvnrepository.com/artifact/antlr/antlr -->
  461. <dependency>
  462. <groupId>antlr</groupId>
  463. <artifactId>antlr</artifactId>
  464. <version>2.7.7</version>
  465. </dependency>
  466. <dependency>
  467. <groupId>org.antlr</groupId>
  468. <artifactId>antlr-runtime</artifactId>
  469. <version>3.0.1</version>
  470. </dependency>
  471. <dependency>
  472. <groupId>com.google.zxing</groupId>
  473. <artifactId>core</artifactId>
  474. <version>3.0.0</version>
  475. </dependency>
  476. <dependency>
  477. <groupId>com.google.zxing</groupId>
  478. <artifactId>javase</artifactId>
  479. <version>3.0.0</version>
  480. </dependency>
  481. </dependencies>
  482. <build>
  483. <finalName>diaowen</finalName>
  484. <plugins>
  485. <plugin>
  486. <groupId>org.apache.maven.plugins</groupId>
  487. <artifactId>maven-compiler-plugin</artifactId>
  488. <version>3.1</version>
  489. <configuration>
  490. <source>1.6</source>
  491. <target>1.6</target>
  492. </configuration>
  493. </plugin>
  494. <plugin>
  495. <groupId>org.apache.maven.plugins</groupId>
  496. <artifactId>maven-surefire-plugin</artifactId>
  497. <configuration>
  498. <skip>true</skip>
  499. </configuration>
  500. </plugin>
  501. </plugins>
  502. <resources>
  503. <resource>
  504. <directory>src/main/java</directory>
  505. <includes>
  506. <include>**/*.dat</include>
  507. </includes>
  508. <filtering>false</filtering>
  509. </resource>
  510. <resource>
  511. <directory>src/main/resources</directory>
  512. </resource>
  513. </resources>
  514. </build>
  515. <properties>
  516. <org.springframework.version>4.3.29.RELEASE</org.springframework.version>
  517. <org.struts2.version>2.5.26</org.struts2.version>
  518. <slf4j.version>1.7.30</slf4j.version>
  519. <log4j2.version>2.14.1</log4j2.version>
  520. <log4j12.api.version>2.14.1</log4j12.api.version>
  521. <commons.fileupload.version>1.2.1</commons.fileupload.version>
  522. <cxf.version>3.0.2</cxf.version>
  523. <!--<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  524. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  525. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>-->
  526. </properties>
  527. <profiles>
  528. <profile>
  529. <id>jdk-1.8</id>
  530. <!-- 另外一种激活方式 -->
  531. <activation>
  532. <activeByDefault>true</activeByDefault>
  533. <jdk>1.8</jdk>
  534. </activation>
  535. <properties>
  536. <maven.compiler.source>1.8</maven.compiler.source>
  537. <maven.compiler.target>1.8</maven.compiler.target>
  538. </properties>
  539. </profile>
  540. </profiles>
  541. </project>