You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.2 KiB
60 lines
2.2 KiB
<?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-callee-service</artifactId>
|
|
<name>Polaris Discovery Callee Service</name>
|
|
|
|
<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>-->
|
|
</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> |