|
63 | 63 | <maven.source.plugin.version>3.2.0</maven.source.plugin.version> |
64 | 64 | <maven.javadoc.plugin.version>3.2.0</maven.javadoc.plugin.version> |
65 | 65 | <maven.gpg.plugin.version>3.0.1</maven.gpg.plugin.version> |
66 | | - <maven.deploy.plugin.version>3.0.0-M1</maven.deploy.plugin.version> |
67 | 66 | <maven.flatten.plugin.version>1.2.5</maven.flatten.plugin.version> |
68 | 67 | <maven.clean.plugin.version>3.1.0</maven.clean.plugin.version> |
| 68 | + <central.publishing.maven.plugin.version>0.8.0</central.publishing.maven.plugin.version> |
69 | 69 |
|
70 | 70 | <timestamp>${maven.build.timestamp}</timestamp> |
71 | 71 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
239 | 239 | </executions> |
240 | 240 | </plugin> |
241 | 241 | <plugin> |
242 | | - <groupId>org.apache.maven.plugins</groupId> |
243 | | - <artifactId>maven-deploy-plugin</artifactId> |
244 | | - <version>${maven.deploy.plugin.version}</version> |
| 242 | + <groupId>org.sonatype.central</groupId> |
| 243 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 244 | + <version>${central.publishing.maven.plugin.version}</version> |
| 245 | + <extensions>true</extensions> |
245 | 246 | <configuration> |
246 | | - <skip>${skip.maven.deploy}</skip> |
| 247 | + <publishingServerId>central-portal</publishingServerId> |
| 248 | + <excludeArtifacts> |
| 249 | + <excludeArtifact>dubbo-examples</excludeArtifact> |
| 250 | + <excludeArtifact>dubbo-api-example</excludeArtifact> |
| 251 | + <excludeArtifact>dubbo-discovery-example</excludeArtifact> |
| 252 | + <excludeArtifact>dubbo-quick-consumer</excludeArtifact> |
| 253 | + <excludeArtifact>dubbo-quick-provider</excludeArtifact> |
| 254 | + <excludeArtifact>dubbo-governance-example</excludeArtifact> |
| 255 | + <excludeArtifact>dubbo-governance-consumer</excludeArtifact> |
| 256 | + <excludeArtifact>dubbo-governance-provider</excludeArtifact> |
| 257 | + <excludeArtifact>dubbo-press-example</excludeArtifact> |
| 258 | + <excludeArtifact>dubbo-press-provider</excludeArtifact> |
| 259 | + <excludeArtifact>dubbo-router-example</excludeArtifact> |
| 260 | + <excludeArtifact>dubbo-backend-example</excludeArtifact> |
| 261 | + <excludeArtifact>dubbo-front-example</excludeArtifact> |
| 262 | + <excludeArtifact>dubbo-middle-example</excludeArtifact> |
| 263 | + </excludeArtifacts> |
247 | 264 | </configuration> |
248 | 265 | </plugin> |
249 | 266 | </plugins> |
|
282 | 299 | </profile> |
283 | 300 | </profiles> |
284 | 301 |
|
285 | | - <distributionManagement> |
286 | | - <snapshotRepository> |
287 | | - <id>central-portal</id> |
288 | | - <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
289 | | - </snapshotRepository> |
290 | | - <repository> |
291 | | - <id>central-portal</id> |
292 | | - <url>https://ossrh-staging-api.central.sonatype.com/service/local/</url> |
293 | | - </repository> |
294 | | - </distributionManagement> |
295 | | - |
296 | 302 | <repositories> |
297 | 303 | <repository> |
298 | 304 | <name>Central Portal Snapshots</name> |
|
0 commit comments