北斗定位
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

132 行
4.7KB

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