pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.atguigu</groupId>
  5. <artifactId>ssm-crud</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>war</packaging>
  8. <!--引入项目依赖的jar包 -->
  9. <!-- SpringMVC、Spring -->
  10. <!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc -->
  11. <dependencies>
  12. <!--引入pageHelper分页插件 -->
  13. <dependency>
  14. <groupId>com.github.pagehelper</groupId>
  15. <artifactId>pagehelper</artifactId>
  16. <version>5.0.0</version>
  17. </dependency>
  18. <!-- MBG -->
  19. <!-- https://mvnrepository.com/artifact/org.mybatis.generator/mybatis-generator-core -->
  20. <dependency>
  21. <groupId>org.mybatis.generator</groupId>
  22. <artifactId>mybatis-generator-core</artifactId>
  23. <version>1.3.5</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework</groupId>
  27. <artifactId>spring-webmvc</artifactId>
  28. <version>4.3.7.RELEASE</version>
  29. </dependency>
  30. <!-- 返回json字符串的支持 -->
  31. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
  32. <dependency>
  33. <groupId>com.fasterxml.jackson.core</groupId>
  34. <artifactId>jackson-databind</artifactId>
  35. <version>2.8.8</version>
  36. </dependency>
  37. <!--JSR303数据校验支持;tomcat7及以上的服务器,
  38. tomcat7以下的服务器:el表达式。额外给服务器的lib包中替换新的标准的el
  39. -->
  40. <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-validator -->
  41. <dependency>
  42. <groupId>org.hibernate</groupId>
  43. <artifactId>hibernate-validator</artifactId>
  44. <version>5.4.1.Final</version>
  45. </dependency>
  46. <!-- Spring-Jdbc -->
  47. <!-- https://mvnrepository.com/artifact/org.springframework/spring-jdbc -->
  48. <dependency>
  49. <groupId>org.springframework</groupId>
  50. <artifactId>spring-jdbc</artifactId>
  51. <version>4.3.7.RELEASE</version>
  52. </dependency>
  53. <!--Spring-test -->
  54. <!-- https://mvnrepository.com/artifact/org.springframework/spring-test -->
  55. <dependency>
  56. <groupId>org.springframework</groupId>
  57. <artifactId>spring-test</artifactId>
  58. <version>4.3.7.RELEASE</version>
  59. </dependency>
  60. <!-- Spring面向切面编程 -->
  61. <!-- https://mvnrepository.com/artifact/org.springframework/spring-aspects -->
  62. <dependency>
  63. <groupId>org.springframework</groupId>
  64. <artifactId>spring-aspects</artifactId>
  65. <version>4.3.7.RELEASE</version>
  66. </dependency>
  67. <!--MyBatis -->
  68. <!-- https://mvnrepository.com/artifact/org.mybatis/mybatis -->
  69. <dependency>
  70. <groupId>org.mybatis</groupId>
  71. <artifactId>mybatis</artifactId>
  72. <version>3.4.2</version>
  73. </dependency>
  74. <!-- MyBatis整合Spring的适配包 -->
  75. <!-- https://mvnrepository.com/artifact/org.mybatis/mybatis-spring -->
  76. <dependency>
  77. <groupId>org.mybatis</groupId>
  78. <artifactId>mybatis-spring</artifactId>
  79. <version>1.3.1</version>
  80. </dependency>
  81. <!-- 数据库连接池、驱动 -->
  82. <!-- https://mvnrepository.com/artifact/c3p0/c3p0 -->
  83. <dependency>
  84. <groupId>c3p0</groupId>
  85. <artifactId>c3p0</artifactId>
  86. <version>0.9.1</version>
  87. </dependency>
  88. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  89. <dependency>
  90. <groupId>mysql</groupId>
  91. <artifactId>mysql-connector-java</artifactId>
  92. <version>5.1.41</version>
  93. </dependency>
  94. <!-- (jstl,servlet-api,junit) -->
  95. <!-- https://mvnrepository.com/artifact/jstl/jstl -->
  96. <dependency>
  97. <groupId>jstl</groupId>
  98. <artifactId>jstl</artifactId>
  99. <version>1.2</version>
  100. </dependency>
  101. <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
  102. <dependency>
  103. <groupId>javax.servlet</groupId>
  104. <artifactId>javax.servlet-api</artifactId>
  105. <version>3.0.1</version>
  106. <scope>provided</scope>
  107. </dependency>
  108. <!-- junit -->
  109. <!-- https://mvnrepository.com/artifact/junit/junit -->
  110. <dependency>
  111. <groupId>junit</groupId>
  112. <artifactId>junit</artifactId>
  113. <version>4.12</version>
  114. </dependency>
  115. </dependencies>
  116. </project>