pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.4.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.gonghang</groupId>
  12. <artifactId>h5client-app</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>h5client-app</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <tomcat.version>9.0.64</tomcat.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-devtools</artifactId>
  28. <scope>runtime</scope>
  29. <optional>true</optional>
  30. </dependency>
  31. <dependency>
  32. <groupId>mysql</groupId>
  33. <artifactId>mysql-connector-java</artifactId>
  34. <scope>runtime</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.projectlombok</groupId>
  38. <artifactId>lombok</artifactId>
  39. <optional>true</optional>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-test</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <!--数据库连接池-->
  47. <dependency>
  48. <groupId>com.alibaba</groupId>
  49. <artifactId>druid</artifactId>
  50. <version>1.1.8</version>
  51. </dependency>
  52. <!-- Redis依赖-->
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-data-redis</artifactId>
  56. </dependency>
  57. <!-- tomcat版本指定 -->
  58. <dependency>
  59. <groupId>org.apache.tomcat</groupId>
  60. <artifactId>tomcat-juli</artifactId>
  61. <version>${tomcat.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.tomcat.embed</groupId>
  65. <artifactId>tomcat-embed-logging-juli</artifactId>
  66. <version>8.5.2</version>
  67. </dependency>
  68. <!-- lombok-->
  69. <dependency>
  70. <groupId>org.projectlombok</groupId>
  71. <artifactId>lombok</artifactId>
  72. <optional>true</optional>
  73. </dependency>
  74. <!-- mybatis启动器-->
  75. <dependency>
  76. <groupId>org.mybatis.spring.boot</groupId>
  77. <artifactId>mybatis-spring-boot-starter</artifactId>
  78. <version>2.1.1</version>
  79. </dependency>
  80. <!--mybatis分页插件-->
  81. <dependency>
  82. <groupId>com.github.pagehelper</groupId>
  83. <artifactId>pagehelper-spring-boot-starter</artifactId>
  84. <version>1.4.1</version>
  85. </dependency>
  86. <!-- mybatis-plus-->
  87. <dependency>
  88. <groupId>com.baomidou</groupId>
  89. <artifactId>mybatis-plus-boot-starter</artifactId>
  90. <version>3.2.0</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.baomidou</groupId>
  94. <artifactId>mybatis-plus-generator</artifactId>
  95. <version>3.2.0</version>
  96. </dependency>
  97. <!--swagger用于定义API文档 -->
  98. <dependency>
  99. <groupId>io.springfox</groupId>
  100. <artifactId>springfox-swagger2</artifactId>
  101. <version>2.9.2</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>io.springfox</groupId>
  105. <artifactId>springfox-swagger-ui</artifactId>
  106. <version>2.9.2</version>
  107. </dependency>
  108. <!--bootstrap ui下的swagger-->
  109. <dependency>
  110. <groupId>com.github.xiaoymin</groupId>
  111. <artifactId>swagger-bootstrap-ui</artifactId>
  112. <version>1.9.6</version>
  113. </dependency>
  114. <!--日志框架,SpringBoot默认的日志系统logback-->
  115. <dependency>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-starter-logging</artifactId>
  118. </dependency>
  119. <!-- redis依赖commons-pool 这个依赖一定要添加 -->
  120. <dependency>
  121. <groupId>org.apache.commons</groupId>
  122. <artifactId>commons-pool2</artifactId>
  123. </dependency>
  124. <!-- 工具包-->
  125. <dependency>
  126. <groupId>org.apache.commons</groupId>
  127. <artifactId>commons-lang3</artifactId>
  128. <version>3.4</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-starter-validation</artifactId>
  133. </dependency>
  134. </dependencies>
  135. <build>
  136. <plugins>
  137. <plugin>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-maven-plugin</artifactId>
  140. <configuration>
  141. <excludes>
  142. <exclude>
  143. <groupId>org.projectlombok</groupId>
  144. <artifactId>lombok</artifactId>
  145. </exclude>
  146. </excludes>
  147. </configuration>
  148. </plugin>
  149. </plugins>
  150. </build>
  151. </project>