Commit Graph
3878 Commits
Author SHA1 Message Date
Moritz Halbritter 2eb2f8594a Use mavenVersion Gradle property in the spring-boot-maven-plugin tests
Closes gh-49508
2026-03-09 09:47:27 +01:00
Andy Wilkinson 7d21d7234d Test Gradle plugin against 9.4.0
Closes gh-49467
2026-03-06 15:10:05 +00:00
Andy Wilkinson 66554ec811 Make snapshot deps available to Maven Plugin integration tests
See gh-49396
2026-03-05 20:51:11 +00:00
Andy Wilkinson bb65863891 Fail if using @DisabledIfDockerUnavailable without Testcontainers
Closes gh-49425
2026-03-05 10:50:26 +00:00
Andy Wilkinson 48cf7ebe6d Speed up Maven plugin integration tests
Closes gh-49396
2026-03-04 12:13:45 +00:00
Andy Wilkinson 5a764167ab Document applying AOT plugin directly for AOT on the JVM
Closes gh-49307
2026-02-25 09:53:37 +00:00
Yanming Zhou 147d3d763b Members declared in final classes should not be protected
See gh-49031

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2026-02-23 16:28:44 +01:00
Andy Wilkinson 4bc47d0919 Remove stale mention of Groovy
Closes gh-49297
2026-02-23 15:23:22 +00:00
Stéphane Nicoll 12e5cd4b45 Consistently enable parameters generation with AOT
This commit updates the Maven Plugin to retain parameters information
in AOT-generated code. This aligns with the Gradle Plugin and allows
to consistently use parameter names resolution in generated code.

Closes gh-49268
2026-02-23 12:44:54 +01:00
Tran Ngoc Nhan 55ef2df143 Update JDK requirement for CLI
See gh-49290

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2026-02-23 12:16:21 +01:00
Andy Wilkinson 5bc773b735 Test Gradle Plugin against 9.3.1
Closes gh-49188
2026-02-11 12:06:39 +00:00
Phillip Webb 998a0f1b82 Polish 'Fix whitespace handling in multi-line javadoc'
See gh-49039
2026-02-04 16:24:56 -08:00
Stefan Reuter ba5066f832 Fix whitespace handling in multi-line javadoc
Update spring-boot-configuration-processor to deal with multi-line
javadoc comments that do not include their own whitespace after the
new line.

See gh-49039

Signed-off-by: Stefan Reuter <stefan.reuter@reucon.com>
2026-02-04 16:23:41 -08:00
Dmytro Nosan a4ed09e5d2 Ensure Windows Docker credential helper resolves correctly
Before this commit, "cmd /c" was never added to the final command,
which meant the Docker credential helper was not executed correctly.

See gh-48965

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2026-01-27 08:17:47 +01:00
Phillip Webb 54d7f79501 Fix timestamps set on jars created by the extract command
Update `ExtractCommand` so that both the generated jar and the
contained manifest entry have timestamps copied from the original.

Fixes gh-48664
2026-01-05 14:11:54 -08:00
Phillip Webb 5b48eb30cc Polish 2026-01-05 14:11:51 -08:00
Stéphane Nicoll 54603fee87 Revisit condition to skip AOT processing of tests
This commit stop skipping AOT processing of tests when tests execution
is skipped. With this commit, only the presence of maven.test.skip makes
the processing to skip.

This harmonize the behavior with other standard plugins that do react
to the property. For instance, the compiler plugin will not compile the
tests if that property is set, but would do so if skipTests was
provided.

Closes gh-48661
2026-01-02 14:22:22 +01:00
Stéphane Nicoll eedc47a15b Remove unused code 2026-01-02 10:34:59 +01:00
Stéphane Nicoll c5a50cb7f6 Polish "Fix zero-length byte buffer in InspectedContent"
See gh-48649
2025-12-31 10:45:17 +01:00
高春晖 ba94cc48f2 Fix zero-length byte buffer in InspectedContent
See gh-48649

Signed-off-by: 高春晖 <18220699480@163.com>
2025-12-31 10:39:38 +01:00
高春晖 2075a2cfdb Fix method naming to follow Java conventions
See gh-48640

Signed-off-by: 高春晖 <18220699480@163.com>
2025-12-30 10:40:27 +01:00
Johnny Lim 9e7988131f Polish
See gh-48620

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-12-26 08:52:47 +01:00
Phillip Webb 502a58af9c Merge branch '3.4.x' into 3.5.x
Closes gh-48477
2025-12-09 08:36:35 -08:00
Phillip Webb 448acaa5be Remove Apache header from spring-boot-gradle-plugin examples
Closes gh-48474
2025-12-09 08:35:00 -08:00
Stéphane Nicoll 8881d38202 Merge branch '3.4.x' into 3.5.x
Closes gh-48305
2025-11-26 16:00:19 +01:00
geopark021 6b60d89b28 Remove unnecessary cast
Replace explicit casts with pattern variables to improve readability and
remove redundancy.

See gh-48297

Signed-off-by: geopark021 <geobrown021@gmail.com>
2025-11-26 15:55:47 +01:00
Andy Wilkinson 7b1b834fce Merge branch '3.4.x' into 3.5.x
Closes gh-48299
2025-11-26 10:45:02 +00:00
Andy Wilkinson 710e567ba5 Check javadoc macros in adoc files
Closes gh-48298
2025-11-26 10:41:49 +00:00
Andy Wilkinson 01d93513c7 Merge branch '3.4.x' into 3.5.x
Closes gh-48226
2025-11-21 16:47:11 +00:00
Andy Wilkinson 859606ae13 Split architecture checks by language as well as source set
Closes gh-48224
2025-11-21 16:44:54 +00:00
Phillip Webb f7b4a8b377 Merge branch '3.4.x' into 3.5.x
Closes gh-48196
2025-11-19 21:58:36 -08:00
Phillip Webb 4a8d01d2b6 Exclude starter POMs from lib-provided when using Gradle
Fixes gh-48195
2025-11-19 21:58:03 -08:00
Phillip Webb c3c983f1d8 Merge branch '3.4.x' into 3.5.x
Closes gh-48159
2025-11-17 20:59:53 -08:00
Phillip Webb 7837583484 Add credentials to ivy settings to support commercial builds
Closes gh-46824
2025-11-17 20:54:34 -08:00
Phillip Webb c90f61ce66 Merge branch '3.4.x' into 3.5.x
Closes gh-48127
2025-11-13 15:25:08 -08:00
Phillip Webb 53bda71c3e Use platform when exporting buildpack images
Update `DockerApi` and `Builder` to support export of images with a
specified platform. This prevents 'NotFound: content digest sha256:'
errors when building an amd64 image on an arm64 machine.

Fixes gh-46665
2025-11-13 15:19:26 -08:00
Stéphane Nicoll b543ab81f1 Merge branch '3.4.x' into 3.5.x
Closes gh-48108
2025-11-13 10:54:05 +01:00
Stéphane Nicoll fc826218b4 Merge pull request #48100 from nosan
* pr/48100:
  Use ObjectNode for building ImagePlatform JSON

Closes gh-48100
2025-11-13 10:53:55 +01:00
Dmytro Nosan d251b99615 Use ObjectNode for building ImagePlatform JSON
See gh-48100

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>

Closes gh-48100
2025-11-13 10:53:41 +01:00
Stéphane Nicoll 1ce1b7ee35 Merge branch '3.4.x' into 3.5.x
Closes gh-48105
2025-11-13 10:27:51 +01:00
Stéphane NicollandCatiaCorreia catia.correia97@gmail.com 9e656c1554 Remove unnecessary field initialization
Closes gh-45168

Co-authored-by: CatiaCorreia catia.correia97@gmail.com
2025-11-13 10:21:05 +01:00
Phillip Webb d1dc9579eb Merge branch '3.4.x' into 3.5.x
Closes gh-48102
2025-11-12 20:05:58 -08:00
Phillip Webb 9b387cbe77 Support recent Docker installs by raising the API version when possible
Update `DockerApi` so that the URL uses version `v1.50` whenever
possible. Prior to this commit, `v1.24` was often used which breaks
recent Docker installs due to the dropping of API version v1.43 and
below.

If the actual API version running is less than `v1.50`, but greater
than the minimum required for the API call, it will be used instead.
This hopefully means that older versions of Docker will continue to
work as they did previously.

Fixes gh-48050
2025-11-12 19:57:36 -08:00
Phillip Webb 25a5d4343e Merge branch '3.4.x' into 3.5.x
Closes gh-48098
2025-11-12 13:44:02 -08:00
Phillip Webb 39f3d1c72c Polish 'Correctly handle platform specific buildpack builds'
See gh-47292
2025-11-12 11:07:29 -08:00
hojooo 913c434b90 Correctly handle platform specific buildpack builds
Prior to this commit, performing a build on a ARM Mac with the default
configuration and then building it again with the image platform set to
`linux/amd64` results in an "Image platform mismatch detected" failure.

This is due to the fact that `docker inspect` returns JSON for the
default platform, regardless of the fact that another architecture
has been pulled.

To solve the issue, the `inspect` API call on Docker 1.49+ can now
accept a platform query parameter which when specified returns platform
specific JSON.

At the time of this commit, the Docker API documentation hasn't been
updated, despite PR https://github.com/moby/moby/pull/49586 being
merged.

In addition to using the correct inspect JSON, we also need to pin
the run image we use to a specific digest. Without doing this,
buildpacks revert back to the default platform image and
"content digest not found" errors are thrown (similar to
https://github.com/buildpacks/docs/issues/818).

See gh-47292

Signed-off-by: hojooo <ghwn5833@gmail.com>
2025-11-12 10:33:22 -08:00
Andy Wilkinson 5b960b21b4 Merge branch '3.4.x' into 3.5.x 2025-11-10 09:56:13 +00:00
Andy Wilkinson f1957a9740 Address warnings reported by Eclipse 2025-11-10 09:55:50 +00:00
Phillip Webb 3690a958f2 Replace use of ubuntu-noble-run-base with ubuntu-noble-run
Update code and documentation to use the correct Paketo base image of
`ubuntu-noble-run` rather than `ubuntu-noble-run-base` which was
published only for testing purposes.

Closes gh-47966
2025-11-05 09:49:35 -08:00
Stéphane Nicoll affb9d6b86 Merge branch '3.4.x' into 3.5.x
Closes gh-47909
2025-11-03 10:23:26 +01:00