pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  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.jsjty.jdc.data</groupId>
  5. <artifactId>dataChange</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>4.2.0.RELEASE</version>
  13. <scope>compile</scope>
  14. </dependency>
  15. <dependency>
  16. <groupId>org.springframework</groupId>
  17. <artifactId>spring-test</artifactId>
  18. <version>4.2.0.RELEASE</version>
  19. <scope>compile</scope>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework</groupId>
  23. <artifactId>spring-webmvc</artifactId>
  24. <version>4.2.0.RELEASE</version>
  25. <scope>compile</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework</groupId>
  29. <artifactId>spring-context-support</artifactId>
  30. <version>4.2.0.RELEASE</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>4.2.0.RELEASE</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>0.2.20</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>net.sf.json-lib</groupId>
  174. <artifactId>json-lib</artifactId>
  175. <classifier>jdk15</classifier>
  176. <version>2.4</version>
  177. </dependency>
  178. </dependencies>
  179. <build>
  180. <!-- 插件配置 -->
  181. <pluginManagement>
  182. <plugins>
  183. <!-- compiler插件, 设定JDK版本 -->
  184. <plugin>
  185. <groupId>org.apache.maven.plugins</groupId>
  186. <artifactId>maven-compiler-plugin</artifactId>
  187. <version>3.0</version>
  188. <configuration>
  189. <source>${jdk.version}</source>
  190. <target>${jdk.version}</target>
  191. <showWarnings>true</showWarnings>
  192. </configuration>
  193. </plugin>
  194. <!-- test插件, 增大内存且仅测试名称为*Test的类 -->
  195. <plugin>
  196. <groupId>org.apache.maven.plugins</groupId>
  197. <artifactId>maven-surefire-plugin</artifactId>
  198. <version>2.12.4</version>
  199. <configuration>
  200. <includes>
  201. <include>**/*Test.java</include>
  202. </includes>
  203. <skipTests>true</skipTests>
  204. </configuration>
  205. </plugin>
  206. <plugin>
  207. <groupId>org.apache.maven.plugins</groupId>
  208. <artifactId>maven-failsafe-plugin</artifactId>
  209. <version>2.12</version>
  210. <executions>
  211. <execution>
  212. <id>integration-test</id>
  213. <goals>
  214. <goal>integration-test</goal>
  215. </goals>
  216. </execution>
  217. </executions>
  218. </plugin>
  219. <!-- cobertura插件 -->
  220. <plugin>
  221. <groupId>org.codehaus.mojo</groupId>
  222. <artifactId>cobertura-maven-plugin</artifactId>
  223. <version>2.5.1</version>
  224. </plugin>
  225. <!-- war插件, 设定war名称不带版本号 -->
  226. <plugin>
  227. <groupId>org.apache.maven.plugins</groupId>
  228. <artifactId>maven-war-plugin</artifactId>
  229. <version>2.2</version>
  230. <configuration>
  231. <warName>${project.artifactId}</warName>
  232. </configuration>
  233. </plugin>
  234. <!-- resource插件, 设定编码 -->
  235. <plugin>
  236. <groupId>org.apache.maven.plugins</groupId>
  237. <artifactId>maven-resources-plugin</artifactId>
  238. <version>2.5</version>
  239. <configuration>
  240. <encoding>${project.build.sourceEncoding}</encoding>
  241. </configuration>
  242. </plugin>
  243. <!-- jar相关插件 -->
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-jar-plugin</artifactId>
  247. <version>2.4</version>
  248. <configuration>
  249. <archive>
  250. <manifest>
  251. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  252. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  253. </manifest>
  254. </archive>
  255. </configuration>
  256. </plugin>
  257. <!-- clean插件 -->
  258. <plugin>
  259. <groupId>org.apache.maven.plugins</groupId>
  260. <artifactId>maven-clean-plugin</artifactId>
  261. <version>2.4.1</version>
  262. </plugin>
  263. <!-- install插件 -->
  264. <plugin>
  265. <groupId>org.apache.maven.plugins</groupId>
  266. <artifactId>maven-install-plugin</artifactId>
  267. <version>2.3.1</version>
  268. </plugin>
  269. <!-- eclipse插件,设定下载Source并屏蔽.svn文件 -->
  270. <plugin>
  271. <groupId>org.apache.maven.plugins</groupId>
  272. <artifactId>maven-eclipse-plugin</artifactId>
  273. <version>2.9</version>
  274. <configuration>
  275. <sourceExcludes>
  276. <sourceExclude>**/.svn/</sourceExclude>
  277. </sourceExcludes>
  278. <downloadSources>true</downloadSources>
  279. <downloadJavadocs>false</downloadJavadocs>
  280. </configuration>
  281. </plugin>
  282. <!-- jetty插件,设定重载模式 -->
  283. <plugin>
  284. <groupId>org.mortbay.jetty</groupId>
  285. <artifactId>jetty-maven-plugin</artifactId>
  286. <version>${jetty.version}</version>
  287. <configuration>
  288. <reload>manual</reload>
  289. </configuration>
  290. </plugin>
  291. <!-- dependency插件 -->
  292. <plugin>
  293. <groupId>org.apache.maven.plugins</groupId>
  294. <artifactId>maven-dependency-plugin</artifactId>
  295. <version>2.6</version>
  296. </plugin>
  297. <plugin>
  298. <groupId>org.codehaus.mojo</groupId>
  299. <artifactId>versions-maven-plugin</artifactId>
  300. <version>1.2</version>
  301. </plugin>
  302. <!-- ant插件 -->
  303. <plugin>
  304. <groupId>org.apache.maven.plugins</groupId>
  305. <artifactId>maven-antrun-plugin</artifactId>
  306. <version>1.7</version>
  307. </plugin>
  308. <!-- assembly插件 -->
  309. <plugin>
  310. <groupId>org.apache.maven.plugins</groupId>
  311. <artifactId>maven-assembly-plugin</artifactId>
  312. <version>2.4</version>
  313. </plugin>
  314. <!-- source attach plugin -->
  315. <plugin>
  316. <groupId>org.apache.maven.plugins</groupId>
  317. <artifactId>maven-source-plugin</artifactId>
  318. <version>2.1.2</version>
  319. <executions>
  320. <execution>
  321. <id>attach-sources</id>
  322. <goals>
  323. <goal>jar</goal>
  324. </goals>
  325. </execution>
  326. </executions>
  327. </plugin>
  328. <plugin>
  329. <groupId>org.apache.tomcat.maven</groupId>
  330. <artifactId>tomcat6-maven-plugin</artifactId>
  331. <version>2.0-beta-1</version>
  332. </plugin>
  333. <plugin>
  334. <groupId>org.apache.tomcat.maven</groupId>
  335. <artifactId>tomcat7-maven-plugin</artifactId>
  336. <version>2.0-beta-1</version>
  337. </plugin>
  338. <plugin>
  339. <groupId>org.apache.maven.plugins</groupId>
  340. <artifactId>maven-javadoc-plugin</artifactId>
  341. <version>2.8.1</version>
  342. <configuration>
  343. <aggregate>true</aggregate>
  344. <charset>${project.build.sourceEncoding}</charset>
  345. <encoding>${project.build.sourceEncoding}</encoding>
  346. <docencoding>${project.build.sourceEncoding}</docencoding>
  347. </configuration>
  348. <executions>
  349. <execution>
  350. <id>attach-javadocs</id>
  351. <goals>
  352. <goal>jar</goal>
  353. </goals>
  354. </execution>
  355. </executions>
  356. </plugin>
  357. </plugins>
  358. </pluginManagement>
  359. <plugins>
  360. <plugin>
  361. <artifactId>maven-war-plugin</artifactId>
  362. </plugin>
  363. <!-- compiler插件, 设定JDK版本 -->
  364. <plugin>
  365. <groupId>org.mybatis.generator</groupId>
  366. <artifactId>mybatis-generator-maven-plugin</artifactId>
  367. <version>1.3.2</version>
  368. <dependencies>
  369. <dependency>
  370. <groupId>mysql</groupId>
  371. <artifactId>mysql-connector-java</artifactId>
  372. <version>5.1.25</version>
  373. </dependency>
  374. </dependencies>
  375. </plugin>
  376. </plugins>
  377. </build>
  378. <properties>
  379. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  380. <!-- java 版本 -->
  381. <jdk.version>1.7</jdk.version>
  382. <spring.version>4.2.0.RELEASE</spring.version>
  383. </properties>
  384. </project>