pom.xml 8.1 KB

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