pom.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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.how2java</groupId>
  6. <artifactId>springboot</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>springboot</name>
  9. <description>springboot</description>
  10. <packaging>war</packaging>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>1.5.9.RELEASE</version>
  15. </parent>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-tomcat</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>junit</groupId>
  27. <artifactId>junit</artifactId>
  28. <version>3.8.1</version>
  29. <scope>test</scope>
  30. </dependency>
  31. <!-- servlet依赖. -->
  32. <dependency>
  33. <groupId>javax.servlet</groupId>
  34. <artifactId>javax.servlet-api</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>javax.servlet</groupId>
  38. <artifactId>jstl</artifactId>
  39. </dependency>
  40. <!-- tomcat的支持.-->
  41. <dependency>
  42. <groupId>org.apache.tomcat.embed</groupId>
  43. <artifactId>tomcat-embed-jasper</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-devtools</artifactId>
  48. <optional>true</optional> <!-- 这个需要为 true 热部署才有效 -->
  49. </dependency>
  50. <!-- mybatis -->
  51. <dependency>
  52. <groupId>org.mybatis.spring.boot</groupId>
  53. <artifactId>mybatis-spring-boot-starter</artifactId>
  54. <version>1.1.1</version>
  55. </dependency>
  56. <!-- mysql -->
  57. <dependency>
  58. <groupId>mysql</groupId>
  59. <artifactId>mysql-connector-java</artifactId>
  60. <version>5.1.21</version>
  61. </dependency>
  62. <!-- pagehelper -->
  63. <dependency>
  64. <groupId>com.github.pagehelper</groupId>
  65. <artifactId>pagehelper</artifactId>
  66. <version>4.1.6</version>
  67. </dependency>
  68. </dependencies>
  69. <properties>
  70. <java.version>1.8</java.version>
  71. </properties>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-maven-plugin</artifactId>
  77. </plugin>
  78. </plugins>
  79. </build>
  80. </project>