Commit Graph

55 Commits (3e9341fbb4144682290503d6d2c657e023b18f6b)

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
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
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
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 16ff7022db Merge branch '2.2.x' into 2.3.x 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 4924573074 Merge branch '2.2.x' into 2.3.x 4 years ago
Phillip Webb fdd6a89a61 Polish 4 years ago
Phillip Webb f625d8e701 Merge branch '2.2.x' into 2.3.x 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
Phillip Webb 217b2eff89 Merge branch '2.2.x' into 2.3.x 4 years ago
Phillip Webb b5e70157dc Update copyright year of changed files 4 years ago
Madhura Bhave 67060731bc Merge branch '2.1.x' into 2.2.x 4 years ago
Madhura Bhave 4a55a414e7 Fix typo 4 years ago
Johnny Lim 43aee1bddd Polish
See gh-22090
4 years ago
Phillip Webb 025d7aaac8 Merge branch '2.2.x' into 2.3.x 4 years ago
Phillip Webb 550b2847c5 Merge branch '2.1.x' into 2.2.x 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 847d633097 Merge branch '2.2.x' into 2.3.x 4 years ago
Madhura Bhave 0395b186ad Merge branch '2.1.x' into 2.2.x 4 years ago
Madhura Bhave 9d9a90ccd4 Polish 4 years ago
Phillip Webb 209c5c4013 Merge branch '2.1.x' into 2.2.x 4 years ago
Phillip Webb 6d93d732b4 Cherry-pick release script updates
Cherry-pick release script updates from 2.3.x

See gh-21474
4 years ago
Phillip Webb 1706ae29f5 Support octet-stream response from sonatype
See gh-21474
4 years ago
Phillip Webb dbda2d0b92 Improve release script logging
Improve logging and fix a few issue with the release script.

See gh-21474
4 years ago
Phillip Webb ce011ca384 Check if promotion has already occurred
Update the release tooling to check for bintray published artifacts
using SHA256 digests and to also check before attempting a promote.

See gh-21474
4 years ago
Phillip Webb d650c5fdf2 Polish 4 years ago
Phillip Webb de8970ec8e Update copyright year of changed files 5 years ago
Phillip Webb 8eec9cf32f Restore release scripts POM
Closes gh-21460
5 years ago
Phillip Webb c7023c5b17 Increase bintray timeout 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
Phillip Webb 9a33a723fe Update copyright year of changed files 5 years ago
Madhura Bhave 0ec1ed4642 Merge branch '2.2.x'
Closes gh-20188
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