|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>polaris-discovery-example</artifactId>
|
|
|
|
<groupId>com.tencent.cloud</groupId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>discovery-caller-service</artifactId>
|
|
|
|
<name>Polaris Discovery Caller Service</name>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<artifactId>spring-cloud-starter-tencent-polaris-discovery</artifactId>
|
|
|
|
<groupId>com.tencent.cloud</groupId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>org.springframework.cloud</groupId>-->
|
|
|
|
<!-- <artifactId>spring-cloud-starter-consul-discovery</artifactId>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>org.springframework.cloud</groupId>-->
|
|
|
|
<!-- <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>com.tencent.cloud</groupId>-->
|
|
|
|
<!-- <artifactId>spring-cloud-starter-tencent-polaris-router</artifactId>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|