149 Commits

Author SHA1 Message Date
Andy Wilkinson
b4d8a9f64d Address system tests' deprecation warnings with Gradle 8.12
See gh-43496
2025-01-02 15:35:41 +00:00
Phillip Webb
fbf981ca0a Run PaketoBuilderTests on all JDK versions
Closes gh-43505
2024-12-13 13:56:12 -08:00
Phillip Webb
fe7f247018 Merge branch '3.2.x' into 3.3.x 2024-11-15 14:26:22 -08:00
Phillip Webb
7d1cc78d6b Retry on failed plainWar test
Add retry logic for plainWar in an attempt to deal with flaky Tomcat
downloads.
2024-11-15 14:24:32 -08:00
Moritz Halbritter
dbe50732e3 Merge branch '3.2.x' into 3.3.x
Closes gh-43161
2024-11-14 15:08:33 +01:00
Moritz Halbritter
4fc2aa1abf Remove workaround in GraalVM native Paketo Builder Test
Closes gh-40641
2024-11-14 15:08:07 +01:00
Moritz Halbritter
73150b799a Merge branch '3.2.x' into 3.3.x
Closes gh-42772
2024-10-17 17:58:11 +02:00
Moritz Halbritter
ce106eb43c Remove calls to deprecated Project.getBuildDir() in Gradle files
Closes gh-42739
2024-10-17 17:46:17 +02:00
Phillip Webb
e086439e51 Merge branch '3.2.x' into 3.3.x 2024-09-27 12:18:06 -07:00
Phillip Webb
c347ccaa76 Attempt to fix system tests following repository updates
See gh-42333
2024-09-27 12:17:29 -07:00
Phillip Webb
055064f16b Merge branch '3.2.x' into 3.3.x 2024-09-27 10:33:30 -07:00
Phillip Webb
9836011ffd Create extension to configure Spring maven repositories
Create a small Groovy script that can be used in `settings.gradle`
files to extend `repositories` to support the various maven
repositories required for our build.

See gh-42333
2024-09-27 10:30:20 -07:00
Phillip Webb
100bedc07d Merge branch '3.2.x' into 3.3.x
Closes gh-42440
2024-09-24 14:29:09 -07:00
Phillip Webb
ad72411e2b Apply conventions plugin to all subprojects
Closes gh-42438
2024-09-24 14:26:32 -07:00
Andy Wilkinson
4a6793eab5 Merge branch '3.2.x' into 3.3.x
Closes gh-42357
2024-09-18 14:55:35 +01:00
Andy Wilkinson
1240c59482 Only configure plugin classpath where it's needed
When spring-boot-gradle-plugin is using GradleRunner, it needs to be
configured with a custom plugin classpath to account for the fact
that our Gradle plugin is on the classpath of the system classloader
but some of the other plugins would only be available on a
Gradle-created classloader. This imbalance cause class loading
problems as code in spring-boot-gradle-plugin can't see types at
runtime that are only available on the Gradle-created classloader.

To overcome this, we need to configure the GradleRunner with a custom
plugin classpath that contains both spring-boot-gradle-plugin and all
of the other plugins that are used in its various integration tests.
Previously, this was done in GradleBuild that's used by both
spring-boot-gradle-plugin and spring-boot-image-tests. This caused
a problem as spring-boot-image-tests does not have the
above-described problem and trying to correct it did not work leaving
tests that use spring-boot-gradle-plugin unable to see other plugins
such that the native image plugin.

This commit reworks the customization of the plugin classpath so that
it's only done in spring-boot-gradle-plugin's integration tests.

Closes gh-42338
2024-09-18 14:53:54 +01:00
Scott Frederick
d79ae11925 Fix formatting problem
See gh-41350
2024-07-11 18:39:33 -05:00
Scott Frederick
24dbee40ff Add CDS test case to Paketo system tests
Closes gh-41350
2024-07-11 17:47:05 -05:00
Scott Frederick
3a1f833706 Merge branch '3.2.x' into 3.3.x
Closes gh-41283
2024-07-01 13:41:00 -05:00
Scott Frederick
0898982a13 Ignore ca-certificates deprecation warnings in Paketo system tests
Closes gh-41282
2024-07-01 13:14:23 -05:00
Andy Wilkinson
cf447e3aa6 Merge branch '3.2.x'
Closes gh-40931
2024-05-28 16:52:32 +01:00
Andy Wilkinson
5ee0580339 Upgrade to the latest Framework 6.0.x release
Closes gh-40929
2024-05-28 16:52:00 +01:00
Andy Wilkinson
df578d5616 Merge branch '3.2.x'
Closes gh-40805
2024-05-17 10:37:51 +01:00
Andy Wilkinson
c3e122d6ea Merge branch '3.1.x' into 3.2.x
Closes gh-40804
2024-05-17 10:37:27 +01:00
Andy Wilkinson
6be5dbc034 Disable system test that's broken due to a builder regression
0.4.292 of the builder launches an unpacked jar rather than the
script in bin. This only affects an image that uses the archive
generated by bootDistZip. An image that uses the archive generated
by distZip is not affected.

Closes gh-40803
2024-05-17 10:35:26 +01:00
Scott Frederick
0f8062f901 Merge branch '3.2.x'
Closes gh-40640
2024-05-08 12:16:44 -05:00
Scott Frederick
ed42ed7c43 Enable GraalVM native Paketo Builder Tests on Java 22
Closes gh-40639
2024-05-08 12:16:31 -05:00
Phillip Webb
f8a1dae835 Merge branch '3.2.x' 2024-02-21 15:27:57 -08:00
Phillip Webb
12de6aa46a Merge branch '3.1.x' into 3.2.x 2024-02-21 15:27:27 -08:00
Phillip Webb
2c4909a89a Update copyright year of changed files 2024-02-21 13:58:53 -08:00
Andy Wilkinson
71abc9d6b7 fixup! Upgrade to Testcontainers 1.19.5 2024-02-14 18:58:19 +00:00
Scott Frederick
2ef6b42432 Merge branch '3.1.x' into 3.2.x
Closes gh-39511
2024-02-11 13:04:56 -06:00
Scott Frederick
c64b1d12f2 Ignore syft deprecation warnings in Paketo system tests
Closes gh-39510
2024-02-11 13:04:43 -06:00
Andy Wilkinson
5ae533a00d Minimize scope of version management for commons-compress
See gh-39368
2024-02-06 15:08:15 +00:00
Andy Wilkinson
899da7891a Merge branch '3.1.x' into 3.2.x
See gh-39340
2024-01-31 17:44:07 +00:00
Andy Wilkinson
dd082c6c21 Revert "Upgrade to Commons Compress 1.25.0"
This reverts commit 1c2a622f7fcef9ebd5cb74ade3869a3dfc3ca6af.

See gh-39148
2024-01-31 17:35:57 +00:00
Andy Wilkinson
8c18d75b12 Merge branch '3.1.x' into 3.2.x
Closes gh-39340
2024-01-30 13:50:13 +00:00
Andy Wilkinson
1c2a622f7f Upgrade to Commons Compress 1.25.0
Closes gh-39148
2024-01-30 13:49:37 +00:00
Scott Frederick
35eba69996 Merge branch '3.1.x'
Closes gh-38759
2023-12-12 15:43:10 -06:00
Scott Frederick
823054f543 Allow native spring-boot-image-tests to run without an existing snapshot
Closes gh-38757
2023-12-12 15:42:37 -06:00
Andy Wilkinson
f9c9f3228d Merge branch '3.1.x' 2023-11-08 10:35:48 +00:00
Andy Wilkinson
dfe6b50a59 Merge branch '3.0.x' into 3.1.x 2023-11-08 10:35:40 +00:00
Andy Wilkinson
eb8e8dd366 Merge branch '3.1.x'
Closes gh-38265
2023-11-08 10:35:30 +00:00
Andy Wilkinson
bb761e54f6 Merge branch '3.0.x' into 3.1.x
Closes gh-38264
2023-11-08 10:35:08 +00:00
Andy Wilkinson
e4fe2d86c0 Update Tomcat version used for deployment tests 2023-11-08 10:34:50 +00:00
Andy Wilkinson
c19827772f Reinstate deployment tests for servers that now support EE 9/10
Closes gh-38232
2023-11-08 10:34:00 +00:00
Johnny Lim
b5d4983829 Polish
See gh-37984
2023-10-23 11:15:27 +02:00
Scott Frederick
361f737086 Fix launcher path in Paketo system tests
See gh-37667
2023-10-04 13:33:24 -05:00
Phillip Webb
c22548982a Relocate launcher classes
Create alternative launcher classes under the package
`org.springframework.boot.loader.launch` and use them in favor
of the previous location.

This update is designed to improve compatibility with future
changes in the loader.

Closes gh-37667
2023-10-03 14:53:04 -07:00
Scott Frederick
9004966353 Merge branch '3.1.x' 2023-09-26 19:10:01 -05:00