|
20 | 20 |
|
21 | 21 | <groupId>org.asynchttpclient</groupId> |
22 | 22 | <artifactId>async-http-client-project</artifactId> |
23 | | - <version>3.0.8</version> |
| 23 | + <version>3.0.9-SNAPSHOT</version> |
24 | 24 | <packaging>pom</packaging> |
25 | 25 |
|
26 | 26 | <name>AHC/Project</name> |
|
77 | 77 |
|
78 | 78 | <distributionManagement> |
79 | 79 | <snapshotRepository> |
80 | | - <id>sonatype-nexus-staging</id> |
81 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 80 | + <id>central</id> |
| 81 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
82 | 82 | </snapshotRepository> |
83 | 83 | <repository> |
84 | | - <id>sonatype-nexus-staging</id> |
85 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 84 | + <id>central</id> |
| 85 | + <url>https://central.sonatype.com</url> |
86 | 86 | </repository> |
87 | 87 | </distributionManagement> |
88 | 88 |
|
|
399 | 399 | </executions> |
400 | 400 | </plugin> |
401 | 401 |
|
402 | | - <plugin> |
403 | | - <groupId>org.sonatype.central</groupId> |
404 | | - <artifactId>central-publishing-maven-plugin</artifactId> |
405 | | - <version>0.10.0</version> |
406 | | - <extensions>true</extensions> |
407 | | - <configuration> |
408 | | - <publishingServerId>central</publishingServerId> |
409 | | - </configuration> |
410 | | - </plugin> |
411 | | - |
412 | | - <plugin> |
413 | | - <groupId>org.apache.maven.plugins</groupId> |
414 | | - <artifactId>maven-gpg-plugin</artifactId> |
415 | | - <version>3.2.8</version> |
416 | | - <executions> |
417 | | - <execution> |
418 | | - <id>sign-artifacts</id> |
419 | | - <phase>verify</phase> |
420 | | - <goals> |
421 | | - <goal>sign</goal> |
422 | | - </goals> |
423 | | - <configuration> |
424 | | - <!-- Prevent gpg from using pinentry programs --> |
425 | | - <gpgArguments> |
426 | | - <arg>--pinentry-mode</arg> |
427 | | - <arg>loopback</arg> |
428 | | - </gpgArguments> |
429 | | - <gpg.skip>false</gpg.skip> |
430 | | - </configuration> |
431 | | - </execution> |
432 | | - </executions> |
433 | | - </plugin> |
434 | | - |
435 | 402 | <plugin> |
436 | 403 | <groupId>org.revapi</groupId> |
437 | 404 | <artifactId>revapi-maven-plugin</artifactId> |
|
522 | 489 | </plugins> |
523 | 490 | </build> |
524 | 491 | </profile> |
| 492 | + |
| 493 | + <!-- Release profile: activates central-publishing-maven-plugin and GPG signing --> |
| 494 | + <profile> |
| 495 | + <id>release</id> |
| 496 | + <build> |
| 497 | + <plugins> |
| 498 | + <plugin> |
| 499 | + <groupId>org.sonatype.central</groupId> |
| 500 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 501 | + <version>0.10.0</version> |
| 502 | + <extensions>true</extensions> |
| 503 | + <configuration> |
| 504 | + <publishingServerId>central</publishingServerId> |
| 505 | + </configuration> |
| 506 | + </plugin> |
| 507 | + <plugin> |
| 508 | + <groupId>org.apache.maven.plugins</groupId> |
| 509 | + <artifactId>maven-gpg-plugin</artifactId> |
| 510 | + <version>3.2.8</version> |
| 511 | + <executions> |
| 512 | + <execution> |
| 513 | + <id>sign-artifacts</id> |
| 514 | + <phase>verify</phase> |
| 515 | + <goals> |
| 516 | + <goal>sign</goal> |
| 517 | + </goals> |
| 518 | + <configuration> |
| 519 | + <gpgArguments> |
| 520 | + <arg>--pinentry-mode</arg> |
| 521 | + <arg>loopback</arg> |
| 522 | + </gpgArguments> |
| 523 | + <gpg.skip>false</gpg.skip> |
| 524 | + </configuration> |
| 525 | + </execution> |
| 526 | + </executions> |
| 527 | + </plugin> |
| 528 | + </plugins> |
| 529 | + </build> |
| 530 | + </profile> |
525 | 531 | </profiles> |
526 | 532 | </project> |
0 commit comments