pom.xml 17 KB

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