北斗定位
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

183 rindas
6.3KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.telpo</groupId>
  7. <artifactId>dipperposition</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <name>dipperposition</name>
  10. <description>北斗定位服务</description>
  11. <packaging>jar</packaging>
  12. <parent>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-starter-parent</artifactId>
  15. <version>2.2.5.RELEASE</version>
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  22. <spring-cloud-alibaba.version>2.2.0.RELEASE</spring-cloud-alibaba.version>
  23. <spring-cloud.version>Hoxton.RELEASE</spring-cloud.version>
  24. <skipTests>true</skipTests>
  25. </properties>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-devtools</artifactId>
  30. <scope>runtime</scope>
  31. <optional>true</optional>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. <optional>true</optional>
  37. </dependency>
  38. <!--天波通用包-->
  39. <dependency>
  40. <groupId>com.telpo</groupId>
  41. <artifactId>common</artifactId>
  42. <version>1.1.19</version>
  43. </dependency>
  44. <!-- springcloud alibaba依赖包-->
  45. <dependency>
  46. <groupId>com.alibaba.cloud</groupId>
  47. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.alibaba.cloud</groupId>
  51. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.alibaba.nacos</groupId>
  55. <artifactId>nacos-client</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-webflux</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-configuration-processor</artifactId>
  64. <optional>true</optional>
  65. </dependency>
  66. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  67. <dependency>
  68. <groupId>org.apache.commons</groupId>
  69. <artifactId>commons-lang3</artifactId>
  70. <version>3.10</version>
  71. </dependency>
  72. <!-- Yaml -->
  73. <dependency>
  74. <groupId>org.yaml</groupId>
  75. <artifactId>snakeyaml</artifactId>
  76. <version>1.25</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.alibaba</groupId>
  80. <artifactId>fastjson</artifactId>
  81. <version>1.2.28</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>io.netty</groupId>
  85. <artifactId>netty-all</artifactId>
  86. <version>4.1.13.Final</version>
  87. </dependency>
  88. <!-- 开启redis缓存 -->
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-data-redis</artifactId>
  92. </dependency>
  93. <!-- redis依赖commons-pool 这个依赖一定要添加 -->
  94. <dependency>
  95. <groupId>org.apache.commons</groupId>
  96. <artifactId>commons-pool2</artifactId>
  97. </dependency>
  98. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  99. <dependency>
  100. <groupId>com.squareup.okhttp3</groupId>
  101. <artifactId>okhttp</artifactId>
  102. <version>4.8.0</version>
  103. </dependency>
  104. <!-- https://mvnrepository.com/artifact/de.codecentric/spring-boot-admin-starter-client -->
  105. <dependency>
  106. <groupId>de.codecentric</groupId>
  107. <artifactId>spring-boot-admin-starter-client</artifactId>
  108. <version>2.2.4</version>
  109. </dependency>
  110. <!-- https://mvnrepository.com/artifact/net.sourceforge.javacsv/javacsv -->
  111. <dependency>
  112. <groupId>net.sourceforge.javacsv</groupId>
  113. <artifactId>javacsv</artifactId>
  114. <version>2.0</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.mongodb</groupId>
  118. <artifactId>mongo</artifactId>
  119. <version>1.0</version>
  120. </dependency>
  121. </dependencies>
  122. <dependencyManagement>
  123. <dependencies>
  124. <dependency>
  125. <groupId>org.springframework.cloud</groupId>
  126. <artifactId>spring-cloud-dependencies</artifactId>
  127. <version>${spring-cloud.version}</version>
  128. <type>pom</type>
  129. <scope>import</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.alibaba.cloud</groupId>
  133. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  134. <version>${spring-cloud-alibaba.version}</version>
  135. <type>pom</type>
  136. <scope>import</scope>
  137. </dependency>
  138. </dependencies>
  139. </dependencyManagement>
  140. <build>
  141. <finalName>${project.artifactId}</finalName>
  142. <plugins>
  143. <plugin>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-maven-plugin</artifactId>
  146. <configuration>
  147. <!--fork : 使用 devtools生效-->
  148. <fork>true</fork>
  149. </configuration>
  150. <executions>
  151. <execution>
  152. <goals>
  153. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  154. </goals>
  155. </execution>
  156. </executions>
  157. </plugin>
  158. </plugins>
  159. </build>
  160. </project>