pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.itheima</groupId>
  7. <artifactId>ssm</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>war</packaging>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <maven.compiler.source>1.8</maven.compiler.source>
  13. <maven.compiler.target>1.8</maven.compiler.target>
  14. </properties>
  15. <dependencies>
  16. <!--
  17. spring相关
  18. -->
  19. <!--spring 基础包-->
  20. <dependency>
  21. <groupId>org.springframework</groupId>
  22. <artifactId>spring-context</artifactId>
  23. <version>5.0.5.RELEASE</version>
  24. </dependency>
  25. <!--使用spring aop 必引-->
  26. <dependency>
  27. <groupId>org.aspectj</groupId>
  28. <artifactId>aspectjweaver</artifactId>
  29. <version>1.8.7</version>
  30. </dependency>
  31. <!-- spring 声明式事务 -->
  32. <dependency>
  33. <groupId>org.springframework</groupId>
  34. <artifactId>spring-jdbc</artifactId>
  35. <version>5.0.5.RELEASE</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework</groupId>
  39. <artifactId>spring-tx</artifactId>
  40. <version>5.0.5.RELEASE</version>
  41. </dependency>
  42. <!-- spring mvc -->
  43. <dependency>
  44. <groupId>org.springframework</groupId>
  45. <artifactId>spring-webmvc</artifactId>
  46. <version>5.0.5.RELEASE</version>
  47. </dependency>
  48. <!--
  49. 辅助spirng MVC jackson, 处理json转换和中文乱码
  50. -->
  51. <dependency>
  52. <groupId>com.fasterxml.jackson.core</groupId>
  53. <artifactId>jackson-core</artifactId>
  54. <version>2.9.0</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.fasterxml.jackson.core</groupId>
  58. <artifactId>jackson-databind</artifactId>
  59. <version>2.9.0</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.fasterxml.jackson.core</groupId>
  63. <artifactId>jackson-annotations</artifactId>
  64. <version>2.9.0</version>
  65. </dependency>
  66. <!--
  67. 数据库、数据源和mybatis相关
  68. DAO层
  69. -->
  70. <dependency>
  71. <groupId>org.mybatis</groupId>
  72. <artifactId>mybatis</artifactId>
  73. <version>3.4.5</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.mybatis</groupId>
  77. <artifactId>mybatis-spring</artifactId>
  78. <version>1.3.1</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>mysql</groupId>
  82. <artifactId>mysql-connector-java</artifactId>
  83. <version>5.1.6</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>c3p0</groupId>
  87. <artifactId>c3p0</artifactId>
  88. <version>0.9.1.2</version>
  89. </dependency>
  90. <!--
  91. 日志相关
  92. -->
  93. <dependency>
  94. <groupId>log4j</groupId>
  95. <artifactId>log4j</artifactId>
  96. <version>1.2.17</version>
  97. </dependency>
  98. <!--
  99. 单元测试
  100. -->
  101. <dependency>
  102. <groupId>junit</groupId>
  103. <artifactId>junit</artifactId>
  104. <version>4.12</version>
  105. </dependency>
  106. <!--集成spring测试环境-->
  107. <dependency>
  108. <groupId>org.springframework</groupId>
  109. <artifactId>spring-test</artifactId>
  110. <version>5.0.5.RELEASE</version>
  111. </dependency>
  112. <!--
  113. servlet和jsp
  114. -->
  115. <dependency>
  116. <groupId>javax.servlet</groupId>
  117. <artifactId>javax.servlet-api</artifactId>
  118. <version>3.0.1</version>
  119. <scope>provided</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>javax.servlet.jsp</groupId>
  123. <artifactId>javax.servlet.jsp-api</artifactId>
  124. <version>2.2.1</version>
  125. <scope>provided</scope>
  126. </dependency>
  127. <dependency>
  128. <groupId>jstl</groupId>
  129. <artifactId>jstl</artifactId>
  130. <version>1.2</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.alibaba</groupId>
  134. <artifactId>fastjson</artifactId>
  135. <version>1.2.47</version>
  136. </dependency>
  137. <!-- httpclient -->
  138. <dependency>
  139. <groupId>org.apache.httpcomponents</groupId>
  140. <artifactId>httpcore</artifactId>
  141. <version>4.4.3</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.httpcomponents</groupId>
  145. <artifactId>httpclient</artifactId>
  146. <version>4.5.1</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.httpcomponents</groupId>
  150. <artifactId>httpmime</artifactId>
  151. <version>4.5.1</version>
  152. </dependency>
  153. </dependencies>
  154. <build>
  155. <finalName>itheima_ssm</finalName>
  156. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  157. <plugins>
  158. <plugin>
  159. <artifactId>maven-clean-plugin</artifactId>
  160. <version>3.0.0</version>
  161. </plugin>
  162. <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
  163. <plugin>
  164. <artifactId>maven-resources-plugin</artifactId>
  165. <version>3.0.2</version>
  166. </plugin>
  167. <plugin>
  168. <artifactId>maven-compiler-plugin</artifactId>
  169. <version>3.7.0</version>
  170. </plugin>
  171. <plugin>
  172. <artifactId>maven-surefire-plugin</artifactId>
  173. <version>2.20.1</version>
  174. </plugin>
  175. <plugin>
  176. <artifactId>maven-war-plugin</artifactId>
  177. <version>3.2.0</version>
  178. </plugin>
  179. <plugin>
  180. <artifactId>maven-install-plugin</artifactId>
  181. <version>2.5.2</version>
  182. </plugin>
  183. <plugin>
  184. <artifactId>maven-deploy-plugin</artifactId>
  185. <version>2.8.2</version>
  186. </plugin>
  187. </plugins>
  188. </pluginManagement>
  189. </build>
  190. </project>