pom.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  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.persagy</groupId>
  5. <artifactId>booking</artifactId>
  6. <packaging>war</packaging>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>booking Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  10. <dependencies>
  11. <dependency>
  12. <groupId>junit</groupId>
  13. <artifactId>junit</artifactId>
  14. <version>3.8.1</version>
  15. <scope>test</scope>
  16. </dependency>
  17. <!--SSM框架所用到的jar包-->
  18. <!--Spring-->
  19. <dependency>
  20. <groupId>org.springframework</groupId>
  21. <artifactId>spring-core</artifactId>
  22. <version>4.2.6.RELEASE</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework</groupId>
  26. <artifactId>spring-context</artifactId>
  27. <version>4.2.6.RELEASE</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework</groupId>
  31. <artifactId>spring-beans</artifactId>
  32. <version>4.2.6.RELEASE</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework</groupId>
  36. <artifactId>spring-expression</artifactId>
  37. <version>4.2.6.RELEASE</version>
  38. </dependency>
  39. <!--日志文件jar包依赖-->
  40. <dependency>
  41. <groupId>commons-logging</groupId>
  42. <artifactId>commons-logging</artifactId>
  43. <version>1.2</version>
  44. </dependency>
  45. <!-- <dependency>
  46. <groupId>log4j</groupId>
  47. <artifactId>log4j</artifactId>
  48. <version>1.2.15</version>
  49. </dependency>-->
  50. <!--Spring框架整合Junit-->
  51. <dependency>
  52. <groupId>org.springframework</groupId>
  53. <artifactId>spring-test</artifactId>
  54. <version>4.2.6.RELEASE</version>
  55. </dependency>
  56. <!--spring的aop相关依赖-->
  57. <dependency>
  58. <groupId>org.springframework</groupId>
  59. <artifactId>spring-aop</artifactId>
  60. <version>4.2.6.RELEASE</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>aopalliance</groupId>
  64. <artifactId>aopalliance</artifactId>
  65. <version>1.0</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.aspectj</groupId>
  69. <artifactId>aspectjweaver</artifactId>
  70. <version>1.8.10</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework</groupId>
  74. <artifactId>spring-aspects</artifactId>
  75. <version>4.2.6.RELEASE</version>
  76. </dependency>
  77. <!--Spring的JDBC相关依赖配置-->
  78. <dependency>
  79. <groupId>org.springframework</groupId>
  80. <artifactId>spring-jdbc</artifactId>
  81. <version>4.2.6.RELEASE</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>mysql</groupId>
  85. <artifactId>mysql-connector-java</artifactId>
  86. <version>5.1.25</version>
  87. </dependency>
  88. <!--创建数据源连接池DBCP依赖-->
  89. <dependency>
  90. <groupId>commons-dbcp</groupId>
  91. <artifactId>commons-dbcp</artifactId>
  92. <version>1.4</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>commons-pool</groupId>
  96. <artifactId>commons-pool</artifactId>
  97. <version>1.5.6</version>
  98. </dependency>
  99. <!--创建c3p0连接池依赖-->
  100. <dependency>
  101. <groupId>com.mchange</groupId>
  102. <artifactId>c3p0</artifactId>
  103. <version>0.9.5.2</version>
  104. </dependency>
  105. <!--Spring的事务相关依赖配置-->
  106. <dependency>
  107. <groupId>org.springframework</groupId>
  108. <artifactId>spring-tx</artifactId>
  109. <version>4.2.6.RELEASE</version>
  110. </dependency>
  111. <!--springmvc相关jar包配置-->
  112. <dependency>
  113. <groupId>org.springframework</groupId>
  114. <artifactId>spring-webmvc</artifactId>
  115. <version>4.2.6.RELEASE</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.springframework</groupId>
  119. <artifactId>spring-web</artifactId>
  120. <version>4.2.6.RELEASE</version>
  121. </dependency>
  122. <!--引入dubbo-->
  123. <dependency>
  124. <groupId>com.alibaba</groupId>
  125. <artifactId>dubbo</artifactId>
  126. <version>2.6.7</version>
  127. </dependency>
  128. <!--Mybatis-->
  129. <dependency>
  130. <groupId>org.mybatis</groupId>
  131. <artifactId>mybatis</artifactId>
  132. <version>3.3.1</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.javassist</groupId>
  136. <artifactId>javassist</artifactId>
  137. <version>3.18.1-GA</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.ow2.asm</groupId>
  141. <artifactId>asm</artifactId>
  142. <version>5.2</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>cglib</groupId>
  146. <artifactId>cglib</artifactId>
  147. <version>2.2.2</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.logging.log4j</groupId>
  151. <artifactId>log4j-core</artifactId>
  152. <version>2.6.2</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.apache.logging.log4j</groupId>
  156. <artifactId>log4j-api</artifactId>
  157. <version>2.6.2</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.slf4j</groupId>
  161. <artifactId>slf4j-api</artifactId>
  162. <version>1.7.25</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.slf4j</groupId>
  166. <artifactId>slf4j-log4j12</artifactId>
  167. <version>1.7.25</version>
  168. <scope>test</scope>
  169. </dependency>
  170. <!--Mybatis逆向工程jar包配置-->
  171. <dependency>
  172. <groupId>org.mybatis.generator</groupId>
  173. <artifactId>mybatis-generator-core</artifactId>
  174. <version>1.3.7</version>
  175. </dependency>
  176. <!--Spring和Mybatis整合-->
  177. <dependency>
  178. <groupId>org.mybatis</groupId>
  179. <artifactId>mybatis-spring</artifactId>
  180. <version>1.2.2</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>junit</groupId>
  184. <artifactId>junit</artifactId>
  185. <version>RELEASE</version>
  186. </dependency>
  187. <!--导入Servlet-->
  188. <!-- <dependency>
  189. <groupId>javax.servlet</groupId>
  190. <artifactId>servlet-api</artifactId>
  191. &lt;!&ndash;不要使用2.3版本,2.3版本的ServletResponse没有setCharacterEncoding()方法&ndash;&gt;
  192. <version>2.5</version>
  193. <scope>provided</scope> &lt;!&ndash;此处应该加这段话,为了防止Tomcat与Servlet冲突找不到对应的页面&ndash;&gt;
  194. </dependency>-->
  195. <dependency>
  196. <groupId>javax.servlet</groupId>
  197. <artifactId>javax.servlet-api</artifactId>
  198. <version>3.1.0</version>
  199. <scope>provided</scope>
  200. </dependency>
  201. <!--导入JSTL标签库-->
  202. <dependency>
  203. <groupId>jstl</groupId>
  204. <artifactId>jstl</artifactId>
  205. <version>1.2</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>taglibs</groupId>
  209. <artifactId>standard</artifactId>
  210. <version>1.1.2</version>
  211. </dependency>
  212. <!--文件上传jar包导入-->
  213. <dependency>
  214. <groupId>commons-fileupload</groupId>
  215. <artifactId>commons-fileupload</artifactId>
  216. <version>1.2.2</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>commons-io</groupId>
  220. <artifactId>commons-io</artifactId>
  221. <version>2.5</version>
  222. </dependency>
  223. <!--Json相关Jar包-->
  224. <dependency>
  225. <groupId>com.fasterxml.jackson.core</groupId>
  226. <artifactId>jackson-core</artifactId>
  227. <version>2.6.2</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>com.fasterxml.jackson.core</groupId>
  231. <artifactId>jackson-annotations</artifactId>
  232. <version>2.6.2</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>com.fasterxml.jackson.core</groupId>
  236. <artifactId>jackson-databind</artifactId>
  237. <version>2.6.2</version>
  238. </dependency>
  239. <!-- 配置阿里巴巴Druid连接池jar包 -->
  240. <dependency>
  241. <groupId>com.alibaba</groupId>
  242. <artifactId>druid</artifactId>
  243. <version>1.1.12</version>
  244. </dependency>
  245. <!--shiro依赖-->
  246. <dependency>
  247. <groupId>org.apache.shiro</groupId>
  248. <artifactId>shiro-core</artifactId>
  249. <version>1.2.3</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.apache.shiro</groupId>
  253. <artifactId>shiro-web</artifactId>
  254. <version>1.2.3</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.apache.shiro</groupId>
  258. <artifactId>shiro-spring</artifactId>
  259. <version>1.2.3</version>
  260. </dependency>
  261. </dependencies>
  262. <build>
  263. <finalName>booking</finalName>
  264. <resources>
  265. <resource>
  266. <directory>src/main/java</directory>
  267. <includes>
  268. <include>**/**/**/*.xml</include>
  269. </includes>
  270. </resource>
  271. <resource>
  272. <directory>src/main/resources</directory>
  273. </resource>
  274. </resources>
  275. <plugins>
  276. <plugin>
  277. <groupId>org.apache.maven.plugins</groupId>
  278. <artifactId>maven-compiler-plugin</artifactId>
  279. <configuration>
  280. <source>1.6</source>
  281. <target>1.6</target>
  282. </configuration>
  283. </plugin>
  284. </plugins>
  285. </build>
  286. </project>