pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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>1.1</version>
  14. <name>h5client-app</name>
  15. <description>掌上运维2</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. <!-- thymeleaf-->
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-web</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.mybatis.spring.boot</groupId>
  79. <artifactId>mybatis-spring-boot-starter</artifactId>
  80. <version>2.1.4</version>
  81. </dependency>
  82. <!-- lombok-->
  83. <dependency>
  84. <groupId>org.projectlombok</groupId>
  85. <artifactId>lombok</artifactId>
  86. <optional>true</optional>
  87. </dependency>
  88. <!-- mybatis启动器-->
  89. <dependency>
  90. <groupId>org.mybatis.spring.boot</groupId>
  91. <artifactId>mybatis-spring-boot-starter</artifactId>
  92. <version>2.1.1</version>
  93. </dependency>
  94. <!--mybatis分页插件-->
  95. <dependency>
  96. <groupId>com.github.pagehelper</groupId>
  97. <artifactId>pagehelper-spring-boot-starter</artifactId>
  98. <version>1.4.1</version>
  99. </dependency>
  100. <!-- mybatis-plus-->
  101. <dependency>
  102. <groupId>com.baomidou</groupId>
  103. <artifactId>mybatis-plus-boot-starter</artifactId>
  104. <version>3.2.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.baomidou</groupId>
  108. <artifactId>mybatis-plus-generator</artifactId>
  109. <version>3.2.0</version>
  110. </dependency>
  111. <!--swagger用于定义API文档 -->
  112. <dependency>
  113. <groupId>io.springfox</groupId>
  114. <artifactId>springfox-swagger2</artifactId>
  115. <version>2.9.2</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>io.springfox</groupId>
  119. <artifactId>springfox-swagger-ui</artifactId>
  120. <version>2.9.2</version>
  121. </dependency>
  122. <!--bootstrap ui下的swagger-->
  123. <dependency>
  124. <groupId>com.github.xiaoymin</groupId>
  125. <artifactId>swagger-bootstrap-ui</artifactId>
  126. <version>1.9.6</version>
  127. </dependency>
  128. <!--日志框架,SpringBoot默认的日志系统logback-->
  129. <dependency>
  130. <groupId>org.springframework.boot</groupId>
  131. <artifactId>spring-boot-starter-logging</artifactId>
  132. </dependency>
  133. <!-- redis依赖commons-pool 这个依赖一定要添加 -->
  134. <dependency>
  135. <groupId>org.apache.commons</groupId>
  136. <artifactId>commons-pool2</artifactId>
  137. </dependency>
  138. <!-- 工具包-->
  139. <dependency>
  140. <groupId>org.apache.commons</groupId>
  141. <artifactId>commons-lang3</artifactId>
  142. <version>3.4</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-starter-validation</artifactId>
  147. </dependency>
  148. </dependencies>
  149. <build>
  150. <plugins>
  151. <plugin>
  152. <groupId>org.springframework.boot</groupId>
  153. <artifactId>spring-boot-maven-plugin</artifactId>
  154. <configuration>
  155. <excludes>
  156. <exclude>
  157. <groupId>org.projectlombok</groupId>
  158. <artifactId>lombok</artifactId>
  159. </exclude>
  160. </excludes>
  161. </configuration>
  162. </plugin>
  163. <!--修改maven版本-->
  164. <plugin>
  165. <groupId>org.apache.maven.plugins</groupId>
  166. <artifactId>maven-resources-plugin</artifactId>
  167. <version>3.1.0</version>
  168. </plugin>
  169. <!---->
  170. </plugins>
  171. </build>
  172. </project>