|
|
@@ -11,89 +11,64 @@
|
|
|
<name>ServerManagement</name>
|
|
|
<url>http://maven.apache.org</url>
|
|
|
|
|
|
+ <properties>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ <spring-cloud.version>2020.0.4</spring-cloud.version>
|
|
|
+ </properties>
|
|
|
+
|
|
|
<!--指定父级依赖 -->
|
|
|
<parent>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
- <version>2.2.4.RELEASE</version>
|
|
|
+ <version>2.4.6</version>
|
|
|
</parent>
|
|
|
|
|
|
- <properties>
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
- <java.version>1.8</java.version>
|
|
|
- <spring-cloud.version>Hoxton.RELEASE</spring-cloud.version>
|
|
|
- </properties>
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-dependencies</artifactId>
|
|
|
+ <version>${spring-cloud.version}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
+
|
|
|
|
|
|
<dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>org.yaml</groupId>
|
|
|
- <artifactId>snakeyaml</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter</artifactId>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-logging</artifactId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-log4j2</artifactId>
|
|
|
- </dependency>
|
|
|
-
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
|
|
|
</dependency>
|
|
|
-
|
|
|
- <!--sleuth日志跟踪-->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-starter-sleuth</artifactId>
|
|
|
- </dependency>
|
|
|
|
|
|
- <!-- https://mvnrepository.com/artifact/org.dom4j/dom4j -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.yaml</groupId>
|
|
|
+ <artifactId>snakeyaml</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
<dependency>
|
|
|
<groupId>org.dom4j</groupId>
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
<version>2.1.3</version>
|
|
|
</dependency>
|
|
|
|
|
|
- <!-- 发布成服务 -->
|
|
|
- <dependency>
|
|
|
- <groupId>commons-daemon</groupId>
|
|
|
- <artifactId>commons-daemon</artifactId>
|
|
|
- <version>1.2.3</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
+
|
|
|
<dependency>
|
|
|
<groupId>junit</groupId>
|
|
|
<artifactId>junit</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
+
|
|
|
</dependencies>
|
|
|
|
|
|
- <dependencyManagement>
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-dependencies</artifactId>
|
|
|
- <version>${spring-cloud.version}</version>
|
|
|
- <type>pom</type>
|
|
|
- <scope>import</scope>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
- </dependencyManagement>
|
|
|
|
|
|
|
|
|
<build>
|
|
|
@@ -238,6 +213,4 @@
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
-
|
|
|
-
|
|
|
</project>
|