|
|
@@ -1,149 +0,0 @@
|
|
|
-<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
- <modelVersion>4.0.0</modelVersion>
|
|
|
- <parent>
|
|
|
- <groupId>com.github.microservice</groupId>
|
|
|
- <artifactId>PParent</artifactId>
|
|
|
- <version>1.0.0-SNAPSHOT</version>
|
|
|
- <relativePath>../../../super/PParent/pom.xml</relativePath>
|
|
|
- </parent>
|
|
|
-
|
|
|
- <groupId>com.github.microservice.demo</groupId>
|
|
|
- <artifactId>ExperimentService1</artifactId>
|
|
|
- <name>ExperimentService1</name>
|
|
|
- <properties>
|
|
|
- <!-- 项目编码 -->
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
-
|
|
|
- <!--JDK版本-->
|
|
|
- <java.version>11</java.version>
|
|
|
- </properties>
|
|
|
- <dependencies>
|
|
|
-
|
|
|
-
|
|
|
- <!-- load bootstrap.yml-->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
|
- <version>${spring-cloud.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- 健康检查 -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
- <version>${spring-boot.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-logging</artifactId>
|
|
|
- <version>${spring-boot.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
- <version>${spring-boot.version}</version>
|
|
|
- <optional>true</optional>
|
|
|
- </dependency>
|
|
|
-
|
|
|
-
|
|
|
- <!--核心库-->
|
|
|
- <dependency>
|
|
|
- <groupId>com.github.microservice</groupId>
|
|
|
- <artifactId>PCore</artifactId>
|
|
|
- <version>${project.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <!-- Get Set 需要IDE 安装 lombok plugin -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
- <version>${lombok.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
-
|
|
|
- <!-- 基础模块 -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.github.microservice</groupId>
|
|
|
- <artifactId>PCore</artifactId>
|
|
|
- <version>${Project.version}</version>
|
|
|
- <scope>compile</scope>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <groupId>*</groupId>
|
|
|
- <artifactId>*</artifactId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
-
|
|
|
-
|
|
|
- <!--应用中心客户端-->
|
|
|
- <dependency>
|
|
|
- <groupId>com.github.microservice.components</groupId>
|
|
|
- <artifactId>ApplicationClient</artifactId>
|
|
|
- <version>${Project.version}</version>
|
|
|
- <scope>compile</scope>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <groupId>*</groupId>
|
|
|
- <artifactId>*</artifactId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <!-- discovery -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-starter-consul-discovery</artifactId>
|
|
|
- <version>${spring-cloud-starter-consul-discovery.version}</version>
|
|
|
- </dependency>
|
|
|
- <!-- openfeign-->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
- <version>${spring-cloud.version}</version>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <artifactId>spring-boot-autoconfigure</artifactId>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- </dependencies>
|
|
|
-
|
|
|
- <!--构建-->
|
|
|
- <build>
|
|
|
-
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <fork>true</fork>
|
|
|
- </configuration>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <goals>
|
|
|
- <goal>repackage</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
-
|
|
|
- <!-- properties 取 pom 配置 -->
|
|
|
- <resources>
|
|
|
- <resource>
|
|
|
- <directory>src/main/resources</directory>
|
|
|
- <filtering>true</filtering>
|
|
|
- </resource>
|
|
|
- </resources>
|
|
|
-
|
|
|
- </build>
|
|
|
-
|
|
|
-</project>
|