pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.sf</groupId>
  6. <artifactId>SSM</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9. <name>SSM Maven Webapp</name>
  10. <!-- FIXME change it to the project's website -->
  11. <url>http://www.example.com</url>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. <maven.compiler.target>1.8</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>junit</groupId>
  20. <artifactId>junit</artifactId>
  21. <version>4.12</version>
  22. <scope>test</scope>
  23. </dependency>
  24. <!-- spring框架 start -->
  25. <dependency>
  26. <groupId>org.springframework</groupId>
  27. <artifactId>spring-core</artifactId>
  28. <version>4.3.27.RELEASE</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework</groupId>
  32. <artifactId>spring-context</artifactId>
  33. <version>4.3.27.RELEASE</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework</groupId>
  37. <artifactId>spring-aop</artifactId>
  38. <version>4.3.27.RELEASE</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework</groupId>
  42. <artifactId>spring-tx</artifactId>
  43. <version>4.3.27.RELEASE</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework</groupId>
  47. <artifactId>spring-orm</artifactId>
  48. <version>4.3.27.RELEASE</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework</groupId>
  52. <artifactId>spring-context-support</artifactId>
  53. <version>4.3.27.RELEASE</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework</groupId>
  57. <artifactId>spring-aspects</artifactId>
  58. <version>4.3.27.RELEASE</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework</groupId>
  62. <artifactId>spring-beans</artifactId>
  63. <version>4.3.27.RELEASE</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework</groupId>
  67. <artifactId>spring-expression</artifactId>
  68. <version>4.3.27.RELEASE</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework</groupId>
  72. <artifactId>spring-jdbc</artifactId>
  73. <version>4.3.27.RELEASE</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework</groupId>
  77. <artifactId>spring-test</artifactId>
  78. <version>4.3.27.RELEASE</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework</groupId>
  82. <artifactId>spring-web</artifactId>
  83. <version>4.3.27.RELEASE</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework</groupId>
  87. <artifactId>spring-webmvc</artifactId>
  88. <version>4.3.27.RELEASE</version>
  89. </dependency>
  90. <!-- spring框架 end -->
  91. <!-- 数据库驱动数据库连接池start -->
  92. <dependency>
  93. <groupId>mysql</groupId>
  94. <artifactId>mysql-connector-java</artifactId>
  95. <version>5.1.46</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.alibaba</groupId>
  99. <artifactId>druid</artifactId>
  100. <version>1.1.6</version>
  101. </dependency>
  102. <!-- 数据库驱动数据库连接池end -->
  103. <!-- mybatis框架 start -->
  104. <dependency>
  105. <groupId>org.mybatis</groupId>
  106. <artifactId>mybatis</artifactId>
  107. <version>3.4.6</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.mybatis</groupId>
  111. <artifactId>mybatis-spring</artifactId>
  112. <version>1.3.2</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.github.pagehelper</groupId>
  116. <artifactId>pagehelper</artifactId>
  117. <version>5.1.2</version>
  118. </dependency>
  119. <!-- mybatis框架 end -->
  120. <dependency>
  121. <groupId>javax</groupId>
  122. <artifactId>javaee-api</artifactId>
  123. <version>7.0</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>javax.servlet.jsp.jstl</groupId>
  127. <artifactId>jstl-api</artifactId>
  128. <version>1.2</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.glassfish.web</groupId>
  132. <artifactId>jstl-impl</artifactId>
  133. <version>1.2</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.fasterxml.jackson.core</groupId>
  137. <artifactId>jackson-core</artifactId>
  138. <version>2.5.4</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.fasterxml.jackson.core</groupId>
  142. <artifactId>jackson-databind</artifactId>
  143. <version>2.5.4</version>
  144. </dependency>
  145. </dependencies>
  146. <build>
  147. <finalName>SSM</finalName>
  148. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  149. <plugins>
  150. <plugin>
  151. <artifactId>maven-clean-plugin</artifactId>
  152. <version>3.1.0</version>
  153. </plugin>
  154. <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
  155. <plugin>
  156. <artifactId>maven-resources-plugin</artifactId>
  157. <version>3.0.2</version>
  158. </plugin>
  159. <plugin>
  160. <artifactId>maven-compiler-plugin</artifactId>
  161. <version>3.8.0</version>
  162. </plugin>
  163. <plugin>
  164. <artifactId>maven-surefire-plugin</artifactId>
  165. <version>2.22.1</version>
  166. </plugin>
  167. <plugin>
  168. <artifactId>maven-war-plugin</artifactId>
  169. <version>3.2.2</version>
  170. </plugin>
  171. <plugin>
  172. <artifactId>maven-install-plugin</artifactId>
  173. <version>2.5.2</version>
  174. </plugin>
  175. <plugin>
  176. <artifactId>maven-deploy-plugin</artifactId>
  177. <version>2.8.2</version>
  178. </plugin>
  179. </plugins>
  180. </pluginManagement>
  181. </build>
  182. </project>