pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.jtgh.hb</groupId>
  5. <artifactId>dataServer</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>war</packaging>
  8. <dependencies>
  9. <dependency>
  10. <groupId>org.springframework</groupId>
  11. <artifactId>spring-context</artifactId>
  12. <version>${spring.version}</version>
  13. <scope>compile</scope>
  14. </dependency>
  15. <dependency>
  16. <groupId>org.springframework</groupId>
  17. <artifactId>spring-test</artifactId>
  18. <version>${spring.version}</version>
  19. <scope>compile</scope>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework</groupId>
  23. <artifactId>spring-webmvc</artifactId>
  24. <version>${spring.version}</version>
  25. <scope>compile</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework</groupId>
  29. <artifactId>spring-context-support</artifactId>
  30. <version>${spring.version}</version>
  31. <scope>compile</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.fasterxml.jackson.core</groupId>
  35. <artifactId>jackson-core</artifactId>
  36. <version>2.6.0</version>
  37. <scope>compile</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.fasterxml.jackson.core</groupId>
  41. <artifactId>jackson-databind</artifactId>
  42. <version>2.6.0</version>
  43. <scope>compile</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework</groupId>
  47. <artifactId>spring-jdbc</artifactId>
  48. <version>${spring.version}</version>
  49. <scope>compile</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.mybatis</groupId>
  53. <artifactId>mybatis-spring</artifactId>
  54. <version>1.2.3</version>
  55. <scope>compile</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.mybatis</groupId>
  59. <artifactId>mybatis</artifactId>
  60. <version>3.3.0</version>
  61. <scope>compile</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.github.pagehelper</groupId>
  65. <artifactId>pagehelper</artifactId>
  66. <version>4.0.1</version>
  67. <scope>compile</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>javax.servlet</groupId>
  71. <artifactId>servlet-api</artifactId>
  72. <version>2.5</version>
  73. <scope>provided</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>javax.servlet</groupId>
  77. <artifactId>jstl</artifactId>
  78. <version>1.2</version>
  79. <scope>provided</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>taglibs</groupId>
  83. <artifactId>standard</artifactId>
  84. <version>1.1.2</version>
  85. <scope>provided</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>javax.servlet.jsp</groupId>
  89. <artifactId>jsp-api</artifactId>
  90. <version>2.2</version>
  91. <scope>provided</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>druid</artifactId>
  96. <version>1.0.16</version>
  97. <scope>compile</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>mysql</groupId>
  101. <artifactId>mysql-connector-java</artifactId>
  102. <version>5.1.25</version>
  103. <scope>compile</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>junit</groupId>
  107. <artifactId>junit</artifactId>
  108. <version>4.11</version>
  109. <scope>test</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.slf4j</groupId>
  113. <artifactId>slf4j-api</artifactId>
  114. <version>1.7.12</version>
  115. <scope>compile</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.slf4j</groupId>
  119. <artifactId>slf4j-log4j12</artifactId>
  120. <version>1.7.12</version>
  121. <scope>compile</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.aspectj</groupId>
  125. <artifactId>aspectjrt</artifactId>
  126. <version>1.8.5</version>
  127. <scope>compile</scope>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.aspectj</groupId>
  131. <artifactId>aspectjweaver</artifactId>
  132. <version>1.8.5</version>
  133. <scope>compile</scope>
  134. </dependency>
  135. <dependency>
  136. <groupId>commons-codec</groupId>
  137. <artifactId>commons-codec</artifactId>
  138. <version>1.10</version>
  139. <scope>compile</scope>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.quartz-scheduler</groupId>
  143. <artifactId>quartz</artifactId>
  144. <version>2.2.1</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.quartz-scheduler</groupId>
  148. <artifactId>quartz-jobs</artifactId>
  149. <version>2.2.1</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.alibaba</groupId>
  153. <artifactId>fastjson</artifactId>
  154. <version>1.2.6</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.apache.httpcomponents</groupId>
  158. <artifactId>httpclient</artifactId>
  159. <version>4.3</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.google.code.gson</groupId>
  163. <artifactId>gson</artifactId>
  164. <version>2.3.1</version>
  165. </dependency>
  166. <!-- 网页解析工具 -->
  167. <dependency>
  168. <groupId>org.htmlparser</groupId>
  169. <artifactId>htmlparser</artifactId>
  170. <version>1.6</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.yuanxd.tools</groupId>
  174. <artifactId>x-tools-hscbdt</artifactId>
  175. <version>1.0-SNAPSHOT</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.oracle</groupId>
  179. <artifactId>ojdbc6</artifactId>
  180. <version>11.2.0</version>
  181. </dependency>
  182. <!-- mybatis分页插件 -->
  183. <dependency>
  184. <groupId>com.yuanxd.tools</groupId>
  185. <artifactId>x-tools-pagehelper</artifactId>
  186. <version>0.0.1-SNAPSHOT</version>
  187. </dependency>
  188. <!-- 地图相关操作 -->
  189. <dependency>
  190. <groupId>com.vividsolutions</groupId>
  191. <artifactId>jts</artifactId>
  192. <version>1.13</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>dom4j</groupId>
  196. <artifactId>dom4j</artifactId>
  197. <version>1.6.1</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>jaxen</groupId>
  201. <artifactId>jaxen</artifactId>
  202. <version>1.1.6</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>net.sf.ehcache</groupId>
  206. <artifactId>ehcache</artifactId>
  207. <version>2.10.1</version>
  208. </dependency>
  209. <!-- solr -->
  210. <dependency>
  211. <groupId>org.apache.solr</groupId>
  212. <artifactId>solr-solrj</artifactId>
  213. <version>5.2.1</version>
  214. </dependency>
  215. <!-- activemq 相关maven依赖 -->
  216. <!-- <dependency> -->
  217. <!-- <groupId>javax.jms</groupId> -->
  218. <!-- <artifactId>jms</artifactId> -->
  219. <!-- <version>1.1</version> -->
  220. <!-- </dependency> -->
  221. <!-- <dependency> -->
  222. <!-- <groupId>org.springframework</groupId> -->
  223. <!-- <artifactId>spring-jms</artifactId> -->
  224. <!-- <version>${spring.version}</version> -->
  225. <!-- </dependency> -->
  226. <!-- <dependency> -->
  227. <!-- <groupId>org.apache.activemq</groupId> -->
  228. <!-- <artifactId>activemq-core</artifactId> -->
  229. <!-- <version>5.5.0</version> -->
  230. <!-- </dependency> -->
  231. <!-- <dependency> -->
  232. <!-- <groupId>org.apache.activemq</groupId> -->
  233. <!-- <artifactId>activemq-pool</artifactId> -->
  234. <!-- <version>5.7.0</version> -->
  235. <!-- </dependency> -->
  236. </dependencies>
  237. <build>
  238. <!-- 插件配置 -->
  239. <pluginManagement>
  240. <plugins>
  241. <!-- compiler插件, 设定JDK版本 -->
  242. <plugin>
  243. <groupId>org.apache.maven.plugins</groupId>
  244. <artifactId>maven-compiler-plugin</artifactId>
  245. <version>3.0</version>
  246. <configuration>
  247. <source>${jdk.version}</source>
  248. <target>${jdk.version}</target>
  249. <showWarnings>true</showWarnings>
  250. </configuration>
  251. </plugin>
  252. <!-- test插件, 增大内存且仅测试名称为*Test的类 -->
  253. <plugin>
  254. <groupId>org.apache.maven.plugins</groupId>
  255. <artifactId>maven-surefire-plugin</artifactId>
  256. <version>2.12.4</version>
  257. <configuration>
  258. <includes>
  259. <include>**/*Test.java</include>
  260. </includes>
  261. <skipTests>true</skipTests>
  262. </configuration>
  263. </plugin>
  264. <plugin>
  265. <groupId>org.apache.maven.plugins</groupId>
  266. <artifactId>maven-failsafe-plugin</artifactId>
  267. <version>2.12</version>
  268. <executions>
  269. <execution>
  270. <id>integration-test</id>
  271. <goals>
  272. <goal>integration-test</goal>
  273. </goals>
  274. </execution>
  275. </executions>
  276. </plugin>
  277. <!-- cobertura插件 -->
  278. <plugin>
  279. <groupId>org.codehaus.mojo</groupId>
  280. <artifactId>cobertura-maven-plugin</artifactId>
  281. <version>2.5.1</version>
  282. </plugin>
  283. <!-- war插件, 设定war名称不带版本号 -->
  284. <plugin>
  285. <groupId>org.apache.maven.plugins</groupId>
  286. <artifactId>maven-war-plugin</artifactId>
  287. <version>2.2</version>
  288. <configuration>
  289. <warName>${project.artifactId}</warName>
  290. </configuration>
  291. </plugin>
  292. <!-- resource插件, 设定编码 -->
  293. <plugin>
  294. <groupId>org.apache.maven.plugins</groupId>
  295. <artifactId>maven-resources-plugin</artifactId>
  296. <version>2.5</version>
  297. <configuration>
  298. <encoding>${project.build.sourceEncoding}</encoding>
  299. </configuration>
  300. </plugin>
  301. <!-- jar相关插件 -->
  302. <plugin>
  303. <groupId>org.apache.maven.plugins</groupId>
  304. <artifactId>maven-jar-plugin</artifactId>
  305. <version>2.4</version>
  306. <configuration>
  307. <archive>
  308. <manifest>
  309. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  310. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  311. </manifest>
  312. </archive>
  313. </configuration>
  314. </plugin>
  315. <!-- clean插件 -->
  316. <plugin>
  317. <groupId>org.apache.maven.plugins</groupId>
  318. <artifactId>maven-clean-plugin</artifactId>
  319. <version>2.4.1</version>
  320. </plugin>
  321. <!-- install插件 -->
  322. <plugin>
  323. <groupId>org.apache.maven.plugins</groupId>
  324. <artifactId>maven-install-plugin</artifactId>
  325. <version>2.3.1</version>
  326. </plugin>
  327. <!-- eclipse插件,设定下载Source并屏蔽.svn文件 -->
  328. <plugin>
  329. <groupId>org.apache.maven.plugins</groupId>
  330. <artifactId>maven-eclipse-plugin</artifactId>
  331. <version>2.9</version>
  332. <configuration>
  333. <sourceExcludes>
  334. <sourceExclude>**/.svn/</sourceExclude>
  335. </sourceExcludes>
  336. <downloadSources>true</downloadSources>
  337. <downloadJavadocs>false</downloadJavadocs>
  338. </configuration>
  339. </plugin>
  340. <!-- jetty插件,设定重载模式 -->
  341. <plugin>
  342. <groupId>org.mortbay.jetty</groupId>
  343. <artifactId>jetty-maven-plugin</artifactId>
  344. <version>${jetty.version}</version>
  345. <configuration>
  346. <reload>manual</reload>
  347. </configuration>
  348. </plugin>
  349. <!-- dependency插件 -->
  350. <plugin>
  351. <groupId>org.apache.maven.plugins</groupId>
  352. <artifactId>maven-dependency-plugin</artifactId>
  353. <version>2.6</version>
  354. </plugin>
  355. <plugin>
  356. <groupId>org.codehaus.mojo</groupId>
  357. <artifactId>versions-maven-plugin</artifactId>
  358. <version>1.2</version>
  359. </plugin>
  360. <!-- ant插件 -->
  361. <plugin>
  362. <groupId>org.apache.maven.plugins</groupId>
  363. <artifactId>maven-antrun-plugin</artifactId>
  364. <version>1.7</version>
  365. </plugin>
  366. <!-- assembly插件 -->
  367. <plugin>
  368. <groupId>org.apache.maven.plugins</groupId>
  369. <artifactId>maven-assembly-plugin</artifactId>
  370. <version>2.4</version>
  371. </plugin>
  372. <!-- source attach plugin -->
  373. <plugin>
  374. <groupId>org.apache.maven.plugins</groupId>
  375. <artifactId>maven-source-plugin</artifactId>
  376. <version>2.1.2</version>
  377. <executions>
  378. <execution>
  379. <id>attach-sources</id>
  380. <goals>
  381. <goal>jar</goal>
  382. </goals>
  383. </execution>
  384. </executions>
  385. </plugin>
  386. <plugin>
  387. <groupId>org.apache.tomcat.maven</groupId>
  388. <artifactId>tomcat6-maven-plugin</artifactId>
  389. <version>2.0-beta-1</version>
  390. </plugin>
  391. <plugin>
  392. <groupId>org.apache.tomcat.maven</groupId>
  393. <artifactId>tomcat7-maven-plugin</artifactId>
  394. <version>2.0-beta-1</version>
  395. </plugin>
  396. <plugin>
  397. <groupId>org.apache.maven.plugins</groupId>
  398. <artifactId>maven-javadoc-plugin</artifactId>
  399. <version>2.8.1</version>
  400. <configuration>
  401. <aggregate>true</aggregate>
  402. <charset>${project.build.sourceEncoding}</charset>
  403. <encoding>${project.build.sourceEncoding}</encoding>
  404. <docencoding>${project.build.sourceEncoding}</docencoding>
  405. </configuration>
  406. <executions>
  407. <execution>
  408. <id>attach-javadocs</id>
  409. <goals>
  410. <goal>jar</goal>
  411. </goals>
  412. </execution>
  413. </executions>
  414. </plugin>
  415. </plugins>
  416. </pluginManagement>
  417. <plugins>
  418. <plugin>
  419. <artifactId>maven-war-plugin</artifactId>
  420. </plugin>
  421. <!-- compiler插件, 设定JDK版本 -->
  422. <plugin>
  423. <groupId>org.mybatis.generator</groupId>
  424. <artifactId>mybatis-generator-maven-plugin</artifactId>
  425. <version>1.3.2</version>
  426. <dependencies>
  427. <dependency>
  428. <groupId>com.oracle</groupId>
  429. <artifactId>ojdbc6</artifactId>
  430. <version>11.2.0</version>
  431. </dependency>
  432. </dependencies>
  433. <configuration>
  434. <configurationFile>${basedir}\src\main\resources\generatorConfigAq.xml</configurationFile>
  435. <overwrite>true</overwrite>
  436. </configuration>
  437. </plugin>
  438. </plugins>
  439. </build>
  440. <properties>
  441. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  442. <!-- java 版本 -->
  443. <jdk.version>1.7</jdk.version>
  444. <spring.version>4.2.4.RELEASE</spring.version>
  445. </properties>
  446. </project>