112 lines
3.7 KiB
XML
112 lines
3.7 KiB
XML
|
|
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
|
||
|
|
<groupId>cn.crtech.cloud.feign</groupId>
|
||
|
|
<artifactId>Feign</artifactId>
|
||
|
|
<version>1.0.1</version>
|
||
|
|
|
||
|
|
<!-- 父工程 -->
|
||
|
|
<parent>
|
||
|
|
<groupId>cn.crtech.cloud.dependencies</groupId>
|
||
|
|
<artifactId>Dependencies</artifactId>
|
||
|
|
<version>1.0.1</version>
|
||
|
|
<relativePath/>
|
||
|
|
</parent>
|
||
|
|
|
||
|
|
<!-- 依赖的版本锁定 -->
|
||
|
|
<properties>
|
||
|
|
<maven.compiler.source>8</maven.compiler.source>
|
||
|
|
<maven.compiler.target>8</maven.compiler.target>
|
||
|
|
<java.version>1.8</java.version>
|
||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
|
|
||
|
|
<common.version>1.0.1</common.version>
|
||
|
|
<feign.version>10.7.4</feign.version>
|
||
|
|
<httpclient.version>4.5.10</httpclient.version>
|
||
|
|
</properties>
|
||
|
|
|
||
|
|
<dependencies>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.cloud</groupId>
|
||
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.cloud</groupId>
|
||
|
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- nacos 客户端-->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!--提供健康信息接口供监控使用-->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
|
|
<exclusions>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>io.lettuce</groupId>
|
||
|
|
<artifactId>lettuce-core</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
</exclusions>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>redis.clients</groupId>
|
||
|
|
<artifactId>jedis</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.httpcomponents</groupId>
|
||
|
|
<artifactId>httpclient</artifactId>
|
||
|
|
<version>${httpclient.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.github.openfeign</groupId>
|
||
|
|
<artifactId>feign-httpclient</artifactId>
|
||
|
|
<version>${feign.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>cn.crtech.cloud.common</groupId>
|
||
|
|
<artifactId>Common</artifactId>
|
||
|
|
<version>${common.version}</version>
|
||
|
|
</dependency>
|
||
|
|
</dependencies>
|
||
|
|
|
||
|
|
<build>
|
||
|
|
<plugins>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
|
<configuration>
|
||
|
|
<fork>true</fork>
|
||
|
|
<jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
</plugins>
|
||
|
|
</build>
|
||
|
|
</project>
|