pom.xml 7.1 KB

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