北斗定位
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

127 satır
4.5KB

  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. <!-- springcloud alibaba依赖包-->
  39. <dependency>
  40. <groupId>com.alibaba.cloud</groupId>
  41. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.alibaba.cloud</groupId>
  45. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-webflux</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-configuration-processor</artifactId>
  54. <optional>true</optional>
  55. </dependency>
  56. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  57. <dependency>
  58. <groupId>org.apache.commons</groupId>
  59. <artifactId>commons-lang3</artifactId>
  60. <version>3.10</version>
  61. </dependency>
  62. <!-- https://mvnrepository.com/artifact/de.codecentric/spring-boot-admin-starter-client -->
  63. <dependency>
  64. <groupId>de.codecentric</groupId>
  65. <artifactId>spring-boot-admin-starter-client</artifactId>
  66. <version>2.2.4</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.alibaba</groupId>
  70. <artifactId>fastjson</artifactId>
  71. <version>1.2.28</version>
  72. </dependency>
  73. </dependencies>
  74. <dependencyManagement>
  75. <dependencies>
  76. <dependency>
  77. <groupId>org.springframework.cloud</groupId>
  78. <artifactId>spring-cloud-dependencies</artifactId>
  79. <version>${spring-cloud.version}</version>
  80. <type>pom</type>
  81. <scope>import</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.alibaba.cloud</groupId>
  85. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  86. <version>${spring-cloud-alibaba.version}</version>
  87. <type>pom</type>
  88. <scope>import</scope>
  89. </dependency>
  90. </dependencies>
  91. </dependencyManagement>
  92. <build>
  93. <finalName>${project.artifactId}</finalName>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-maven-plugin</artifactId>
  98. <configuration>
  99. <!--fork : 使用 devtools生效-->
  100. <fork>true</fork>
  101. </configuration>
  102. <executions>
  103. <execution>
  104. <goals>
  105. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  106. </goals>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. </project>