pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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>japost</groupId>
  5. <artifactId>cwfx</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>war</packaging>
  8. <name />
  9. <description />
  10. <properties>
  11. <!-- 指明使用JDK7 -->
  12. <java-version>1.7</java-version>
  13. <!-- 指明使用utf-8编码 -->
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. </properties>
  16. <!-- 指定Maven仓库 -->
  17. <repositories>
  18. <!-- oschina的maven仓库 -->
  19. <repository>
  20. <id>oschinaRepository</id>
  21. <name>local private nexus</name>
  22. <url>http://maven.oschina.net/content/groups/public/</url>
  23. <releases>
  24. <enabled>true</enabled>
  25. </releases>
  26. <snapshots>
  27. <enabled>true</enabled>
  28. </snapshots>
  29. </repository>
  30. <!-- 官方maven仓库 -->
  31. <!-- <repository> <id>maven</id> <name>Maven Repository Switchboard</name> <layout>default</layout> <url>http://repo1.maven.org/maven2</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> -->
  32. </repositories>
  33. <!-- 指定maven plugin仓库 -->
  34. <pluginRepositories>
  35. <!-- oschina的maven plugin仓库 -->
  36. <pluginRepository>
  37. <id>oschinaPluginRepository</id>
  38. <name>local private nexus</name>
  39. <url>http://maven.oschina.net/content/groups/public/</url>
  40. <releases>
  41. <enabled>true</enabled>
  42. </releases>
  43. <snapshots>
  44. <enabled>false</enabled>
  45. </snapshots>
  46. </pluginRepository>
  47. </pluginRepositories>
  48. <dependencies>
  49. <!-- jstl -->
  50. <dependency>
  51. <groupId>javax.servlet</groupId>
  52. <artifactId>jstl</artifactId>
  53. <version>1.2</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>javax.servlet.jsp</groupId>
  57. <artifactId>jsp-api</artifactId>
  58. <version>2.2.1-b03</version>
  59. <scope>provided</scope>
  60. </dependency>
  61. <!-- fastJson -->
  62. <dependency>
  63. <groupId>com.alibaba</groupId>
  64. <artifactId>fastjson</artifactId>
  65. <version>1.2.3</version>
  66. </dependency>
  67. <!-- mysql数据库驱动 -->
  68. <dependency>
  69. <groupId>mysql</groupId>
  70. <artifactId>mysql-connector-java</artifactId>
  71. <version>5.1.24</version>
  72. </dependency>
  73. <!-- sql server数据库驱动 -->
  74. <!-- <dependency> <groupId>net.sourceforge.jtds</groupId> <artifactId>jtds</artifactId>
  75. <version>1.2.4</version> </dependency> -->
  76. <!-- oracle数据库驱动 -->
  77. <dependency>
  78. <groupId>commons-io</groupId>
  79. <artifactId>commons-io</artifactId>
  80. <version>2.4</version>
  81. </dependency>
  82. <!-- druid -->
  83. <dependency>
  84. <groupId>com.alibaba</groupId>
  85. <artifactId>druid</artifactId>
  86. <version>1.0.7</version>
  87. </dependency>
  88. <!-- aspectjweaver -->
  89. <dependency>
  90. <groupId>org.aspectj</groupId>
  91. <artifactId>aspectjweaver</artifactId>
  92. <version>1.7.2</version>
  93. </dependency>
  94. <!-- servlet -->
  95. <dependency>
  96. <groupId>javax.servlet</groupId>
  97. <artifactId>servlet-api</artifactId>
  98. <version>2.5</version>
  99. <scope>provided</scope>
  100. </dependency>
  101. <!-- log4j -->
  102. <dependency>
  103. <groupId>log4j</groupId>
  104. <artifactId>log4j</artifactId>
  105. <version>1.2.17</version>
  106. </dependency>
  107. <!-- junit -->
  108. <dependency>
  109. <groupId>junit</groupId>
  110. <artifactId>junit</artifactId>
  111. <version>4.11</version>
  112. <scope>test</scope>
  113. </dependency>
  114. <!-- hibernate4 -->
  115. <dependency>
  116. <groupId>org.hibernate</groupId>
  117. <artifactId>hibernate-core</artifactId>
  118. <version>4.2.0.Final</version>
  119. </dependency>
  120. <!-- struts2 -->
  121. <dependency>
  122. <groupId>org.apache.struts</groupId>
  123. <artifactId>struts2-core</artifactId>
  124. <version>2.3.12</version>
  125. <exclusions>
  126. <exclusion>
  127. <groupId>javassist</groupId>
  128. <artifactId>javassist</artifactId>
  129. </exclusion>
  130. </exclusions>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.struts</groupId>
  134. <artifactId>struts2-spring-plugin</artifactId>
  135. <version>2.3.12</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.struts</groupId>
  139. <artifactId>struts2-convention-plugin</artifactId>
  140. <version>2.3.12</version>
  141. </dependency>
  142. <!-- spring3 -->
  143. <dependency>
  144. <groupId>org.springframework</groupId>
  145. <artifactId>spring-core</artifactId>
  146. <version>3.2.2.RELEASE</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework</groupId>
  150. <artifactId>spring-context</artifactId>
  151. <version>3.2.2.RELEASE</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework</groupId>
  155. <artifactId>spring-jdbc</artifactId>
  156. <version>3.2.2.RELEASE</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.springframework</groupId>
  160. <artifactId>spring-beans</artifactId>
  161. <version>3.2.2.RELEASE</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.springframework</groupId>
  165. <artifactId>spring-web</artifactId>
  166. <version>3.2.2.RELEASE</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.springframework</groupId>
  170. <artifactId>spring-expression</artifactId>
  171. <version>3.2.2.RELEASE</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.springframework</groupId>
  175. <artifactId>spring-orm</artifactId>
  176. <version>3.2.2.RELEASE</version>
  177. </dependency>
  178. <!-- excel操作类 POI -->
  179. <dependency>
  180. <groupId>org.apache.poi</groupId>
  181. <artifactId>poi</artifactId>
  182. <version>3.11</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.apache.poi</groupId>
  186. <artifactId>poi-ooxml</artifactId>
  187. <version>3.11</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.apache.poi</groupId>
  191. <artifactId>poi-ooxml-schemas</artifactId>
  192. <version>3.11</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>commons-beanutils</groupId>
  196. <artifactId>commons-beanutils</artifactId>
  197. <version>1.8.3</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>bsh</groupId>
  201. <artifactId>bsh</artifactId>
  202. <version>1.3.0</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>commons-lang</groupId>
  206. <artifactId>commons-lang</artifactId>
  207. <version>2.6</version>
  208. </dependency>
  209. </dependencies>
  210. <build>
  211. <plugins>
  212. <plugin>
  213. <artifactId>maven-war-plugin</artifactId>
  214. </plugin>
  215. <plugin>
  216. <artifactId>maven-compiler-plugin</artifactId>
  217. <configuration>
  218. <source>1.7</source>
  219. <target>1.7</target>
  220. </configuration>
  221. </plugin>
  222. </plugins>
  223. </build>
  224. </project>