pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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.examlpe</groupId>
  5. <artifactId>holleworld</artifactId>
  6. <packaging>war</packaging>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>holleworld Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  10. <!-- 配置相关jar包的版本 -->
  11. <properties>
  12. <spring.version>4.3.4.RELEASE</spring.version>
  13. <aspectj.version>1.8.9</aspectj.version>
  14. <mybatis.version>3.4.1</mybatis.version>
  15. <mybatis-spring.version>1.3.0</mybatis-spring.version>
  16. <jdbc.version>5.1.35</jdbc.version>
  17. <fastjson.version>1.2.23</fastjson.version>
  18. <log4j.version>1.2.17</log4j.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>junit</groupId>
  23. <artifactId>junit</artifactId>
  24. <version>3.8.1</version>
  25. <scope>test</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.slf4j</groupId>
  29. <artifactId>slf4j-api</artifactId>
  30. <version>1.7.12</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>ch.qos.logback</groupId>
  34. <artifactId>logback-core</artifactId>
  35. <version>1.1.1</version>
  36. </dependency>
  37. <!-- 实现slf4j接口并整合 -->
  38. <dependency>
  39. <groupId>ch.qos.logback</groupId>
  40. <artifactId>logback-classic</artifactId>
  41. <version>1.1.1</version>
  42. </dependency>
  43. <!-- 添加spring依赖 -->
  44. <dependency>
  45. <groupId>org.springframework</groupId>
  46. <artifactId>spring-aop</artifactId>
  47. <version>${spring.version}</version>
  48. </dependency>
  49. <!-- spring-beans-version.RELEASE.jar -->
  50. <dependency>
  51. <groupId>org.springframework</groupId>
  52. <artifactId>spring-beans</artifactId>
  53. <version>${spring.version}</version>
  54. </dependency>
  55. <!-- spring-context-version.RELEASE.jar -->
  56. <dependency>
  57. <groupId>org.springframework</groupId>
  58. <artifactId>spring-context</artifactId>
  59. <version>${spring.version}</version>
  60. </dependency>
  61. <!-- spring-core-version.RELEASE.jar -->
  62. <dependency>
  63. <groupId>org.springframework</groupId>
  64. <artifactId>spring-core</artifactId>
  65. <version>${spring.version}</version>
  66. </dependency>
  67. <!-- spring-expression-version.RELEASE.jar -->
  68. <dependency>
  69. <groupId>org.springframework</groupId>
  70. <artifactId>spring-expression</artifactId>
  71. <version>${spring.version}</version>
  72. </dependency>
  73. <!-- spring-web-version.RELEASE.jar -->
  74. <dependency>
  75. <groupId>org.springframework</groupId>
  76. <artifactId>spring-web</artifactId>
  77. <version>${spring.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework</groupId>
  81. <artifactId>spring-webmvc</artifactId>
  82. <version>${spring.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework</groupId>
  86. <artifactId>spring-jdbc</artifactId>
  87. <version>${spring.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework</groupId>
  91. <artifactId>spring-tx</artifactId>
  92. <version>${spring.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework</groupId>
  96. <artifactId>spring-aspects</artifactId>
  97. <version>${spring.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>aopalliance</groupId>
  101. <artifactId>aopalliance</artifactId>
  102. <version>1.0</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.fasterxml.jackson.core</groupId>
  106. <artifactId>jackson-databind</artifactId>
  107. <version>2.8.5</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.alibaba</groupId>
  111. <artifactId>fastjson</artifactId>
  112. <version>1.2.23</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.aspectj</groupId>
  116. <artifactId>aspectjweaver</artifactId>
  117. <version>${aspectj.version}</version>
  118. </dependency>
  119. <!-- 添加mybatis依赖 -->
  120. <dependency>
  121. <groupId>org.mybatis</groupId>
  122. <artifactId>mybatis</artifactId>
  123. <version>${mybatis.version}</version>
  124. </dependency>
  125. <!-- 添加mybatis-spring依赖 -->
  126. <dependency>
  127. <groupId>org.mybatis</groupId>
  128. <artifactId>mybatis-spring</artifactId>
  129. <version>${mybatis-spring.version}</version>
  130. </dependency>
  131. <!-- 数据库驱动 -->
  132. <dependency>
  133. <groupId>mysql</groupId>
  134. <artifactId>mysql-connector-java</artifactId>
  135. <version>${jdbc.version}</version>
  136. </dependency>
  137. <!-- log4j -->
  138. <dependency>
  139. <groupId>log4j</groupId>
  140. <artifactId>log4j</artifactId>
  141. <version>${log4j.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>cglib</groupId>
  145. <artifactId>cglib-nodep</artifactId>
  146. <version>3.2.5</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>commons-logging</groupId>
  150. <artifactId>commons-logging</artifactId>
  151. <version>1.2</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>dom4j</groupId>
  155. <artifactId>dom4j</artifactId>
  156. <version>1.6.1</version>
  157. </dependency>
  158. <!-- serlvet -->
  159. <dependency>
  160. <groupId>javax.servlet</groupId>
  161. <artifactId>javax.servlet-api</artifactId>
  162. <version>3.1.0</version>
  163. <scope>provided</scope>
  164. </dependency>
  165. <!--分页工具-->
  166. <dependency>
  167. <groupId>com.github.pagehelper</groupId>
  168. <artifactId>pagehelper</artifactId>
  169. <version>5.1.2</version>
  170. </dependency>
  171. <!--校验工具-->
  172. <dependency>
  173. <groupId>org.hibernate</groupId>
  174. <artifactId>hibernate-validator</artifactId>
  175. <version>5.3.4.Final</version>
  176. </dependency>
  177. </dependencies>
  178. <build>
  179. <plugins>
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-compiler-plugin</artifactId>
  183. <version>3.1</version>
  184. <configuration>
  185. <source>1.8</source>
  186. <target>1.8</target>
  187. </configuration>
  188. </plugin>
  189. </plugins>
  190. </build>
  191. </project>