pom.xml 15 KB

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