|
108 | 108 | <maven.deploy.plugin.version>3.0.0-M1</maven.deploy.plugin.version> |
109 | 109 | <maven.flatten.plugin.version>1.2.5</maven.flatten.plugin.version> |
110 | 110 | <maven.clean.plugin.version>3.1.0</maven.clean.plugin.version> |
| 111 | + <central.publishing.maven.plugin.version>0.8.0</central.publishing.maven.plugin.version> |
111 | 112 | <okhttp.version>2.7.5</okhttp.version> |
112 | 113 | <httpclient.version>4.5.14</httpclient.version> |
113 | 114 | <jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version> |
|
298 | 299 | </configuration> |
299 | 300 | </plugin> |
300 | 301 | <plugin> |
301 | | - <groupId>org.apache.maven.plugins</groupId> |
302 | | - <artifactId>maven-deploy-plugin</artifactId> |
303 | | - <version>${maven.deploy.plugin.version}</version> |
| 302 | + <groupId>org.sonatype.central</groupId> |
| 303 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 304 | + <version>${central.publishing.maven.plugin.version}</version> |
| 305 | + <extensions>true</extensions> |
304 | 306 | <configuration> |
305 | | - <skip>${skip.maven.deploy}</skip> |
| 307 | + <publishingServerId>central-portal</publishingServerId> |
| 308 | + <autoPublish>true</autoPublish> |
| 309 | + <excludeArtifacts> |
| 310 | + <excludeArtifact>polaris-examples</excludeArtifact> |
| 311 | + <excludeArtifact>circuitbreaker-example</excludeArtifact> |
| 312 | + <excludeArtifact>common-breaker</excludeArtifact> |
| 313 | + <excludeArtifact>instance-breaker-example</excludeArtifact> |
| 314 | + <excludeArtifact>method-breaker-example</excludeArtifact> |
| 315 | + <excludeArtifact>service-breaker-example</excludeArtifact> |
| 316 | + <excludeArtifact>configuration-example</excludeArtifact> |
| 317 | + <excludeArtifact>discovery-example</excludeArtifact> |
| 318 | + <excludeArtifact>location-example</excludeArtifact> |
| 319 | + <excludeArtifact>quickstart-example</excludeArtifact> |
| 320 | + <excludeArtifact>quickstart-example-consumer</excludeArtifact> |
| 321 | + <excludeArtifact>quickstart-example-provider</excludeArtifact> |
| 322 | + <excludeArtifact>ratelimit-example</excludeArtifact> |
| 323 | + <excludeArtifact>global-limiter-example</excludeArtifact> |
| 324 | + <excludeArtifact>ratelimit-remote-consumer</excludeArtifact> |
| 325 | + <excludeArtifact>ratelimit-remote-provider</excludeArtifact> |
| 326 | + <excludeArtifact>local-limiter-example</excludeArtifact> |
| 327 | + <excludeArtifact>ratelimit-local-consumer</excludeArtifact> |
| 328 | + <excludeArtifact>ratelimit-local-provider</excludeArtifact> |
| 329 | + <excludeArtifact>router-example</excludeArtifact> |
| 330 | + <excludeArtifact>router-multienv-example</excludeArtifact> |
| 331 | + <excludeArtifact>router-multienv-gateway</excludeArtifact> |
| 332 | + <excludeArtifact>router-multienv-provider</excludeArtifact> |
| 333 | + <excludeArtifact>router-version-example</excludeArtifact> |
| 334 | + <excludeArtifact>router-version-consumer</excludeArtifact> |
| 335 | + <excludeArtifact>router-version-provider</excludeArtifact> |
| 336 | + </excludeArtifacts> |
306 | 337 | </configuration> |
307 | 338 | </plugin> |
308 | 339 | </plugins> |
|
341 | 372 | </profile> |
342 | 373 | </profiles> |
343 | 374 |
|
344 | | - <distributionManagement> |
345 | | - <snapshotRepository> |
346 | | - <id>central-portal</id> |
347 | | - <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
348 | | - </snapshotRepository> |
349 | | - <repository> |
350 | | - <id>central-portal</id> |
351 | | - <url>https://ossrh-staging-api.central.sonatype.com/service/local/</url> |
352 | | - </repository> |
353 | | - </distributionManagement> |
354 | | - |
355 | 375 | <repositories> |
356 | 376 | <repository> |
357 | 377 | <name>Central Portal Snapshots</name> |
|
0 commit comments