docs:update maven publish.

pull/1640/head
Haotian Zhang 2 months ago
parent 6dca14c852
commit 7b07620774

@ -105,6 +105,7 @@
<jacoco.version>0.8.12</jacoco.version>
<flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
<maven-clean-plugin.version>3.4.0</maven-clean-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>
@ -331,6 +332,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>

@ -85,6 +85,7 @@
<!-- Maven Plugin Versions -->
<flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
<central.publishing.maven.plugin.version>0.8.0</central.publishing.maven.plugin.version>
</properties>
<dependencyManagement>
@ -364,6 +365,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