Commit Graph

74 Commits

Author SHA1 Message Date
Phillip Webb
9805723415 Update copyright year of changed files 2023-08-13 18:50:13 -07: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
Lars Grefer
e8a1a0399a Upgrade to Bouncycastle 1.71
Closes gh-31400
2022-06-16 12:14:06 +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
Phillip Webb
5f351a6983 Merge branch '2.2.x' into 2.3.x
Closes gh-24338
2020-12-04 18:21:57 -08:00
Phillip Webb
9a7b8c07f8 Upgrade to spring-javaformat 0.0.26
Closes gh-24337
2020-12-04 17:54:56 -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
16ff7022db Merge branch '2.2.x' into 2.3.x 2020-09-17 09:47:18 +01: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
4924573074 Merge branch '2.2.x' into 2.3.x 2020-08-06 10:15:22 -07:00
Phillip Webb
fdd6a89a61 Polish 2020-08-06 10:14:01 -07:00
Phillip Webb
f625d8e701 Merge branch '2.2.x' into 2.3.x 2020-07-23 21:37:16 -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
Phillip Webb
217b2eff89 Merge branch '2.2.x' into 2.3.x 2020-07-22 17:03:23 -07:00
Phillip Webb
b5e70157dc Update copyright year of changed files 2020-07-22 17:01:36 -07:00
Madhura Bhave
67060731bc Merge branch '2.1.x' into 2.2.x 2020-06-29 16:40:59 -07:00
Madhura Bhave
4a55a414e7 Fix typo 2020-06-29 16:40:24 -07:00
Johnny Lim
43aee1bddd Polish
See gh-22090
2020-06-29 16:35:23 -07:00
Phillip Webb
025d7aaac8 Merge branch '2.2.x' into 2.3.x 2020-06-15 10:53:00 -07:00
Phillip Webb
550b2847c5 Merge branch '2.1.x' into 2.2.x 2020-06-15 10:52:50 -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
847d633097 Merge branch '2.2.x' into 2.3.x 2020-06-15 09:23:47 -07:00