pom.xml 9.9 KB

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