Commit Graph

12 Commits (c596afd03a358f1bb280a1f4565458b20c21e7a9)

Author SHA1 Message Date
Andy Wilkinson 98ee724ec6 Stop using Bintray to publish to Maven Central
This commit reworks the CI pipeline to remove the use of Bintray for
publishing to Maven Central. In its place it adds a new
publishToCentral command to the release scripts. This command can be
used to publish a directory tree of artifacts to the Maven Central
gateway hosted by Sonatype.

Publishing consists of 4 steps:

1. Create the staging repository
2. Deploy artifacts to the repository
3. Close the repository
4. Release the repository

The command requires 3 arguments:

1. The type of release being performed
2. Location of a build info JSON file that describes the release
   that is to be deployed
3. Root of a directory structure, in Maven repository layout, that
   contains the artifacts to be deployed

Closes gh-25107
4 years ago
Phillip Webb 5f351a6983 Merge branch '2.2.x' into 2.3.x
Closes gh-24338
4 years ago
Phillip Webb 9a7b8c07f8 Upgrade to spring-javaformat 0.0.26
Closes gh-24337
4 years ago
Phillip Webb 8eec9cf32f Restore release scripts POM
Closes gh-21460
5 years ago
Phillip Webb 9a1a2ca613 Merge branch '2.2.x'
Closes gh-21448
5 years ago
Phillip Webb 5eabb0400c Merge branch '2.1.x' into 2.2.x
Closes gh-21447
5 years ago
Phillip Webb d7c7ca31f3 Upgrade to spring-javaformat 0.0.22
Closes gh-21446
5 years ago
Madhura Bhave 4ac12660c6 Explicitly enable config properties scan in java release scripts
This commit also upgrades the Spring Boot version used by the scripts
to 2.2.4 which is why the explicit annotation is required.

Closes gh-20174
5 years ago
Stephane Nicoll b8ccfbafd0 Upgrade to Spring Boot 2.2.4 5 years ago
Stephane Nicoll 738e8b39c7 Upgrade to spring javaformat 0.0.20 5 years ago
Andy Wilkinson 891c7120ef Wait for distribution to reach Bintray before checking its completeness
Previously, as soon as the distribution of a release from Artifactory
to Bintray had been initiated we would start checking if it was
complete. This created a race condition between the distribution being
created and us checking if it was complete. If the check won the race
and happened before the creation, Bintray would respond with a 404.

This commit updates BintrayService to wait for up to 5 minutes for the
distribution to be created on Bintray. Once it has been created we
then wait for up to 40 minutes for it to be complete as we did before.

The use of Awaitility has been introduced in this commit to simplify
the logic required to wait for the distribution's creation and
completion.

Closes gh-18902
5 years ago
Madhura Bhave 2d604beb47 Migrate release scripts to java
Closes gh-17261
5 years ago