docs:update maven publish.

2020
Haotian Zhang 2 months ago
parent cddd7893c6
commit 0e30e8e0f4

@ -107,6 +107,7 @@
<flatten-maven-plugin.version>1.2.7</flatten-maven-plugin.version>
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<maven-shade-plugin.version>3.4.1</maven-shade-plugin.version>
<central.publishing.maven.plugin.version>0.8.0</central.publishing.maven.plugin.version>
<!-- Checkstyle -->
<maven-checkstyle-plugin.failsOnError>true</maven-checkstyle-plugin.failsOnError>
@ -296,6 +297,49 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central.publishing.maven.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central-portal</publishingServerId>
<excludeArtifacts>
<excludeArtifact>spring-cloud-tencent-coverage</excludeArtifact>
<excludeArtifact>spring-cloud-tencent-examples</excludeArtifact>
<excludeArtifact>lossless-example</excludeArtifact>
<excludeArtifact>lossless-callee-service</excludeArtifact>
<excludeArtifact>lossless-nacos-callee-service</excludeArtifact>
<excludeArtifact>metadata-transfer-example</excludeArtifact>
<excludeArtifact>metadata-backend</excludeArtifact>
<excludeArtifact>metadata-frontend</excludeArtifact>
<excludeArtifact>metadata-middle</excludeArtifact>
<excludeArtifact>multiple-discovery-example</excludeArtifact>
<excludeArtifact>multiple-discovery-nacos-example</excludeArtifact>
<excludeArtifact>nacos-callee-service-a</excludeArtifact>
<excludeArtifact>nacos-callee-service-b</excludeArtifact>
<excludeArtifact>nacos-discovery-caller</excludeArtifact>
<excludeArtifact>polaris-router-grayrelease-example</excludeArtifact>
<excludeArtifact>router-grayrelease-backend</excludeArtifact>
<excludeArtifact>router-grayrelease-frontend</excludeArtifact>
<excludeArtifact>router-grayrelease-gateway</excludeArtifact>
<excludeArtifact>router-grayrelease-middle</excludeArtifact>
<excludeArtifact>polaris-router-grayrelease-lane-example</excludeArtifact>
<excludeArtifact>router-grayrelease-lane-callee-service</excludeArtifact>
<excludeArtifact>router-grayrelease-lane-caller-service</excludeArtifact>
<excludeArtifact>router-grayrelease-lane-gateway</excludeArtifact>
<excludeArtifact>quickstart-example</excludeArtifact>
<excludeArtifact>quickstart-callee-service-a</excludeArtifact>
<excludeArtifact>quickstart-callee-service-b</excludeArtifact>
<excludeArtifact>quickstart-caller-service</excludeArtifact>
<excludeArtifact>quickstart-gateway-service</excludeArtifact>
<excludeArtifact>quickstart-zuul-service</excludeArtifact>
<excludeArtifact>tsf-example</excludeArtifact>
<excludeArtifact>consumer-demo</excludeArtifact>
<excludeArtifact>provider-demo</excludeArtifact>
</excludeArtifacts>
</configuration>
</plugin>
</plugins>
</build>
</profile>

@ -94,6 +94,7 @@
<maven-source-plugin.version>3.2.0</maven-source-plugin.version>
<flatten-maven-plugin.version>1.2.7</flatten-maven-plugin.version>
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<central.publishing.maven.plugin.version>0.8.0</central.publishing.maven.plugin.version>
</properties>
<dependencyManagement>
@ -398,6 +399,15 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central.publishing.maven.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central-portal</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
</profile>

@ -10,7 +10,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>route-grayrelease-lane-callee-service</artifactId>
<artifactId>router-grayrelease-lane-callee-service</artifactId>
<dependencies>
<dependency>

@ -10,7 +10,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>route-grayrelease-lane-caller-service</artifactId>
<artifactId>router-grayrelease-lane-caller-service</artifactId>
<dependencies>
<dependency>

@ -13,10 +13,6 @@
<name>Spring Cloud Tencent TSF Examples</name>
<packaging>pom</packaging>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<modules>
<module>provider-demo</module>
<module>consumer-demo</module>

Loading…
Cancel
Save