pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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.sw</groupId>
  12. <artifactId>bird</artifactId>
  13. <version>0.0.1</version>
  14. <name>bird</name>
  15. <description>bird_sys</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</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-test</artifactId>
  28. <scope>test</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-validation</artifactId>
  33. </dependency>
  34. <!-- tomcat版本指定 -->
  35. <dependency>
  36. <groupId>org.apache.tomcat</groupId>
  37. <artifactId>tomcat-juli</artifactId>
  38. <version>${tomcat.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.tomcat.embed</groupId>
  42. <artifactId>tomcat-embed-logging-juli</artifactId>
  43. <version>8.5.2</version>
  44. </dependency>
  45. <!-- thymeleaf-->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-web</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.mybatis.spring.boot</groupId>
  56. <artifactId>mybatis-spring-boot-starter</artifactId>
  57. <version>2.1.1</version>
  58. </dependency>
  59. <!-- lombok-->
  60. <dependency>
  61. <groupId>org.projectlombok</groupId>
  62. <artifactId>lombok</artifactId>
  63. <optional>true</optional>
  64. </dependency>
  65. <!-- mybatis启动器-->
  66. <dependency>
  67. <groupId>org.mybatis.spring.boot</groupId>
  68. <artifactId>mybatis-spring-boot-starter</artifactId>
  69. <version>2.1.1</version>
  70. </dependency>
  71. <!--mybatis分页插件-->
  72. <dependency>
  73. <groupId>com.github.pagehelper</groupId>
  74. <artifactId>pagehelper-spring-boot-starter</artifactId>
  75. <version>1.2.5</version>
  76. </dependency>
  77. <!-- mybatis-plus-->
  78. <dependency>
  79. <groupId>com.baomidou</groupId>
  80. <artifactId>mybatis-plus-boot-starter</artifactId>
  81. <version>3.2.0</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.baomidou</groupId>
  85. <artifactId>mybatis-plus-generator</artifactId>
  86. <version>3.2.0</version>
  87. </dependency>
  88. <!-- 数据库驱动-->
  89. <dependency>
  90. <groupId>mysql</groupId>
  91. <artifactId>mysql-connector-java</artifactId>
  92. <scope>runtime</scope>
  93. </dependency>
  94. <!--数据库连接池-->
  95. <dependency>
  96. <groupId>com.alibaba</groupId>
  97. <artifactId>druid</artifactId>
  98. <version>1.1.8</version>
  99. </dependency>
  100. <!-- Redis依赖-->
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-starter-data-redis</artifactId>
  104. </dependency>
  105. <!--swagger用于定义API文档 -->
  106. <dependency>
  107. <groupId>io.springfox</groupId>
  108. <artifactId>springfox-swagger2</artifactId>
  109. <version>2.9.2</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>io.springfox</groupId>
  113. <artifactId>springfox-swagger-ui</artifactId>
  114. <version>2.9.2</version>
  115. </dependency>
  116. <!--bootstrap ui下的swagger-->
  117. <dependency>
  118. <groupId>com.github.xiaoymin</groupId>
  119. <artifactId>swagger-bootstrap-ui</artifactId>
  120. <version>1.9.6</version>
  121. </dependency>
  122. <!--json处理-->
  123. <dependency>
  124. <groupId>com.alibaba</groupId>
  125. <artifactId>fastjson</artifactId>
  126. <version>1.2.83</version>
  127. </dependency>
  128. <!--日志框架,SpringBoot默认的日志系统logback-->
  129. <dependency>
  130. <groupId>org.springframework.boot</groupId>
  131. <artifactId>spring-boot-starter-logging</artifactId>
  132. </dependency>
  133. <!-- Apache commons io-->
  134. <dependency>
  135. <groupId>commons-io</groupId>
  136. <artifactId>commons-io</artifactId>
  137. <version>2.8.0</version>
  138. </dependency>
  139. <!-- redis依赖commons-pool 这个依赖一定要添加 -->
  140. <dependency>
  141. <groupId>org.apache.commons</groupId>
  142. <artifactId>commons-pool2</artifactId>
  143. </dependency>
  144. <!-- 工具包-->
  145. <dependency>
  146. <groupId>org.apache.commons</groupId>
  147. <artifactId>commons-lang3</artifactId>
  148. <version>3.4</version>
  149. </dependency>
  150. <!-- log4j -->
  151. <dependency>
  152. <groupId>log4j</groupId>
  153. <artifactId>log4j</artifactId>
  154. <version>1.2.17</version>
  155. </dependency>
  156. </dependencies>
  157. <build>
  158. <plugins>
  159. <plugin>
  160. <groupId>org.springframework.boot</groupId>
  161. <artifactId>spring-boot-maven-plugin</artifactId>
  162. <configuration>
  163. <!-- 自动导入本地jar包 -->
  164. <includeSystemScope>true</includeSystemScope>
  165. <fork>true</fork>
  166. <excludes>
  167. <exclude>
  168. <groupId>org.projectlombok</groupId>
  169. <artifactId>lombok</artifactId>
  170. </exclude>
  171. </excludes>
  172. </configuration>
  173. </plugin>
  174. <!-- 解决webSocket打包冲突问题 -->
  175. <plugin>
  176. <groupId>org.apache.maven.plugins</groupId>
  177. <artifactId>maven-surefire-plugin</artifactId>
  178. <configuration>
  179. <skip>true</skip>
  180. </configuration>
  181. </plugin>
  182. </plugins>
  183. </build>
  184. </project>