Advertisement
Guest User

Untitled

a guest
Sep 11th, 2012
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.28 KB | None | 0 0
  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" 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>com.runchain.arch</groupId>
  5. <artifactId>rc-parent</artifactId>
  6. <packaging>pom</packaging>
  7. <name>runchain arch parent</name>
  8. <version>1.5.3-SNAPSHOT</version>
  9. <organization>
  10. <name>runchain</name>
  11. <url>http://www.runchain.com</url>
  12. </organization>
  13. <description>all projects should extend this pom</description>
  14. <url>http://www.runchain.com</url>
  15.  
  16. <scm>
  17. <connection>scm:git:rcgit:common/runchain-arch.git</connection>
  18. <url>scm:git:rcgit:common/runchain-arch.git</url>
  19. <developerConnection>scm:git:rcgit:common/runchain-arch.git</developerConnection>
  20. </scm>
  21.  
  22. <developers>
  23. <developer>
  24. <id>henryyan</id>
  25. <name>Henry Yan</name>
  26. <email>yanhonglei@gmail.com</email>
  27. <url>http://www.kafeitu.me</url>
  28. <timezone>8</timezone>
  29. <organization>Runchain</organization>
  30. <organizationUrl>http://www.runchain.com</organizationUrl>
  31. </developer>
  32. </developers>
  33.  
  34. <properties>
  35. <!-- 主要依赖库的版本定义 -->
  36. <springside.version>3.3.4.4</springside.version>
  37. <spring.version>3.1.1.RELEASE</spring.version>
  38. <spring-security.version>3.0.3.RELEASE</spring-security.version>
  39. <hibernate.version>3.6.8.Final</hibernate.version>
  40. <mybatis.version>3.0.6</mybatis.version>
  41. <struts2.version>2.3.1</struts2.version>
  42. <cxf.version>2.5.0</cxf.version>
  43. <jersey.version>1.10</jersey.version>
  44. <shiro.version>1.1.0</shiro.version>
  45. <activemq.version>5.5.1</activemq.version>
  46. <jetty.version>7.5.4.v20111024</jetty.version>
  47. <h2.version>1.3.166</h2.version>
  48. <jackson.version>1.9.2</jackson.version>
  49. <slf4j.version>1.6.4</slf4j.version>
  50. <selenium.version>2.12.0</selenium.version>
  51. <activiti.version>5.9</activiti.version>
  52. <json-lib.version>2.3</json-lib.version>
  53. <mockito.version>1.9.0</mockito.version>
  54. <powermock.version>1.4.12</powermock.version>
  55.  
  56. <!-- Plugin的属性定义 -->
  57. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  58. </properties>
  59.  
  60. <modules>
  61. <module>rc-common</module>
  62. <module>rc-id</module>
  63. <module>rc-web-extension</module>
  64. <module>rc-workflow-activiti</module>
  65. <module>rc-workflow-activiti-web</module>
  66. </modules>
  67.  
  68. <!-- 设定除中央仓库(repo1.maven.org/maven2/)外的其他仓库,按设定顺序进行查找. -->
  69. <repositories>
  70. <!-- 如有Nexus私服, 取消注释并指向正确的服务器地址. <repository> <id>nexus</id> <name>Team Nexus Repository</name> <url>http://localhost:8081/nexus/content/groups/public</url>
  71. </repository> -->
  72. <repository>
  73. <id>offical</id>
  74. <name>Maven Official Repository</name>
  75. <url>http://repo1.maven.org/maven2</url>
  76. <snapshots>
  77. <enabled>false</enabled>
  78. </snapshots>
  79. </repository>
  80.  
  81. <repository>
  82. <id>org.springframework.maven.milestone</id>
  83. <name>Spring Maven Milestone Repository</name>
  84. <url>http://maven.springframework.org/milestone</url>
  85. <snapshots>
  86. <enabled>false</enabled>
  87. </snapshots>
  88. </repository>
  89.  
  90. <repository>
  91. <id>springside</id>
  92. <name>SpringSide Additional Repository</name>
  93. <url>http://springside.googlecode.com/svn/repository</url>
  94. <snapshots>
  95. <enabled>false</enabled>
  96. </snapshots>
  97. </repository>
  98.  
  99. <repository>
  100. <id>jboss</id>
  101. <name>Jboss Repository</name>
  102. <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
  103. <snapshots>
  104. <enabled>false</enabled>
  105. </snapshots>
  106. </repository>
  107.  
  108. <repository>
  109. <id>java.net</id>
  110. <name>Java.net Repository</name>
  111. <url>http://download.java.net/maven/2/</url>
  112. <snapshots>
  113. <enabled>false</enabled>
  114. </snapshots>
  115. </repository>
  116.  
  117. <!-- activiti -->
  118. <repository>
  119. <id>Activiti</id>
  120. <name>Workflow Enginer Repository</name>
  121. <url>http://maven.alfresco.com/nexus/content/repositories/activiti</url>
  122. <snapshots>
  123. <enabled>false</enabled>
  124. </snapshots>
  125. </repository>
  126. </repositories>
  127.  
  128. <!-- 设定插件仓库 如有Nexus私服, 取消注释并指向正确的服务器地址. <pluginRepositories> <pluginRepository> <id>nexus</id> <name>Team Nexus Repository</name>
  129. <url>http://localhost:8081/nexus/content/groups/public</url> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository>
  130. </pluginRepositories> -->
  131.  
  132. <!-- 设定团队持续集成发布包服务器 -->
  133. <distributionManagement>
  134. <repository>
  135. <id>nexus</id>
  136. <name>Team Nexus Release Repository</name>
  137. <url>http://runchain.gicp.net:8081/nexus/content/repositories/releases</url>
  138. </repository>
  139. <snapshotRepository>
  140. <id>nexus</id>
  141. <name>Team Nexus Snapshot Repository</name>
  142. <url>http://runchain.gicp.net:8081/nexus/content/repositories/snapshots</url>
  143. <uniqueVersion>false</uniqueVersion>
  144. </snapshotRepository>
  145. </distributionManagement>
  146.  
  147. <!-- 预定义依赖项的version,scope与exclusions,子项目中只需定义groupId 和 artifactId 即可 -->
  148. <dependencyManagement>
  149. <dependencies>
  150. <!-- springside modules begin -->
  151. <dependency>
  152. <groupId>org.springside</groupId>
  153. <artifactId>springside3-core</artifactId>
  154. <version>${springside.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.springside</groupId>
  158. <artifactId>springside3-extension</artifactId>
  159. <version>${springside.version}</version>
  160. </dependency>
  161. <!-- springside modules end -->
  162.  
  163. <!-- spring begin -->
  164. <!-- spring base -->
  165. <dependency>
  166. <groupId>org.springframework</groupId>
  167. <artifactId>spring-core</artifactId>
  168. <version>${spring.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.springframework</groupId>
  172. <artifactId>spring-beans</artifactId>
  173. <version>${spring.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.springframework</groupId>
  177. <artifactId>spring-context</artifactId>
  178. <version>${spring.version}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.springframework</groupId>
  182. <artifactId>spring-context-support</artifactId>
  183. <version>${spring.version}</version>
  184. </dependency>
  185.  
  186. <!-- spring aop -->
  187. <dependency>
  188. <groupId>org.springframework</groupId>
  189. <artifactId>spring-aop</artifactId>
  190. <version>${spring.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.springframework</groupId>
  194. <artifactId>spring-tx</artifactId>
  195. <version>${spring.version}</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.aspectj</groupId>
  199. <artifactId>aspectjrt</artifactId>
  200. <version>1.6.12</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.aspectj</groupId>
  204. <artifactId>aspectjweaver</artifactId>
  205. <version>1.6.12</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>cglib</groupId>
  209. <artifactId>cglib-nodep</artifactId>
  210. <version>2.2.2</version>
  211. </dependency>
  212. <!-- spring end -->
  213.  
  214. <!-- workflow begin -->
  215. <!-- activiti -->
  216. <dependency>
  217. <groupId>org.activiti</groupId>
  218. <artifactId>activiti-engine</artifactId>
  219. <version>${activiti.version}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>org.activiti</groupId>
  223. <artifactId>activiti-spring</artifactId>
  224. <version>${activiti.version}</version>
  225. </dependency>
  226. <!-- workflow end -->
  227.  
  228. <!-- database access begin -->
  229. <!-- hibernate -->
  230. <dependency>
  231. <groupId>org.hibernate</groupId>
  232. <artifactId>hibernate-core</artifactId>
  233. <version>${hibernate.version}</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.hibernate</groupId>
  237. <artifactId>hibernate-entitymanager</artifactId>
  238. <version>${hibernate.version}</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.hibernate</groupId>
  242. <artifactId>hibernate-ehcache</artifactId>
  243. <version>${hibernate.version}</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.hibernate</groupId>
  247. <artifactId>hibernate-annotations</artifactId>
  248. <version>3.5.6-Final</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>javassist</groupId>
  252. <artifactId>javassist</artifactId>
  253. <version>3.12.1.GA</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>org.hibernate</groupId>
  257. <artifactId>hibernate-tools</artifactId>
  258. <version>3.2.3.GA</version>
  259. <scope>provided</scope>
  260. <exclusions>
  261. <exclusion>
  262. <groupId>freemarker</groupId>
  263. <artifactId>freemarker</artifactId>
  264. </exclusion>
  265. </exclusions>
  266. </dependency>
  267. <!-- cache (usually for orm) -->
  268. <dependency>
  269. <groupId>net.sf.ehcache</groupId>
  270. <artifactId>ehcache</artifactId>
  271. <version>1.6.2</version>
  272. </dependency>
  273. <!-- mybatis -->
  274. <dependency>
  275. <groupId>org.mybatis</groupId>
  276. <artifactId>mybatis</artifactId>
  277. <version>${mybatis.version}</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.mybatis</groupId>
  281. <artifactId>mybatis-spring</artifactId>
  282. <version>1.0.2</version>
  283. </dependency>
  284.  
  285. <!-- spring orm -->
  286. <dependency>
  287. <groupId>org.springframework</groupId>
  288. <artifactId>spring-orm</artifactId>
  289. <version>${spring.version}</version>
  290. </dependency>
  291.  
  292. <dependency>
  293. <groupId>org.springframework</groupId>
  294. <artifactId>spring-jdbc</artifactId>
  295. <version>${spring.version}</version>
  296. </dependency>
  297.  
  298. <!-- optional datasource pool -->
  299. <dependency>
  300. <groupId>commons-dbcp</groupId>
  301. <artifactId>commons-dbcp</artifactId>
  302. <version>1.4</version>
  303. </dependency>
  304. <dependency>
  305. <groupId>commons-pool</groupId>
  306. <artifactId>commons-pool</artifactId>
  307. <version>1.5.6</version>
  308. </dependency>
  309. <!-- database access end -->
  310.  
  311. <!-- web begin -->
  312. <!-- spring mvc -->
  313. <dependency>
  314. <groupId>org.springframework</groupId>
  315. <artifactId>spring-web</artifactId>
  316. <version>${spring.version}</version>
  317. </dependency>
  318. <dependency>
  319. <groupId>org.springframework</groupId>
  320. <artifactId>spring-webmvc</artifactId>
  321. <version>${spring.version}</version>
  322. </dependency>
  323.  
  324. <!-- struts2 -->
  325. <dependency>
  326. <groupId>org.apache.struts</groupId>
  327. <artifactId>struts2-core</artifactId>
  328. <version>${struts2.version}</version>
  329. <exclusions>
  330. <exclusion>
  331. <groupId>com.sun</groupId>
  332. <artifactId>tools</artifactId>
  333. </exclusion>
  334. </exclusions>
  335. </dependency>
  336. <dependency>
  337. <groupId>org.apache.struts</groupId>
  338. <artifactId>struts2-spring-plugin</artifactId>
  339. <version>${struts2.version}</version>
  340. </dependency>
  341. <dependency>
  342. <groupId>org.apache.struts</groupId>
  343. <artifactId>struts2-convention-plugin</artifactId>
  344. <version>${struts2.version}</version>
  345. </dependency>
  346. <dependency>
  347. <groupId>org.apache.struts</groupId>
  348. <artifactId>struts2-json-plugin</artifactId>
  349. <version>${struts2.version}</version>
  350. </dependency>
  351. <dependency>
  352. <groupId>org.freemarker</groupId>
  353. <artifactId>freemarker</artifactId>
  354. <version>2.3.16</version>
  355. </dependency>
  356.  
  357. <!-- sitemesh -->
  358. <dependency>
  359. <groupId>org.sitemesh</groupId>
  360. <artifactId>sitemesh</artifactId>
  361. <version>3.0-alpha-2</version>
  362. </dependency>
  363.  
  364. <!-- json -->
  365. <dependency>
  366. <groupId>org.codehaus.jackson</groupId>
  367. <artifactId>jackson-core-asl</artifactId>
  368. <version>${jackson.version}</version>
  369. </dependency>
  370. <dependency>
  371. <groupId>org.codehaus.jackson</groupId>
  372. <artifactId>jackson-mapper-asl</artifactId>
  373. <version>${jackson.version}</version>
  374. </dependency>
  375. <dependency>
  376. <groupId>org.codehaus.jackson</groupId>
  377. <artifactId>jackson-jaxrs</artifactId>
  378. <version>${jackson.version}</version>
  379. </dependency>
  380. <dependency>
  381. <groupId>org.codehaus.jackson</groupId>
  382. <artifactId>jackson-xc</artifactId>
  383. <version>${jackson.version}</version>
  384. </dependency>
  385. <dependency>
  386. <groupId>net.sf.json-lib</groupId>
  387. <artifactId>json-lib</artifactId>
  388. <version>${json-lib.version}</version>
  389. <classifier>jdk15</classifier>
  390. </dependency>
  391.  
  392. <!-- j2ee web spec -->
  393. <dependency>
  394. <groupId>javax.servlet</groupId>
  395. <artifactId>servlet-api</artifactId>
  396. <version>2.5</version>
  397. <scope>provided</scope>
  398. </dependency>
  399. <dependency>
  400. <groupId>javax.servlet</groupId>
  401. <artifactId>jstl</artifactId>
  402. <version>1.2</version>
  403. </dependency>
  404. <dependency>
  405. <groupId>taglibs</groupId>
  406. <artifactId>standard</artifactId>
  407. <version>1.1.2</version>
  408. </dependency>
  409. <!-- web end -->
  410.  
  411. <!-- webservice begin -->
  412. <!-- cxf -->
  413. <dependency>
  414. <groupId>org.apache.cxf</groupId>
  415. <artifactId>cxf-rt-core</artifactId>
  416. <version>${cxf.version}</version>
  417. <exclusions>
  418. <!-- use javax.mail.mail instead -->
  419. <exclusion>
  420. <groupId>org.apache.geronimo.specs</groupId>
  421. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  422. </exclusion>
  423. <!-- use javax.activation.activation instead -->
  424. <exclusion>
  425. <groupId>org.apache.geronimo.specs</groupId>
  426. <artifactId>geronimo-activation_1.1_spec</artifactId>
  427. </exclusion>
  428. </exclusions>
  429. </dependency>
  430. <dependency>
  431. <groupId>org.apache.cxf</groupId>
  432. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  433. <version>${cxf.version}</version>
  434. <exclusions>
  435. <!-- see above -->
  436. <exclusion>
  437. <groupId>org.apache.geronimo.specs</groupId>
  438. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  439. </exclusion>
  440. <exclusion>
  441. <groupId>org.apache.geronimo.specs</groupId>
  442. <artifactId>geronimo-activation_1.1_spec</artifactId>
  443. </exclusion>
  444. </exclusions>
  445. </dependency>
  446. <dependency>
  447. <groupId>org.apache.cxf</groupId>
  448. <artifactId>cxf-rt-transports-http</artifactId>
  449. <version>${cxf.version}</version>
  450. </dependency>
  451. <!-- webservice end -->
  452.  
  453. <!-- rest begin -->
  454. <dependency>
  455. <groupId>com.sun.jersey</groupId>
  456. <artifactId>jersey-server</artifactId>
  457. <version>${jersey.version}</version>
  458. </dependency>
  459. <dependency>
  460. <groupId>com.sun.jersey</groupId>
  461. <artifactId>jersey-client</artifactId>
  462. <version>${jersey.version}</version>
  463. </dependency>
  464. <dependency>
  465. <groupId>com.sun.jersey</groupId>
  466. <artifactId>jersey-json</artifactId>
  467. <version>${jersey.version}</version>
  468. <exclusions>
  469. <exclusion>
  470. <groupId>org.codehaus.jettison</groupId>
  471. <artifactId>jettison</artifactId>
  472. </exclusion>
  473. </exclusions>
  474. </dependency>
  475. <dependency>
  476. <groupId>com.sun.jersey.contribs</groupId>
  477. <artifactId>jersey-spring</artifactId>
  478. <version>${jersey.version}</version>
  479. <exclusions>
  480. <exclusion>
  481. <groupId>org.springframework</groupId>
  482. <artifactId>spring</artifactId>
  483. </exclusion>
  484. <exclusion>
  485. <groupId>com.sun.jersey</groupId>
  486. <artifactId>jersey-grizzly2</artifactId>
  487. </exclusion>
  488. </exclusions>
  489. </dependency>
  490. <dependency>
  491. <groupId>com.sun.jersey.contribs</groupId>
  492. <artifactId>jersey-multipart</artifactId>
  493. <version>${jersey.version}</version>
  494. </dependency>
  495. <!-- rest end -->
  496.  
  497. <!-- security begin -->
  498. <dependency>
  499. <groupId>org.apache.shiro</groupId>
  500. <artifactId>shiro-core</artifactId>
  501. <version>${shiro.version}</version>
  502. </dependency>
  503. <dependency>
  504. <groupId>org.apache.shiro</groupId>
  505. <artifactId>shiro-spring</artifactId>
  506. <version>${shiro.version}</version>
  507. </dependency>
  508. <dependency>
  509. <groupId>org.apache.shiro</groupId>
  510. <artifactId>shiro-web</artifactId>
  511. <version>${shiro.version}</version>
  512. </dependency>
  513. <dependency>
  514. <groupId>com.octo.captcha</groupId>
  515. <artifactId>jcaptcha</artifactId>
  516. <version>1.0</version>
  517. </dependency>
  518.  
  519. <!-- spring-security begin -->
  520. <dependency>
  521. <groupId>org.springframework.security</groupId>
  522. <artifactId>spring-security-core</artifactId>
  523. <version>${spring-security.version}</version>
  524. </dependency>
  525. <dependency>
  526. <groupId>org.springframework.security</groupId>
  527. <artifactId>spring-security-config</artifactId>
  528. <version>${spring-security.version}</version>
  529. </dependency>
  530. <dependency>
  531. <groupId>org.springframework.security</groupId>
  532. <artifactId>spring-security-web</artifactId>
  533. <version>${spring-security.version}</version>
  534. </dependency>
  535. <dependency>
  536. <groupId>org.springframework.security</groupId>
  537. <artifactId>spring-security-taglibs</artifactId>
  538. <version>${spring-security.version}</version>
  539. </dependency>
  540. <!-- security end -->
  541.  
  542. <!-- jms begin -->
  543. <dependency>
  544. <groupId>org.springframework</groupId>
  545. <artifactId>spring-jms</artifactId>
  546. <version>${spring.version}</version>
  547. </dependency>
  548.  
  549. <dependency>
  550. <groupId>org.apache.activemq</groupId>
  551. <artifactId>activemq-core</artifactId>
  552. <version>${activemq.version}</version>
  553. <exclusions>
  554. <exclusion>
  555. <groupId>org.apache.activemq.protobuf</groupId>
  556. <artifactId>activemq-protobuf</artifactId>
  557. </exclusion>
  558. <exclusion>
  559. <groupId>org.springframework.osgi</groupId>
  560. <artifactId>spring-osgi-core</artifactId>
  561. </exclusion>
  562. <exclusion>
  563. <groupId>org.osgi</groupId>
  564. <artifactId>org.osgi.core</artifactId>
  565. </exclusion>
  566. </exclusions>
  567. </dependency>
  568. <!-- jms end -->
  569.  
  570. <!-- quartz -->
  571. <dependency>
  572. <groupId>org.quartz-scheduler</groupId>
  573. <artifactId>quartz</artifactId>
  574. <version>1.8.5</version>
  575. </dependency>
  576.  
  577. <!-- memcached begin -->
  578. <dependency>
  579. <groupId>spy</groupId>
  580. <artifactId>spymemcached</artifactId>
  581. <version>2.6</version>
  582. </dependency>
  583.  
  584. <dependency>
  585. <groupId>com.thimbleware.jmemcached</groupId>
  586. <artifactId>jmemcached-core</artifactId>
  587. <version>1.0.0</version>
  588. <scope>test</scope>
  589. </dependency>
  590. <!-- memcached end -->
  591.  
  592. <!-- logging begin -->
  593. <!-- slf4j -->
  594. <dependency>
  595. <groupId>org.slf4j</groupId>
  596. <artifactId>slf4j-api</artifactId>
  597. <version>${slf4j.version}</version>
  598. </dependency>
  599.  
  600. <!-- slf4j-log4j绑定 -->
  601. <dependency>
  602. <groupId>org.slf4j</groupId>
  603. <artifactId>slf4j-log4j12</artifactId>
  604. <version>${slf4j.version}</version>
  605. </dependency>
  606.  
  607. <!-- slf4j没有log4j的情形 -->
  608. <dependency>
  609. <groupId>commons-logging</groupId>
  610. <artifactId>commons-logging</artifactId>
  611. <version>1.1.1</version>
  612. </dependency>
  613.  
  614. <dependency>
  615. <groupId>log4j</groupId>
  616. <artifactId>log4j</artifactId>
  617. <version>1.2.16</version>
  618. </dependency>
  619.  
  620. <dependency>
  621. <groupId>net.sf.log4jdbc</groupId>
  622. <artifactId>log4jdbc3</artifactId>
  623. <version>1.2beta2</version>
  624. </dependency>
  625. <!-- logging end -->
  626.  
  627. <!-- email begin -->
  628. <dependency>
  629. <groupId>javax.mail</groupId>
  630. <artifactId>mail</artifactId>
  631. <version>1.4.4</version>
  632. </dependency>
  633. <dependency>
  634. <groupId>javax.activation</groupId>
  635. <artifactId>activation</artifactId>
  636. <version>1.1.1</version>
  637. </dependency>
  638. <!-- email end -->
  639.  
  640. <!-- xml begin -->
  641. <dependency>
  642. <groupId>dom4j</groupId>
  643. <artifactId>dom4j</artifactId>
  644. <version>1.6.1</version>
  645. <exclusions>
  646. <exclusion>
  647. <groupId>xml-apis</groupId>
  648. <artifactId>xml-apis</artifactId>
  649. </exclusion>
  650. </exclusions>
  651. </dependency>
  652.  
  653. <!-- 重新定义Java XPath Engine, exclude不必要的依赖 -->
  654. <dependency>
  655. <groupId>jaxen</groupId>
  656. <artifactId>jaxen</artifactId>
  657. <version>1.1.1</version>
  658. <exclusions>
  659. <exclusion>
  660. <groupId>xerces</groupId>
  661. <artifactId>xercesImpl</artifactId>
  662. </exclusion>
  663. <exclusion>
  664. <groupId>xerces</groupId>
  665. <artifactId>xmlParserAPIs</artifactId>
  666. </exclusion>
  667. <exclusion>
  668. <groupId>xml-apis</groupId>
  669. <artifactId>xml-apis</artifactId>
  670. </exclusion>
  671. <exclusion>
  672. <groupId>xalan</groupId>
  673. <artifactId>xalan</artifactId>
  674. </exclusion>
  675. </exclusions>
  676. </dependency>
  677. <!-- xml end -->
  678.  
  679. <!-- excel begin -->
  680. <dependency>
  681. <groupId>org.apache.poi</groupId>
  682. <artifactId>poi</artifactId>
  683. <version>3.7</version>
  684. </dependency>
  685. <!-- excel end -->
  686.  
  687. <!-- validator begin -->
  688. <dependency>
  689. <groupId>org.hibernate</groupId>
  690. <artifactId>hibernate-validator</artifactId>
  691. <version>4.2.0.Final</version>
  692. </dependency>
  693. <!-- validator end -->
  694.  
  695. <!-- utils begin -->
  696.  
  697. <dependency>
  698. <groupId>commons-lang</groupId>
  699. <artifactId>commons-lang</artifactId>
  700. <version>2.6</version>
  701. </dependency>
  702. <dependency>
  703. <groupId>org.apache.commons</groupId>
  704. <artifactId>commons-lang3</artifactId>
  705. <version>3.1</version>
  706. </dependency>
  707. <dependency>
  708. <groupId>org.apache.commons</groupId>
  709. <artifactId>commons-math</artifactId>
  710. <version>2.2</version>
  711. </dependency>
  712. <dependency>
  713. <groupId>commons-io</groupId>
  714. <artifactId>commons-io</artifactId>
  715. <version>2.1</version>
  716. </dependency>
  717. <dependency>
  718. <groupId>commons-collections</groupId>
  719. <artifactId>commons-collections</artifactId>
  720. <version>3.2.1</version>
  721. </dependency>
  722. <dependency>
  723. <groupId>commons-beanutils</groupId>
  724. <artifactId>commons-beanutils</artifactId>
  725. <version>1.8.3</version>
  726. </dependency>
  727. <dependency>
  728. <groupId>commons-codec</groupId>
  729. <artifactId>commons-codec</artifactId>
  730. <version>1.5</version>
  731. </dependency>
  732. <dependency>
  733. <groupId>commons-configuration</groupId>
  734. <artifactId>commons-configuration</artifactId>
  735. <version>1.6</version>
  736. </dependency>
  737.  
  738. <!-- google java library -->
  739. <dependency>
  740. <groupId>com.google.guava</groupId>
  741. <artifactId>guava</artifactId>
  742. <version>10.0.1</version>
  743. </dependency>
  744.  
  745. <!-- joda -->
  746. <dependency>
  747. <groupId>org.jodd</groupId>
  748. <artifactId>jodd</artifactId>
  749. <version>3.3.2</version>
  750. </dependency>
  751.  
  752. <!-- httpclient -->
  753. <dependency>
  754. <groupId>org.apache.httpcomponents</groupId>
  755. <artifactId>httpclient</artifactId>
  756. <version>4.2-alpha1</version>
  757. </dependency>
  758. <!-- java concurrency in practie -->
  759. <dependency>
  760. <groupId>net.jcip</groupId>
  761. <artifactId>jcip-annotations</artifactId>
  762. <version>1.0</version>
  763. </dependency>
  764.  
  765. <!-- ognl -->
  766. <dependency>
  767. <groupId>ognl</groupId>
  768. <artifactId>ognl</artifactId>
  769. <version>3.0.3</version>
  770. </dependency>
  771.  
  772. <!-- jaxb -->
  773. <dependency>
  774. <groupId>javax.xml.bind</groupId>
  775. <artifactId>jaxb-api</artifactId>
  776. <version>2.2.5</version>
  777. </dependency>
  778. <dependency>
  779. <groupId>com.sun.xml.bind</groupId>
  780. <artifactId>jaxb-impl</artifactId>
  781. <version>2.2.5-b02</version>
  782. </dependency>
  783.  
  784. <!-- template engine -->
  785. <dependency>
  786. <groupId>org.apache.velocity</groupId>
  787. <artifactId>velocity</artifactId>
  788. <version>1.7</version>
  789. </dependency>
  790.  
  791. <!-- cache -->
  792. <dependency>
  793. <groupId>net.sf.ehcache</groupId>
  794. <artifactId>ehcache-core</artifactId>
  795. <version>2.5.0</version>
  796. </dependency>
  797.  
  798. <!-- pojo copy -->
  799. <dependency>
  800. <groupId>net.sf.dozer</groupId>
  801. <artifactId>dozer</artifactId>
  802. <version>5.3.2</version>
  803. </dependency>
  804.  
  805. <dependency>
  806. <groupId>asm</groupId>
  807. <artifactId>asm</artifactId>
  808. <version>3.3.1</version>
  809. </dependency>
  810.  
  811. <!-- international component for Unicode -->
  812. <dependency>
  813. <groupId>com.ibm.icu</groupId>
  814. <artifactId>icu4j</artifactId>
  815. <version>4.8.1.1</version>
  816. </dependency>
  817. <!-- utils end -->
  818.  
  819. <!-- test begin -->
  820. <dependency>
  821. <groupId>junit</groupId>
  822. <artifactId>junit</artifactId>
  823. <version>4.10</version>
  824. <scope>test</scope>
  825. </dependency>
  826. <dependency>
  827. <groupId>org.springframework</groupId>
  828. <artifactId>spring-test</artifactId>
  829. <version>${spring.version}</version>
  830. <scope>test</scope>
  831. </dependency>
  832.  
  833. <!-- jetty -->
  834. <dependency>
  835. <groupId>org.eclipse.jetty</groupId>
  836. <artifactId>jetty-webapp</artifactId>
  837. <version>${jetty.version}</version>
  838. <scope>test</scope>
  839. </dependency>
  840. <dependency>
  841. <groupId>org.eclipse.jetty</groupId>
  842. <artifactId>jetty-jsp-2.1</artifactId>
  843. <version>${jetty.version}</version>
  844. <scope>test</scope>
  845. </dependency>
  846. <dependency>
  847. <groupId>org.mortbay.jetty</groupId>
  848. <artifactId>jsp-2.1-glassfish</artifactId>
  849. <version>2.1.v20100127</version>
  850. <scope>test</scope>
  851. <exclusions>
  852. <exclusion>
  853. <groupId>org.mortbay.jetty</groupId>
  854. <artifactId>servlet-api</artifactId>
  855. </exclusion>
  856. </exclusions>
  857. </dependency>
  858.  
  859. <!-- selenium 2.0 -->
  860. <dependency>
  861. <groupId>org.seleniumhq.selenium</groupId>
  862. <artifactId>selenium-java</artifactId>
  863. <version>${selenium.version}</version>
  864. <scope>test</scope>
  865. <exclusions>
  866. <exclusion>
  867. <groupId>org.seleniumhq.selenium</groupId>
  868. <artifactId>selenium-htmlunit-driver</artifactId>
  869. </exclusion>
  870. <exclusion>
  871. <groupId>org.seleniumhq.selenium</groupId>
  872. <artifactId>selenium-chrome-driver</artifactId>
  873. </exclusion>
  874. <exclusion>
  875. <groupId>org.seleniumhq.selenium</groupId>
  876. <artifactId>selenium-android-driver</artifactId>
  877. </exclusion>
  878. <exclusion>
  879. <groupId>org.seleniumhq.selenium</groupId>
  880. <artifactId>selenium-iphone-driver</artifactId>
  881. </exclusion>
  882. </exclusions>
  883. </dependency>
  884. <dependency>
  885. <groupId>org.seleniumhq.selenium</groupId>
  886. <artifactId>selenium-remote-driver</artifactId>
  887. <version>${selenium.version}</version>
  888. <scope>test</scope>
  889. </dependency>
  890.  
  891. <dependency>
  892. <groupId>org.dbunit</groupId>
  893. <artifactId>dbunit</artifactId>
  894. <version>2.4.8</version>
  895. <scope>test</scope>
  896. </dependency>
  897.  
  898. <dependency>
  899. <groupId>com.h2database</groupId>
  900. <artifactId>h2</artifactId>
  901. <version>${h2.version}</version>
  902. <scope>test</scope>
  903. </dependency>
  904.  
  905. <!-- mockito -->
  906. <dependency>
  907. <groupId>org.mockito</groupId>
  908. <artifactId>mockito-core</artifactId>
  909. <version>${mockito.version}</version>
  910. <scope>test</scope>
  911. </dependency>
  912. <dependency>
  913. <groupId>org.powermock</groupId>
  914. <artifactId>powermock-module-junit4</artifactId>
  915. <version>${powermock.version}</version>
  916. <scope>test</scope>
  917. </dependency>
  918. <dependency>
  919. <groupId>org.powermock</groupId>
  920. <artifactId>powermock-api-mockito</artifactId>
  921. <version>${powermock.version}</version>
  922. <scope>test</scope>
  923. <exclusions>
  924. <exclusion>
  925. <groupId>org.mockito</groupId>
  926. <artifactId>mockito-all</artifactId>
  927. </exclusion>
  928. </exclusions>
  929. </dependency>
  930. <!-- test end -->
  931.  
  932. <!-- perf4j -->
  933. <dependency>
  934. <groupId>org.perf4j</groupId>
  935. <artifactId>perf4j</artifactId>
  936. <version>0.9.16</version>
  937. </dependency>
  938.  
  939. <!-- jsw + jetty runtime -->
  940. <dependency>
  941. <groupId>tanukisoft</groupId>
  942. <artifactId>jsw</artifactId>
  943. <version>3.5.4</version>
  944. <scope>provided</scope>
  945. <type>zip</type>
  946. </dependency>
  947. <dependency>
  948. <groupId>org.eclipse.jetty</groupId>
  949. <artifactId>jetty-jmx</artifactId>
  950. <version>${jetty.version}</version>
  951. <scope>provided</scope>
  952. </dependency>
  953. <dependency>
  954. <groupId>org.eclipse.jetty</groupId>
  955. <artifactId>jetty-start</artifactId>
  956. <version>${jetty.version}</version>
  957. <scope>provided</scope>
  958. </dependency>
  959. </dependencies>
  960. </dependencyManagement>
  961.  
  962. <!-- 插件配置 -->
  963. <build>
  964. <pluginManagement>
  965. <plugins>
  966. <!-- compiler插件, 设定JDK版本 -->
  967. <plugin>
  968. <groupId>org.apache.maven.plugins</groupId>
  969. <artifactId>maven-compiler-plugin</artifactId>
  970. <version>2.3.2</version>
  971. <configuration>
  972. <source>1.6</source>
  973. <target>1.6</target>
  974. <showWarnings>true</showWarnings>
  975. </configuration>
  976. </plugin>
  977.  
  978. <!-- test插件, 增大内存且仅测试名称为*Test的类 -->
  979. <plugin>
  980. <groupId>org.apache.maven.plugins</groupId>
  981. <artifactId>maven-surefire-plugin</artifactId>
  982. <version>2.10</version>
  983. <configuration>
  984. <argLine>-Xmx256M</argLine>
  985. <includes>
  986. <include>**/*Test.java</include>
  987. </includes>
  988. </configuration>
  989. </plugin>
  990.  
  991. <!-- cobertura插件 -->
  992. <plugin>
  993. <groupId>org.codehaus.mojo</groupId>
  994. <artifactId>cobertura-maven-plugin</artifactId>
  995. <version>2.5.1</version>
  996. </plugin>
  997.  
  998. <!-- war插件, 设定war名称不带版本号 -->
  999. <plugin>
  1000. <groupId>org.apache.maven.plugins</groupId>
  1001. <artifactId>maven-war-plugin</artifactId>
  1002. <version>2.1.1</version>
  1003. <configuration>
  1004. <warName>${project.artifactId}</warName>
  1005. </configuration>
  1006. </plugin>
  1007.  
  1008. <!-- resource插件, 设定编码 -->
  1009. <plugin>
  1010. <groupId>org.apache.maven.plugins</groupId>
  1011. <artifactId>maven-resources-plugin</artifactId>
  1012. <version>2.5</version>
  1013. <configuration>
  1014. <encoding>${project.build.sourceEncoding}</encoding>
  1015. </configuration>
  1016. </plugin>
  1017.  
  1018. <!-- jar相关插件 -->
  1019. <plugin>
  1020. <groupId>org.apache.maven.plugins</groupId>
  1021. <artifactId>maven-jar-plugin</artifactId>
  1022. <version>2.3.2</version>
  1023. <configuration>
  1024. <archive>
  1025. <manifest>
  1026. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  1027. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  1028. </manifest>
  1029. </archive>
  1030. </configuration>
  1031. </plugin>
  1032. <plugin>
  1033. <groupId>org.apache.maven.plugins</groupId>
  1034. <artifactId>maven-source-plugin</artifactId>
  1035. <version>2.1.2</version>
  1036. <executions>
  1037. <execution>
  1038. <goals>
  1039. <goal>jar</goal>
  1040. </goals>
  1041. </execution>
  1042. </executions>
  1043. </plugin>
  1044.  
  1045. <!-- clean插件 -->
  1046. <plugin>
  1047. <groupId>org.apache.maven.plugins</groupId>
  1048. <artifactId>maven-clean-plugin</artifactId>
  1049. <version>2.4.1</version>
  1050. </plugin>
  1051.  
  1052. <!-- install插件 -->
  1053. <plugin>
  1054. <groupId>org.apache.maven.plugins</groupId>
  1055. <artifactId>maven-install-plugin</artifactId>
  1056. <version>2.3.1</version>
  1057. </plugin>
  1058.  
  1059. <!-- deploy插件 -->
  1060. <plugin>
  1061. <groupId>org.apache.maven.plugins</groupId>
  1062. <artifactId>maven-deploy-plugin</artifactId>
  1063. <version>2.7</version>
  1064. </plugin>
  1065.  
  1066. <!-- eclipse插件,设定下载Source并屏蔽.svn文件 -->
  1067. <plugin>
  1068. <groupId>org.apache.maven.plugins</groupId>
  1069. <artifactId>maven-eclipse-plugin</artifactId>
  1070. <version>2.9</version>
  1071. <configuration>
  1072. <sourceExcludes>
  1073. <sourceExclude>**/.svn/</sourceExclude>
  1074. </sourceExcludes>
  1075. <downloadSources>true</downloadSources>
  1076. <downloadJavadocs>false</downloadJavadocs>
  1077. </configuration>
  1078. </plugin>
  1079.  
  1080. <!-- jetty插件,设定重载模式 -->
  1081. <plugin>
  1082. <groupId>org.mortbay.jetty</groupId>
  1083. <artifactId>jetty-maven-plugin</artifactId>
  1084. <version>${jetty.version}</version>
  1085. <configuration>
  1086. <reload>manual</reload>
  1087. </configuration>
  1088. </plugin>
  1089.  
  1090. <!-- dependency插件 -->
  1091. <plugin>
  1092. <groupId>org.apache.maven.plugins</groupId>
  1093. <artifactId>maven-dependency-plugin</artifactId>
  1094. <version>2.4</version>
  1095. </plugin>
  1096.  
  1097. <!-- ant插件 -->
  1098. <plugin>
  1099. <groupId>org.apache.maven.plugins</groupId>
  1100. <artifactId>maven-antrun-plugin</artifactId>
  1101. <version>1.7</version>
  1102. </plugin>
  1103.  
  1104. <!-- assembly插件 -->
  1105. <plugin>
  1106. <groupId>org.apache.maven.plugins</groupId>
  1107. <artifactId>maven-assembly-plugin</artifactId>
  1108. <version>2.2.1</version>
  1109. </plugin>
  1110.  
  1111. <!-- sonar插件 -->
  1112. <plugin>
  1113. <groupId>org.codehaus.mojo</groupId>
  1114. <artifactId>sonar-maven-plugin</artifactId>
  1115. <version>2.0-beta-2</version>
  1116. </plugin>
  1117.  
  1118. <!-- release相关插件 -->
  1119. <plugin>
  1120. <groupId>org.apache.maven.plugins</groupId>
  1121. <artifactId>maven-release-plugin</artifactId>
  1122. <version>2.2.1</version>
  1123. <configuration>
  1124. <arguments>${arguments}</arguments>
  1125. </configuration>
  1126. </plugin>
  1127. <plugin>
  1128. <groupId>org.apache.maven.plugins</groupId>
  1129. <artifactId>maven-scm-plugin</artifactId>
  1130. <version>1.7</version>
  1131. </plugin>
  1132. <plugin>
  1133. <groupId>org.codehaus.mojo</groupId>
  1134. <artifactId>versions-maven-plugin</artifactId>
  1135. <version>1.3.1</version>
  1136. </plugin>
  1137.  
  1138. <!-- site插件 -->
  1139. <plugin>
  1140. <groupId>org.apache.maven.plugins</groupId>
  1141. <artifactId>maven-site-plugin</artifactId>
  1142. <version>3.1</version>
  1143. <configuration>
  1144. <locales>zh_CN</locales>
  1145. </configuration>
  1146. </plugin>
  1147. </plugins>
  1148. </pluginManagement>
  1149. </build>
  1150.  
  1151. <!-- 项目Site信息 -->
  1152. <reporting>
  1153. <plugins>
  1154. <plugin>
  1155. <groupId>org.apache.maven.plugins</groupId>
  1156. <artifactId>maven-project-info-reports-plugin</artifactId>
  1157. <version>2.4</version>
  1158. </plugin>
  1159.  
  1160. <!-- javadoc -->
  1161. <plugin>
  1162. <groupId>org.apache.maven.plugins</groupId>
  1163. <artifactId>maven-javadoc-plugin</artifactId>
  1164. <version>2.8.1</version>
  1165. </plugin>
  1166.  
  1167. <plugin>
  1168. <groupId>org.apache.maven.plugins</groupId>
  1169. <artifactId>maven-jxr-plugin</artifactId>
  1170. <version>2.3</version>
  1171. <configuration>
  1172. <aggregate>false</aggregate>
  1173. </configuration>
  1174. </plugin>
  1175.  
  1176. <plugin>
  1177. <groupId>org.apache.maven.plugins</groupId>
  1178. <artifactId>maven-checkstyle-plugin</artifactId>
  1179. <version>2.5</version>
  1180. </plugin>
  1181.  
  1182. <plugin>
  1183. <groupId>org.apache.maven.plugins</groupId>
  1184. <artifactId>maven-pmd-plugin</artifactId>
  1185. <version>2.5</version>
  1186. <configuration>
  1187. <aggregate>true</aggregate>
  1188. <targetJdk>1.6</targetJdk>
  1189. </configuration>
  1190. </plugin>
  1191.  
  1192. <!-- changelog -->
  1193. <plugin>
  1194. <groupId>org.apache.maven.plugins</groupId>
  1195. <artifactId>maven-changelog-plugin</artifactId>
  1196. <version>2.2</version>
  1197. <configuration>
  1198. <outputEncoding>UTF-8</outputEncoding>
  1199. </configuration>
  1200. </plugin>
  1201.  
  1202. <plugin>
  1203. <groupId>org.codehaus.mojo</groupId>
  1204. <artifactId>cobertura-maven-plugin</artifactId>
  1205. <version>2.5.1</version>
  1206. </plugin>
  1207.  
  1208. </plugins>
  1209. </reporting>
  1210. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement