Commit Graph
87 Commits
Author SHA1 Message Date
Andy Wilkinson ee059ae3ca Add CI for Java 27
Closes gh-51423
2026-08-24 14:52:36 +01:00
Stéphane Nicoll e61ef57f30 Restore additional repositories for integrtion tests as well
As it turns out, intTest are also affected.

See gh-51266
2026-08-04 16:30:58 +02:00
Stéphane Nicoll 4c8de39294 Restore additional repositories for docker tests
This commit reverts partially what was done in gh-49397 to let docker
tests have access to additional maven repositories. Unfortunately, maven
build executions with the Spring Boot Maven Plugin do not use the BOM
for dependency management. As such, if one of the dependency requires
a dependency that has not been prepared in the local repository, it will
need to be able to download it from the relevant repository.

This is the case with spring-core that the maven plugin depends on when
Spring Framework and Spring Boot do not use the same Micrometer version:
the build prepares the version that Spring Boot uses, but the build
execution attempts to download the one that Spring Framework relies on.

Closes gh-51266
2026-08-04 15:41:43 +02:00
Andy Wilkinson 6c19b31fb7 Update the build for release train participation
Closes gh-51163
2026-07-30 12:37:42 +01:00
Manu Sridharan b6f117c9cd Adapt function types in ClassPath to avoid nullability warning
See gh-51091

Signed-off-by: Manu Sridharan <msridhar@gmail.com>
2026-07-23 12:19:57 +02:00
Sebastien Tardif c3153dc39f Close JarFile when finding main class from archive
MainClassFinder.findSingleMainClass(JarFile, ...) does not close the
JarFile; the caller owns the resource. FindMainClass passed a newly
opened JarFile without closing it, unlike sibling call sites that use
try-with-resources.

See gh-50949

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
2026-07-16 11:08:06 +02:00
Stéphane Nicoll 8c6c3fd1e4 Polish "Upgrade to Gradle 9.6.1"
Stop using providers.properties as it is deprecated

See gh-50793
2026-07-15 07:51:22 +02:00
Stéphane Nicoll 2eedeabe9a Upgrade to Gradle 9.6.1
This commit also suppresses new warnings from the Native Build Tools
Plugin, see https://github.com/graalvm/native-build-tools/pull/903

Closes gh-50793
2026-07-14 16:03:14 +02:00
Yanming Zhou 9d5c98b7e9 Replace isAssignableFrom() with isInstance() where feasible
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>

See gh-50750
2026-06-24 19:11:59 +01:00
Stéphane Nicoll 8845b31cf9 Merge branch '3.5.x' into 4.0.x
Closes gh-50619
2026-05-29 12:36:08 +02:00
Andy Wilkinson add52b6ccd Merge branch '3.5.x' into 4.0.x
Closes gh-50439
2026-05-14 15:02:24 +01:00
Phillip Webb a6895e3da2 Merge branch '3.5.x' into 4.0.x
Closes gh-50289
2026-05-04 14:03:03 -07:00
Stéphane Nicoll 63fd49758c Merge branch '3.5.x' into 4.0.x
Closes gh-50113
2026-04-18 09:40:14 +02:00
Stéphane Nicoll a9f458c55a Merge branch '3.5.x' into 4.0.x
Closes gh-50111
2026-04-18 09:31:17 +02:00
Stéphane Nicoll 5896b0cba8 Merge branch '3.5.x' into 4.0.x 2026-03-16 16:04:56 +01:00
Moritz Halbritter 1edf7b8e9b Merge branch '3.5.x' into 4.0.x
Closes gh-49512
2026-03-09 09:48:00 +01:00
Stéphane Nicoll e3e167bf9b Upgrade to Native Build Tools Plugin 0.11.5
Closes gh-49475
2026-03-07 08:50:31 +01:00
Andy Wilkinson b6f52e6d63 Merge branch '3.5.x' into 4.0.x 2026-03-05 20:52:28 +00:00
Andy Wilkinson 85dd0c72b4 Merge branch '3.5.x' into 4.0.x
Closes gh-49397
2026-03-04 12:30:47 +00:00
Andy Wilkinson 14444669fe Merge branch '3.5.x' into 4.0.x
Closes gh-49321
2026-02-25 10:04:41 +00:00
Stéphane Nicoll 5f8a752070 Merge branch '3.5.x' into 4.0.x
Closes gh-49295
2026-02-23 12:49:12 +01:00
Andy Wilkinson 0ffffee4bf Upgrade to Nullability Plugin 0.0.9
Closes gh-48638
2026-01-08 11:59:51 +00:00
Stéphane Nicoll 55d7550df2 Merge branch '3.5.x' into 4.0.x
Closes gh-48662
2026-01-02 14:36:05 +01:00
Stéphane Nicoll 57ae8a5778 Merge branch '3.5.x' into 4.0.x 2026-01-02 10:47:53 +01:00
Stéphane Nicoll 2ef60a10da Clarify how to include devtools using Maven
Closes gh-48641
2025-12-30 13:25:14 +01:00
Phillip Webb 0254c693cf Merge branch '3.5.x'
Closes gh-48478
2025-12-09 08:42:36 -08:00
Andy Wilkinson b5703eaa4c Merge branch '3.5.x'
Closes gh-48300
2025-11-26 12:43:51 +00:00
Phillip Webb 2685f4bf29 Change tomcat and jetty runtime modules to starters
Change `spring-boot-tomcat-runtime` and `spring-boot-jetty-runtime`
into starter POMs and reduce the number of dependencies needed for
`spring-boot-tomcat` and `spring-boot-jetty`.

The runtime starters provide only the jars required to run the
embedded server along with the module jar itself (excluding transitive
dependencies) and `spring-boot-webserver` (excluding transitive
dependencies).

The build setup required for an executable jar is slightly different
between Maven and Gradle. For Maven, the regular module is put in the
`provided` scope. For Gradle, the regular module remains in main
configuration and the runtime jar is put in the `providedRuntime`
configuration. The reference documentation has been updated to
show how to configure things if starters are being used.

Manual testing has been performed to ensure that wars build with Maven
and Gradle work with both Tomcat and Jetty in both deployed and
`java -jar` modes.

Closes gh-48175
2025-11-19 21:59:03 -08:00
Phillip Webb 2e75008ba1 Merge branch '3.5.x'
Closes gh-48197
2025-11-19 21:58:48 -08:00
Phillip Webb 2e54aa6760 Merge branch '3.5.x'
Closes gh-48160
2025-11-17 21:00:09 -08:00
Stéphane Nicoll d1e5fe3248 Merge branch '3.5.x'
Closes gh-48106
2025-11-13 10:31:25 +01:00
Andy Wilkinson 0e44f1de42 Merge branch '3.5.x' 2025-11-10 10:39:32 +00:00
Phillip Webb d0d332b42f Merge branch '3.5.x'
Closes gh-47968
2025-11-05 09:52:47 -08:00
Stéphane Nicoll 68f608155b Merge branch '3.5.x'
Closes gh-47910
2025-11-03 10:23:38 +01:00
Andy Wilkinson 97daba702e Make use of JavaExecSpec.getJvmArguments()
Closes gh-34413
2025-10-31 18:29:26 +00:00
Phillip Webb debbec8ee1 Merge branch '3.5.x'
Closes gh-47772
2025-10-22 22:15:43 -07:00
Andy Wilkinson 635e766aaf Make it easier to create executable and deployable war
Closes gh-46944
2025-10-22 10:13:46 +01:00
Andy Wilkinson d4534eb0be Align test script names with test class name
See gh-47738
2025-10-21 11:52:53 +01:00
Andy Wilkinson b7589a1471 Raise the minimum supported version of the CycloneDX plugin to 3.0.0
Closes gh-47250
2025-10-21 11:16:00 +01:00
Andy Wilkinson 2a9ad4bcb3 Merge branch '3.5.x'
Closes gh-47738
Closes gh-47739
2025-10-21 10:29:09 +01:00
Andy Wilkinson 46440bf2d5 Merge branch '3.5.x'
Closes gh-47738
Closes gh-47739
2025-10-21 10:27:53 +01:00
Andy Wilkinson 2b36c89e91 Remove some remnants of the embedded launch script support
See gh-47666
2025-10-20 22:02:39 +01:00
Andy Wilkinson 81aa674adb Remove support for embedded launch scripts
Closes gh-47666
2025-10-20 20:03:14 +01:00
Stéphane Nicoll adb6481c62 Polish "Upgrade to Testcontainers 2.0.1"
See gh-47664
2025-10-17 17:23:35 +02:00
Eddú Meléndez 7f64615690 Upgrade to Testcontainers 2.0.1
* Update dependencies name
  Modules are prefixed with `testcontainers-`
* Update container classes
  Container classes are under `org.testcontainers.<module-name>` package

See gh-47664

Signed-off-by: Eddú Meléndez <eddu.melendez@gmail.com>
2025-10-17 17:11:24 +02:00
Moritz Halbritter e2433fda5f Suppress NullAway checks in tests for Maven plugin
See gh-47263
2025-10-16 14:51:14 +02:00
Moritz Halbritter 039fd0fa9a Add nullability annotations to tests in build-plugin/spring-boot-maven-plugin
See gh-47263
2025-10-16 14:07:15 +02:00
Moritz Halbritter c2548e204e Improve null-safety of build-plugin/spring-boot-maven-plugin
See gh-47263
2025-10-16 14:07:15 +02:00
Moritz Halbritter ef6fa41dd1 Add nullability annotations to tests in build-plugin/spring-boot-gradle-plugin
See gh-47263
2025-10-16 11:24:51 +02:00
Moritz Halbritter e1f9116684 Raise GraalVM baseline to 25
This also removes the 'requiredVersion' setting from the
native-maven-plugin configuration, as this is deprecated in the native
build tools.

Close gh-47433
2025-10-15 09:59:03 +02:00