pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  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.cloudcross</groupId>
  5. <artifactId>ssp_web</artifactId>
  6. <packaging>war</packaging>
  7. <version>0.0.2-SNAPSHOT</version>
  8. <name>ssp Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <spring.version>3.1.1.RELEASE</spring.version>
  12. <jackson.version>1.9.13</jackson.version>
  13. <mybatis.version>3.2.3</mybatis.version>
  14. <mybatis-spring.version>1.2.1</mybatis-spring.version>
  15. <aspectj.version>1.6.10</aspectj.version>
  16. <freemarker.version>2.3.16</freemarker.version>
  17. <log4j.version>1.2.16</log4j.version>
  18. <junit.version>4.8.2</junit.version>
  19. <jetty.version>6.1.26</jetty.version>
  20. <jdk.version>1.6</jdk.version>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. </properties>
  23. <build>
  24. <resources>
  25. <resource>
  26. <directory>src/main/resources</directory>
  27. <includes>
  28. <include>**/*.xml</include>
  29. <include>**/*properties</include>
  30. <include>**/*ftl</include>
  31. </includes>
  32. </resource>
  33. <resource>
  34. <directory>src/main/java</directory>
  35. <includes>
  36. <include>**/*.xml</include>
  37. </includes>
  38. </resource>
  39. </resources>
  40. <pluginManagement>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-compiler-plugin</artifactId>
  45. <version>3.1</version>
  46. <configuration>
  47. <source>${jdk.version}</source>
  48. <target>${jdk.version}</target>
  49. <compilerId>eclipse</compilerId>
  50. </configuration>
  51. <dependencies>
  52. <dependency>
  53. <groupId>org.codehaus.plexus</groupId>
  54. <artifactId>plexus-compiler-eclipse</artifactId>
  55. <version>2.2</version>
  56. </dependency>
  57. </dependencies>
  58. </plugin>
  59. <plugin>
  60. <groupId>org.eclipse.m2e</groupId>
  61. <artifactId>lifecycle-mapping</artifactId>
  62. <version>1.0.0</version>
  63. <configuration>
  64. <lifecycleMappingMetadata>
  65. <pluginExecutions>
  66. <pluginExecution>
  67. <pluginExecutionFilter>
  68. <groupId>org.apache.maven.plugins</groupId>
  69. <artifactId>maven-compiler-plugin</artifactId>
  70. <versionRange>[3.1,)</versionRange>
  71. <goals>
  72. <goal>testCompile</goal>
  73. <goal>compile</goal>
  74. </goals>
  75. </pluginExecutionFilter>
  76. <action>
  77. <ignore />
  78. </action>
  79. </pluginExecution>
  80. </pluginExecutions>
  81. </lifecycleMappingMetadata>
  82. </configuration>
  83. </plugin>
  84. <plugin>
  85. <artifactId>maven-war-plugin</artifactId>
  86. <version>2.4</version>
  87. <configuration>
  88. <failOnMissingWebXml>false</failOnMissingWebXml>
  89. <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
  90. </configuration>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.mortbay.jetty</groupId>
  94. <artifactId>maven-jetty-plugin</artifactId>
  95. <version>${jetty.version}</version>
  96. <configuration>
  97. <stopPort>9966</stopPort><!-- 停止jetty -->
  98. <stopKey>foo</stopKey>
  99. </configuration>
  100. </plugin>
  101. </plugins>
  102. </pluginManagement>
  103. </build>
  104. <dependencies>
  105. <!-- log4j integration -->
  106. <dependency>
  107. <groupId>log4j</groupId>
  108. <artifactId>log4j</artifactId>
  109. <version>${log4j.version}</version>
  110. </dependency>
  111. <!-- Mysql integration -->
  112. <dependency>
  113. <groupId>mysql</groupId>
  114. <artifactId>mysql-connector-java</artifactId>
  115. <version>5.1.9</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>commons-dbcp</groupId>
  119. <artifactId>commons-dbcp</artifactId>
  120. <version>1.4</version>
  121. </dependency>
  122. <!-- Spring integration -->
  123. <dependency>
  124. <groupId>org.springframework</groupId>
  125. <artifactId>spring-core</artifactId>
  126. <version>${spring.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.springframework</groupId>
  130. <artifactId>spring-webmvc</artifactId>
  131. <version>${spring.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework</groupId>
  135. <artifactId>spring-beans</artifactId>
  136. <version>${spring.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework</groupId>
  140. <artifactId>spring-context</artifactId>
  141. <version>${spring.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.springframework</groupId>
  145. <artifactId>spring-aop</artifactId>
  146. <version>${spring.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework</groupId>
  150. <artifactId>spring-orm</artifactId>
  151. <version>${spring.version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework</groupId>
  155. <artifactId>spring-test</artifactId>
  156. <version>${spring.version}</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.springframework.security</groupId>
  160. <artifactId>spring-security-web</artifactId>
  161. <version>${spring.version}</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.springframework.security</groupId>
  165. <artifactId>spring-security-config</artifactId>
  166. <version>${spring.version}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.springframework.security</groupId>
  170. <artifactId>spring-security-taglibs</artifactId>
  171. <version>${spring.version}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.aspectj</groupId>
  175. <artifactId>aspectjrt</artifactId>
  176. <version>${aspectj.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.aspectj</groupId>
  180. <artifactId>aspectjweaver</artifactId>
  181. <version>${aspectj.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>cglib</groupId>
  185. <artifactId>cglib</artifactId>
  186. <version>2.2</version>
  187. </dependency>
  188. <!-- Freemarker integration -->
  189. <dependency>
  190. <groupId>org.freemarker</groupId>
  191. <artifactId>freemarker</artifactId>
  192. <version>${freemarker.version}</version>
  193. </dependency>
  194. <!-- MyBatis integration -->
  195. <dependency>
  196. <groupId>org.mybatis</groupId>
  197. <artifactId>mybatis-spring</artifactId>
  198. <version>${mybatis-spring.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.mybatis</groupId>
  202. <artifactId>mybatis</artifactId>
  203. <version>${mybatis.version}</version>
  204. </dependency>
  205. <!-- Apache common -->
  206. <dependency>
  207. <groupId>org.apache.commons</groupId>
  208. <artifactId>commons-io</artifactId>
  209. <version>1.3.2</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>commons-lang</groupId>
  213. <artifactId>commons-lang</artifactId>
  214. <version>2.6</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>commons-collections</groupId>
  218. <artifactId>commons-collections</artifactId>
  219. <version>3.2</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>commons-beanutils</groupId>
  223. <artifactId>commons-beanutils</artifactId>
  224. <version>1.8.3</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>commons-fileupload</groupId>
  228. <artifactId>commons-fileupload</artifactId>
  229. <version>1.3</version>
  230. </dependency>
  231. <!-- Junit integration -->
  232. <dependency>
  233. <groupId>junit</groupId>
  234. <artifactId>junit</artifactId>
  235. <version>${junit.version}</version>
  236. <scope>test</scope>
  237. </dependency>
  238. <!-- Jackson integration for spring view -->
  239. <dependency>
  240. <groupId>org.codehaus.jackson</groupId>
  241. <artifactId>jackson-mapper-asl</artifactId>
  242. <version>${jackson.version}</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.codehaus.jackson</groupId>
  246. <artifactId>jackson-core-asl</artifactId>
  247. <version>${jackson.version}</version>
  248. </dependency>
  249. <!-- Java mail integration -->
  250. <dependency>
  251. <groupId>com.sun.mail</groupId>
  252. <artifactId>javax.mail</artifactId>
  253. <version>1.5.1</version>
  254. </dependency>
  255. <!-- j2ee dependency -->
  256. <dependency>
  257. <groupId>javax.servlet</groupId>
  258. <artifactId>servlet-api</artifactId>
  259. <version>2.5</version>
  260. <scope>provided</scope>
  261. </dependency>
  262. <dependency>
  263. <groupId>javax.servlet.jsp</groupId>
  264. <artifactId>jsp-api</artifactId>
  265. <version>2.1</version>
  266. <scope>provided</scope>
  267. </dependency>
  268. <!-- json dependency -->
  269. <dependency>
  270. <groupId>org.json</groupId>
  271. <artifactId>json</artifactId>
  272. <version>20090211</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>net.sf.json-lib</groupId>
  276. <artifactId>json-lib</artifactId>
  277. <version>2.4</version>
  278. <classifier>jdk15</classifier>
  279. </dependency>
  280. </dependencies>
  281. </project>