pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  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>com.ssm.webapp</groupId>
  5. <artifactId>smscat</artifactId>
  6. <packaging>war</packaging>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>smscat Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <spring.version>3.2.17.RELEASE</spring.version>
  12. <jackson.version>1.9.6</jackson.version>
  13. <mybatis.version>3.2.8</mybatis.version>
  14. <slf4j.version>1.6.6</slf4j.version>
  15. <log4j.version>1.2.9</log4j.version>
  16. <commons-collections-version>3.2</commons-collections-version>
  17. <commons-fileupload-version>1.2.2</commons-fileupload-version>
  18. <org.apache.commons-version>3.1</org.apache.commons-version>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <filters.base.path.test>src/filters/test</filters.base.path.test>
  21. <filters.base.path.main>src/main/filters</filters.base.path.main>
  22. <servlet.version>3.0.1</servlet.version>
  23. <jsp.version>2.1</jsp.version>
  24. <overlay.skip>false</overlay.skip>
  25. </properties>
  26. <dependencies>
  27. <!-- httpClient支持 开始-->
  28. <dependency>
  29. <groupId>org.apache.httpcomponents</groupId>
  30. <artifactId>httpclient</artifactId>
  31. <version>4.2.5</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>commons-logging</groupId>
  35. <artifactId>commons-logging</artifactId>
  36. <version>1.2</version>
  37. </dependency>
  38. <!-- httpClient支持 结束 -->
  39. <dependency>
  40. <groupId>com.dgtis</groupId>
  41. <artifactId>dgt-common-sso</artifactId>
  42. <version>0.0.1-SNAPSHOT</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>javax.servlet</groupId>
  46. <artifactId>javax.servlet-api</artifactId>
  47. <version>${servlet.version}</version>
  48. <scope>provided</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>javax.servlet.jsp</groupId>
  52. <artifactId>jsp-api</artifactId>
  53. <version>${jsp.version}</version>
  54. <scope>provided</scope>
  55. </dependency>
  56. <!-- spring 依赖 begin -->
  57. <dependency>
  58. <groupId>org.springframework</groupId>
  59. <artifactId>spring-core</artifactId>
  60. <version>${spring.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework</groupId>
  64. <artifactId>spring-beans</artifactId>
  65. <version>${spring.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework</groupId>
  69. <artifactId>spring-orm</artifactId>
  70. <version>${spring.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework</groupId>
  74. <artifactId>spring-context</artifactId>
  75. <version>${spring.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework</groupId>
  79. <artifactId>spring-context-support</artifactId>
  80. <version>${spring.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework</groupId>
  84. <artifactId>spring-web</artifactId>
  85. <version>${spring.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework</groupId>
  89. <artifactId>spring-webmvc</artifactId>
  90. <version>${spring.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework</groupId>
  94. <artifactId>spring-aop</artifactId>
  95. <version>${spring.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework</groupId>
  99. <artifactId>spring-tx</artifactId>
  100. <version>${spring.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.aspectj</groupId>
  104. <artifactId>aspectjweaver</artifactId>
  105. <version>1.6.9</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>cglib</groupId>
  109. <artifactId>cglib</artifactId>
  110. <version>2.2.2</version>
  111. </dependency>
  112. <!-- end spring 依赖 -->
  113. <!-- json 依赖 -->
  114. <dependency>
  115. <groupId>org.codehaus.jackson</groupId>
  116. <artifactId>jackson-core-asl</artifactId>
  117. <version>${jackson.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.codehaus.jackson</groupId>
  121. <artifactId>jackson-mapper-asl</artifactId>
  122. <version>${jackson.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.codehaus.jackson</groupId>
  126. <artifactId>jackson-jaxrs</artifactId>
  127. <version>${jackson.version}</version>
  128. </dependency>
  129. <!-- end json 依赖 -->
  130. <!-- oracle jdbc6 依赖 -->
  131. <!--
  132. <dependency>
  133. <groupId>com.oracle</groupId>
  134. <artifactId>ojdbc6</artifactId>
  135. <version>11.2.0.1.0</version>
  136. </dependency>
  137. -->
  138. <!-- end oracle jdbc6 依赖 -->
  139. <!-- c3p0 依赖 -->
  140. <dependency>
  141. <groupId>com.mchange</groupId>
  142. <artifactId>c3p0</artifactId>
  143. <version>0.9.5</version>
  144. </dependency>
  145. <!-- end c3p0 依赖 -->
  146. <!-- mybatis 依赖 -->
  147. <dependency>
  148. <groupId>org.mybatis</groupId>
  149. <artifactId>mybatis</artifactId>
  150. <version>${mybatis.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.mybatis</groupId>
  154. <artifactId>mybatis-spring</artifactId>
  155. <version>1.2.2</version>
  156. </dependency>
  157. <!-- end mybatis 依赖 -->
  158. <!-- 日志文件管理包 -->
  159. <dependency>
  160. <groupId>log4j</groupId>
  161. <artifactId>log4j</artifactId>
  162. <version>${log4j.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.slf4j</groupId>
  166. <artifactId>slf4j-api</artifactId>
  167. <version>${slf4j.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.slf4j</groupId>
  171. <artifactId>slf4j-log4j12</artifactId>
  172. <version>${slf4j.version}</version>
  173. </dependency>
  174. <!-- end 日志文件管理包 -->
  175. <dependency>
  176. <groupId>jstl</groupId>
  177. <artifactId>jstl</artifactId>
  178. <version>1.2</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>junit</groupId>
  182. <artifactId>junit</artifactId>
  183. <version>3.8.1</version>
  184. <scope>test</scope>
  185. </dependency>
  186. <dependency>
  187. <groupId>redis.clients</groupId>
  188. <artifactId>jedis</artifactId>
  189. <version>2.9.0</version>
  190. </dependency>
  191. <!-- sqlserver 数据库驱动包 -->
  192. <!-- <dependency>
  193. <groupId>net.sourceforge.jtds</groupId>
  194. <artifactId>jtds</artifactId>
  195. <version>1.2.4</version>
  196. </dependency> -->
  197. <!-- mysql驱动包 -->
  198. <dependency>
  199. <groupId>mysql</groupId>
  200. <artifactId>mysql-connector-java</artifactId>
  201. <version>5.1.31</version>
  202. </dependency>
  203. <!-- mybatis generator -->
  204. <dependency>
  205. <groupId>org.mybatis.generator</groupId>
  206. <artifactId>mybatis-generator-maven-plugin</artifactId>
  207. <version>1.3.2</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>com.github.pagehelper</groupId>
  211. <artifactId>pagehelper</artifactId>
  212. <version>4.0.0</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>com.github.abel533</groupId>
  216. <artifactId>mapper</artifactId>
  217. <version>2.0.1</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>com.github.jsqlparser</groupId>
  221. <artifactId>jsqlparser</artifactId>
  222. <version>0.9.1</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>javax.persistence</groupId>
  226. <artifactId>persistence-api</artifactId>
  227. <version>1.0</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>net.sf.json-lib</groupId>
  231. <artifactId>json-lib</artifactId>
  232. <version>2.3</version>
  233. <classifier>jdk15</classifier>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.springframework.data</groupId>
  237. <artifactId>spring-data-commons</artifactId>
  238. <version>1.6.1.RELEASE</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.springframework.data</groupId>
  242. <artifactId>spring-data-jpa</artifactId>
  243. <version>1.4.1.RELEASE</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>com.alibaba</groupId>
  247. <artifactId>fastjson</artifactId>
  248. <version>1.1.34</version>
  249. </dependency>
  250. <!-- commons utils -->
  251. <dependency>
  252. <groupId>commons-collections</groupId>
  253. <artifactId>commons-collections</artifactId>
  254. <version>${commons-collections-version}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>commons-beanutils</groupId>
  258. <artifactId>commons-beanutils</artifactId>
  259. <version>1.8.3</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>com.google.code.gson</groupId>
  263. <artifactId>gson</artifactId>
  264. <version>2.2.4</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.apache.commons</groupId>
  268. <artifactId>commons-lang3</artifactId>
  269. <version>3.3.2</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>commons-fileupload</groupId>
  273. <artifactId>commons-fileupload</artifactId>
  274. <version>${commons-fileupload-version}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>commons-io</groupId>
  278. <artifactId>commons-io</artifactId>
  279. <version>2.4</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>net.sourceforge.jexcelapi</groupId>
  283. <artifactId>jxl</artifactId>
  284. <version>2.6.12</version>
  285. </dependency>
  286. <!-- commons utils -->
  287. <dependency>
  288. <groupId>javax.mail</groupId>
  289. <artifactId>mail</artifactId>
  290. <version>1.4.4</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>org.htmlparser</groupId>
  294. <artifactId>htmlparser</artifactId>
  295. <version>1.6</version>
  296. </dependency>
  297. <dependency>
  298. <groupId>org.apache.poi</groupId>
  299. <artifactId>poi</artifactId>
  300. <version>3.14</version>
  301. </dependency>
  302. <dependency>
  303. <groupId>org.apache.poi</groupId>
  304. <artifactId>poi-ooxml</artifactId>
  305. <version>3.14</version>
  306. </dependency>
  307. <dependency>
  308. <groupId>org.apache.poi</groupId>
  309. <artifactId>poi-scratchpad</artifactId>
  310. <version>3.14</version>
  311. </dependency>
  312. </dependencies>
  313. <!-- Repository -->
  314. <repositories>
  315. </repositories>
  316. <build>
  317. <finalName>smscat</finalName>
  318. <defaultGoal>package</defaultGoal>
  319. <!-- default:src/main/java -->
  320. <sourceDirectory>src/main/java</sourceDirectory>
  321. <!-- default:src/test/java -->
  322. <testSourceDirectory>src/test/java</testSourceDirectory>
  323. <testResources>
  324. <testResource>
  325. <!-- default:src/main/resources -->
  326. <directory>src/test/resources</directory>
  327. <filtering>true</filtering>
  328. </testResource>
  329. </testResources>
  330. <!-- default:target/classes -->
  331. <outputDirectory>target/classes</outputDirectory>
  332. <!-- default:target/test-classes -->
  333. <testOutputDirectory>target/test-classes</testOutputDirectory>
  334. <resources>
  335. <resource>
  336. <!-- default:src/main/resources -->
  337. <directory>src/main/resources</directory>
  338. <filtering>true</filtering>
  339. </resource>
  340. </resources>
  341. <pluginManagement>
  342. <plugins>
  343. <plugin>
  344. <groupId>org.apache.maven.plugins</groupId>
  345. <artifactId>maven-compiler-plugin</artifactId>
  346. <version>2.3.2</version>
  347. <configuration>
  348. <source>1.7</source>
  349. <target>1.7</target>
  350. <encoding>UTF-8</encoding>
  351. </configuration>
  352. </plugin>
  353. <plugin>
  354. <artifactId>maven-war-plugin</artifactId>
  355. <configuration>
  356. <warSourceDirectory>${basedir}/src/main/webapp</warSourceDirectory>
  357. </configuration>
  358. </plugin>
  359. <plugin>
  360. <groupId>org.apache.maven.plugins</groupId>
  361. <artifactId>maven-compiler-plugin</artifactId>
  362. <version>2.3.2</version>
  363. <configuration>
  364. <source>1.7</source>
  365. <target>1.7</target>
  366. <showWarnings>true</showWarnings>
  367. <compilerArguments>
  368. <extdirs>${basedir}/src/main/webapp/WEB-INF/lib</extdirs>
  369. </compilerArguments>
  370. </configuration>
  371. </plugin>
  372. <!-- 可以将 maven 依赖 复制到 webapp 下的web-info/lib中 -->
  373. <plugin>
  374. <groupId>org.apache.maven.plugins</groupId>
  375. <artifactId>maven-dependency-plugin</artifactId>
  376. <executions>
  377. <execution>
  378. <id>copy-dependencies</id>
  379. <phase>package</phase>
  380. <goals>
  381. <goal>copy-dependencies</goal>
  382. </goals>
  383. <configuration>
  384. <outputDirectory>${basedir}/src/main/webapp/WEB-INF/lib</outputDirectory>
  385. <overWriteReleases>false</overWriteReleases>
  386. <overWriteSnapshots>false</overWriteSnapshots>
  387. <overWriteIfNewer>true</overWriteIfNewer>
  388. </configuration>
  389. </execution>
  390. </executions>
  391. </plugin>
  392. </plugins>
  393. </pluginManagement>
  394. </build>
  395. </project>