pom.xml 8.7 KB

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