Commit Graph

30 Commits (e4e1958b6545b82a356ab902ec0df9f3e68f55cb)

Author SHA1 Message Date
izeye 07da144826 Use 2012 for copyright beginning year
See gh-27734
3 years ago
Phillip Webb 7b14d5bb08 Protect against NPE in isAlreadyPromoted
Fixes gh-27094
3 years ago
Madhura Bhave 82963a39be Fix typo 3 years ago
Andy Wilkinson 7617f0df60 Do not publish to Sonatype when already published
Closes gh-27080
3 years ago
Andy Wilkinson 82198a99e0 Polish nohttp configuration
Closes gh-26166
4 years ago
Phillip Webb 82127fdaa3 Update copyright year of changed files 4 years ago
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
Madhura Bhave e5e654c9ee Merge branch '2.2.x' into 2.3.x
Closes gh-24500
4 years ago
Madhura Bhave 822ae0daf7 Fix detection of latest GA for SDKMAN
Fixes gh-24475
4 years ago
Madhura Bhave aa24d623fe Merge branch '2.2.x' into 2.3.x 4 years ago
Madhura Bhave 5cab547fe4 Fix SDKMAN automation 4 years ago
Madhura Bhave f569d7616d Merge branch '2.2.x' into 2.3.x
Closes gh-24315
4 years ago
Madhura Bhave 7b38b0ed11 Add SDKMAN to pipeline
Closes gh-11987
4 years ago
Phillip Webb d87c437862 Fix release script distribution check
Update `BintrayService.isDistributionComplete` to use unpublished
artifacts.
4 years ago
Andy Wilkinson c23e420914 Merge branch '2.1.x' into 2.2.x 4 years ago
Andy Wilkinson dbd27839e5 Polish logging in BintrayService 4 years ago
Phillip Webb fdd6a89a61 Polish 4 years ago
Phillip Webb f68671e1bc Refine regex
See gh-22543
4 years ago
Phillip Webb 7ace6cd450 Move properties to correct file
See gh-22543
4 years ago
Phillip Webb b77dbcd06f Allow certain artifacts to be optionally deployed
Update `DistributeCommand` so that regex patterns can be used to mark
artifacts that are optional and need not fail the release.

Closes gh-22543
4 years ago
Phillip Webb d69c35a1db Deal with 404 response when checking for artifacts 4 years ago
Phillip Webb 53296cd161 Backport build script updates 4 years ago
Phillip Webb c043701dc0 Turn on debug logging 4 years ago
Madhura Bhave 4a55a414e7 Fix typo 4 years ago
Phillip Webb b129a3f7fb Check that a distribution has been started
Update the releasescript to ensure that a distribution has been started
before starting it again. This functionality was accidentally removed
during the updates for gh-21474.

See gh-21474
4 years ago
Madhura Bhave 9d9a90ccd4 Polish 4 years ago
Phillip Webb 6d93d732b4 Cherry-pick release script updates
Cherry-pick release script updates from 2.3.x

See gh-21474
5 years ago
Madhura Bhave 8d3df1b4b8 Make CI credentials requirement lenient when building RestTemplate
Fixes gh-18901
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