Phillip Webb
d73d8f8e4f
Merge branch '3.1.x'
2023-08-13 19:15:56 -07:00
Phillip Webb
9805723415
Update copyright year of changed files
2023-08-13 18:50:13 -07:00
Moritz Halbritter
7bb337aeb1
Polish tests
2023-08-08 13:12:47 +02:00
Yanming Zhou
b1ac64c7e2
Harmonize Stream.collect() usage
...
use Stream.toList() or collect(Collectors.toSet()) where possible.
See gh-36509
2023-07-26 11:15:08 +02:00
Johnny Lim
0fa58c04e7
Use Stream.toList()
...
See gh-36167
2023-07-05 09:38:19 +01:00
Andy Wilkinson
1cdc24a11d
Merge branch '2.7.x' into 3.0.x
...
Closes gh-34123
2023-02-08 14:17:06 +00:00
Andy Wilkinson
07fcb67540
Use repo.maven.apache.org consistently
...
Maven Central has two canonical URLs [1]:
- https://repo1.maven.org
- https://repo.maven.apache.org
This commit updates the codebase to only use repo.maven.apache.org.
Closes gh-33938
[1] https://central.sonatype.org/news/20190715_http_deprecation_update/#canonical-urls
2023-02-08 14:04:16 +00:00
Andy Wilkinson
57b7b1ae8e
Fix formatting of ArtifactoryServiceTests
...
See gh-33967
2023-02-06 11:55:28 +00:00
Johnny Lim
bc7fc90550
Replace Base64Utils with JDK's Base64
...
See gh-33967
2023-01-31 10:20:06 +01:00
Andy Wilkinson
809c220849
Fix releasescripts tests
...
Update the tests to align them with the changes made to move from
https://repo.spring.io/release to Maven Central in b0e07314 .
See gh-33708
2023-01-11 12:51:55 +00:00
Phillip Webb
a369f936c9
Replace references to Pivotal
...
Closes gh-33737
2023-01-09 18:09:20 -08:00
Phillip Webb
80cfcb71ec
Update copyright year of changed files
2023-01-09 15:18:10 -08:00
Sanan
b0e0731463
Use Maven Central for SDKMAN download
...
See gh-33708
2023-01-09 10:17:48 +01:00
Phillip Webb
7d2f1bafc0
Update copyright year of changed files
2022-05-17 22:20:05 -07:00
Moritz Halbritter
09c7732642
Include link to changelog when announcing release to SDKman
...
Closes gh-30423
2022-04-25 08:33:46 +02:00
izeye
07da144826
Use 2012 for copyright beginning year
...
See gh-27734
2021-08-18 13:46:35 +01:00
Phillip Webb
7b14d5bb08
Protect against NPE in isAlreadyPromoted
...
Fixes gh-27094
2021-06-24 18:48:22 -07:00
Madhura Bhave
82963a39be
Fix typo
2021-06-24 09:52:26 -07:00
Andy Wilkinson
7617f0df60
Do not publish to Sonatype when already published
...
Closes gh-27080
2021-06-24 17:01:06 +01:00
Andy Wilkinson
82198a99e0
Polish nohttp configuration
...
Closes gh-26166
2021-04-20 11:15:13 +01:00
Phillip Webb
82127fdaa3
Update copyright year of changed files
2021-03-23 12:50:49 -07:00
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
2021-02-17 16:50:02 +00:00
Madhura Bhave
e5e654c9ee
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24500
2020-12-14 12:08:33 -08:00
Madhura Bhave
822ae0daf7
Fix detection of latest GA for SDKMAN
...
Fixes gh-24475
2020-12-14 12:07:15 -08:00
Madhura Bhave
aa24d623fe
Merge branch '2.2.x' into 2.3.x
2020-12-10 12:37:16 -08:00
Madhura Bhave
5cab547fe4
Fix SDKMAN automation
2020-12-10 12:36:22 -08:00
Madhura Bhave
f569d7616d
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24315
2020-12-02 10:56:23 -08:00
Madhura Bhave
7b38b0ed11
Add SDKMAN to pipeline
...
Closes gh-11987
2020-12-02 10:52:41 -08:00
Phillip Webb
d87c437862
Fix release script distribution check
...
Update `BintrayService.isDistributionComplete` to use unpublished
artifacts.
2020-10-29 19:10:01 -07:00
Andy Wilkinson
c23e420914
Merge branch '2.1.x' into 2.2.x
2020-09-17 09:47:06 +01:00
Andy Wilkinson
dbd27839e5
Polish logging in BintrayService
2020-09-17 09:46:39 +01:00
Phillip Webb
fdd6a89a61
Polish
2020-08-06 10:14:01 -07:00
Phillip Webb
f68671e1bc
Refine regex
...
See gh-22543
2020-07-23 21:23:42 -07:00
Phillip Webb
7ace6cd450
Move properties to correct file
...
See gh-22543
2020-07-23 21:09:15 -07:00
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
2020-07-23 20:45:25 -07:00
Phillip Webb
d69c35a1db
Deal with 404 response when checking for artifacts
2020-07-23 18:23:24 -07:00
Phillip Webb
53296cd161
Backport build script updates
2020-07-23 17:45:55 -07:00
Phillip Webb
c043701dc0
Turn on debug logging
2020-07-23 17:45:49 -07:00
Madhura Bhave
4a55a414e7
Fix typo
2020-06-29 16:40:24 -07:00
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
2020-06-15 10:50:06 -07:00
Madhura Bhave
9d9a90ccd4
Polish
2020-06-15 09:22:14 -07:00
Phillip Webb
6d93d732b4
Cherry-pick release script updates
...
Cherry-pick release script updates from 2.3.x
See gh-21474
2020-06-11 23:15:10 -07:00
Madhura Bhave
8d3df1b4b8
Make CI credentials requirement lenient when building RestTemplate
...
Fixes gh-18901
2019-11-06 11:12:20 -08:00
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
2019-11-06 14:52:50 +00:00
Madhura Bhave
2d604beb47
Migrate release scripts to java
...
Closes gh-17261
2019-11-01 16:14:28 -07:00