Moritz Halbritter
52789cb191
Fix anchors in Maven plugin documentation
...
Closes gh-35371
2023-05-10 08:21:44 +02:00
Scott Frederick
5d91c24f63
Update Couchbase image tag used in tests
...
Closes gh-35228
2023-05-05 14:45:58 -05:00
Phillip Webb
b3226c55d2
Polish
2023-05-02 15:41:55 -07:00
Moritz Halbritter
091d6204cb
Disable build image integration tests on aarch64 linux and mac
...
See gh-35229
2023-05-02 15:38:42 +02:00
Andy Wilkinson
de2df9311c
Test Gradle plugin against Gradle 8.1.1
...
Closes gh-35195
2023-04-28 18:05:06 +01:00
Andy Wilkinson
88ec47ff2b
Test Gradle plugin against Gradle 8.1
...
Closes gh-35034
2023-04-17 17:38:28 +01:00
Andy Wilkinson
751fc9fe54
Fix includeProjectDependencies with Kotlin DSL
2023-04-17 17:35:15 +01:00
Phillip Webb
3e9a136143
Polish gradle formatting
2023-04-10 21:14:09 -07:00
Andy Wilkinson
4705e82a6e
Note that optional dependencies are included by run and repackage
...
Closes gh-34636
2023-03-28 09:33:06 +01:00
Scott Frederick
ad680ed4ea
Polish "Add documentation for publishing images with Maven command line"
...
See gh-34517
2023-03-21 13:30:50 -05:00
Anthony Dahanne
21978da02a
Add documentation for publishing images with Maven command line
...
See gh-34517
2023-03-21 13:30:50 -05:00
Johnny Lim
00f388fa6f
Polish Javadoc since tags for gh-34324
...
See gh-34587
2023-03-14 14:39:10 +00:00
Scott Frederick
7730eee439
Use image manifest when exporting layers
...
A tar archive of a Docker image contains a `mainfest.json` file that
lists the path to each embedded tar file containing the contents of a
layer in the image. This manifest file should be used to identify the
layer files instead of relying on file naming conventions and
assumptions on the directory structure that are not consistent
between container engine implementations.
Fixes gh-34324
2023-03-06 15:13:08 -06:00
Andy Wilkinson
27ba20f310
Test Gradle plugin against Gradle 8.0.2
...
Closes gh-34486
2023-03-06 10:21:21 +00:00
Scott Frederick
10d71f5645
Document how to get socket location for podman configuration
...
Closes gh-34435
2023-03-03 16:47:48 -06:00
Andy Wilkinson
95cd0f2435
Test Boot's Maven Plugin against Maven 3.9.0
...
Closes gh-34469
2023-03-03 16:27:02 +00:00
Andy Wilkinson
68a1dd3a76
Document support for Gradle 8
...
Closes gh-34458
2023-03-03 10:42:28 +00:00
Andy Wilkinson
4f7e038f14
Test Gradle plugin against Gradle 8.0.1
...
Closes gh-34457
2023-03-03 10:21:26 +00:00
Phillip Webb
69d34c96bf
Apply consistent timestamps to files added to a fat archive
...
Update logic in `BootZipCopyAction` to align with the recent changes
made in the Maven plugin (commit 998d59b7
). Timestamps are now
specified in UTC and offset against the default timezone before being
written.
Removing the offset from our UTC time before calling `entry.setTime()`
ensures that we get consistent bytes in the zip file when the output
stream reapplies the offset during write.
Closes gh-21005
2023-03-02 12:06:42 -08:00
Phillip Webb
998d59b7ac
Ignore system timezone when applying outputTimestamp to entries
...
Update `JarWriter` so that entry times are set with the default TimeZone
offset removed. The Javadoc for `ZipEntry.setTime` states:
The file entry is "encoded in standard `MS-DOS date and time format`.
The default TimeZone is used to convert the epoch time to the MS-DOS
data and time.
Removing the offset from our UTC time before calling `entry.setTime()`
ensures that we get consistent bytes in the zip file when the output
stream reapplies the offset during write.
Fixes gh-34424
2023-03-01 21:27:08 -08:00
Andy Wilkinson
81882ecca4
Apply plugins consistently in Gradle documentation examples
...
Closes gh-34038
2023-02-27 13:26:05 +00:00
Andy Wilkinson
eb105572f6
Test Gradle plugin against Gradle 6.9.4
...
Closes gh-34368
2023-02-24 10:36:08 +00:00
Phillip Webb
a5902d7a00
Update copyright year of changed files
2023-02-22 18:35:17 -08:00
Phillip Webb
df5898a146
Reformat code following spring-javaformat upgrade
2023-02-21 22:53:27 -08:00
Scott Frederick
33aef7fe27
Update CLI installation docs to download releases from Maven Central
...
Closes gh-33962
2023-02-09 15:45:15 -06:00
Enimiste
d6032c9d2c
Remove inputStream.close() line to conform to the interface
...
The "ReproducibleResourceTransformer" interface says that "An input
stream for the resource, the implementation should *not* close this
stream".
See gh-34063
2023-02-06 11:47:25 +01:00
Phillip Webb
470a255b0d
Polish
2023-01-18 15:47:50 -08:00
Phillip Webb
7c508fa324
Update copyright year of changed files
2023-01-18 15:37:58 -08:00
Moritz Halbritter
e8d809fe65
Replace 'via' with 'over' or 'through' in the documentation
...
Closes gh-33878
2023-01-18 16:56:42 +01:00
Moritz Halbritter
524a4b6c1e
Only return complete accessor name when accessor has a backing field
2023-01-18 13:42:56 +01:00
Moritz Halbritter
26d658802f
Add support for record accessors in spring-boot-configuration-processor
...
Closes gh-29526
2023-01-18 12:02:34 +01:00
Moritz Halbritter
6c44055fd4
Polish PropertyDescriptorResolver
2023-01-18 12:01:06 +01:00
Moritz Halbritter
9f2ed201b2
Improve error message when start goal can't contact running application
...
Closes gh-24044
2023-01-16 15:58:03 +01:00
Moritz Halbritter
6cec0187c3
Include exception message in condition result when docker is unavailable
...
Closes gh-20582
2023-01-16 14:09:21 +01:00
Andy Wilkinson
3b2e5e5292
Remove references to https://repo.spring.io/release
2023-01-11 17:03:45 +00:00
Phillip Webb
a369f936c9
Replace references to Pivotal
...
Closes gh-33737
2023-01-09 18:09:20 -08:00
Phillip Webb
e4772cf3b7
Update copyright year of changed files
2022-12-22 00:59:32 -08:00
Phillip Webb
5ba52d0000
Polish formatting
2022-12-21 22:53:54 -08:00
Phillip Webb
a2a59dd627
Polish 'Improve gradle plugin tags documentation'
...
See gh-33614
2022-12-21 22:52:27 -08:00
Shekhar Aggarwal
a1df607dd8
Improve gradle plugin tags documentation
...
See gh-33614
2022-12-21 22:50:02 -08:00
Phillip Webb
c205ba0694
Polish 'Improve maven plugin tags documentation'
...
See gh-33609
2022-12-21 22:47:28 -08:00
Shekhar Aggarwal
79557012a7
Improve maven plugin tags documentation
...
See gh-33609
2022-12-21 22:46:42 -08:00
Andy Wilkinson
2da8bc1f3b
Reduce Gradle versions used for compatibility testing
...
Closes gh-33401
2022-11-28 19:14:41 +00:00
Andy Wilkinson
abcbac92ef
Merge branch '2.6.x' into 2.7.x
...
Closes gh-33343
2022-11-24 11:29:24 +00:00
Andy Wilkinson
ebfbf4a412
Stop testing Gradle plugin against Gradle 7.6 RCs
...
Closes gh-33342
2022-11-24 11:23:45 +00:00
Andy Wilkinson
9879538c02
Merge branch '2.6.x' into 2.7.x
...
Closes gh-33268
2022-11-18 17:15:13 +00:00
Andy Wilkinson
e860efca65
Test Gradle plugin against 7.6-rc-3
...
Closes gh-33267
2022-11-18 17:14:29 +00:00
Andy Wilkinson
b1494d4a39
Merge branch '2.6.x' into 2.7.x
...
Closes gh-33084
2022-11-09 10:37:06 +00:00
Andy Wilkinson
6423535f67
Delete temp directory after MavenBuild has exected
...
Closes gh-33083
2022-11-09 10:35:56 +00:00
Andy Wilkinson
00d22c9fc5
Merge branch '2.6.x' into 2.7.x
...
Closes gh-33074
2022-11-08 17:28:50 +00:00
Andy Wilkinson
eed86c0d0a
Test Boot's Gradle plugin against Gradle 7.6-rc-2
...
Closes gh-33073
2022-11-08 16:46:22 +00:00
Andy Wilkinson
7c0f397129
Merge branch '2.6.x' into 2.7.x
...
See gh-33015
2022-11-07 13:36:11 +00:00
Andy Wilkinson
ac6ad7c0f1
Fix ModifiedClassPathExtension with parameterized tests
...
Closes gh-33014
2022-11-07 13:34:54 +00:00
Phillip Webb
b4283d45c5
Merge branch '2.6.x' into 2.7.x
2022-11-05 17:03:02 -07:00
Phillip Webb
d2cceb6b77
Polish
2022-11-05 17:02:57 -07:00
Phillip Webb
2ab1f49442
Merge branch '2.6.x' into 2.7.x
...
Closes gh-33018
2022-11-05 16:35:26 -07:00
Phillip Webb
caf46043c6
Add @DirtiesUrlFactories annotation
...
Add `@DirtiesUrlFactories` annotation that can be used to reset URL
factories.
Closes gh-33017
2022-11-05 16:30:27 -07:00
Phillip Webb
948893f36d
Merge branch '2.6.x' into 2.7.x
...
Closes gh-33015
2022-11-05 16:04:40 -07:00
Phillip Webb
d4cc8fc3a6
Support modified classpath on methods and parameterized tests
...
Update `ModifiedClassPathExtension` and related classes so that
annotations can be used directly on test methods, or on classes
passed into parameterized tests.
Closes gh-33014
2022-11-05 16:04:19 -07:00
Andy Wilkinson
a3870f8da7
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32987
2022-11-03 10:23:30 +00:00
Andy Wilkinson
beb62be843
Test Boot's Gradle plugin against Gradle 7.6-rc-1
...
Closes gh-32933
2022-11-03 10:22:14 +00:00
Phillip Webb
c8676a81de
Merge branch '2.6.x' into 2.7.x
2022-10-25 15:48:04 -07:00
Phillip Webb
d7ac20cd6c
Update copyright year of changed files
2022-10-25 15:47:30 -07:00
Phillip Webb
d8c4aec946
Merge branch '2.6.x' into 2.7.x
2022-10-20 17:04:37 -07:00
Phillip Webb
1a14f39f83
Polish
2022-10-20 17:04:29 -07:00
Andy Wilkinson
3d5c864bc9
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32758
2022-10-17 17:11:59 +01:00
Andy Wilkinson
dade5ec3aa
Test against Gradle 6.9.3
...
Closes gh-32757
2022-10-17 17:11:37 +01:00
Phillip Webb
ed01a77a99
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32681
2022-10-11 23:19:34 -07:00
Phillip Webb
e0c79ce598
Support PEM formatted elliptic-curve TLS keys
...
Update `PrivateKeyParser` to support loading PEM formatted
elliptic-curve keys. We need to do a similar trick to the PKCS1 keys
and convert them to a `PKCS8EncodedKeySpec`.
Fixes gh-32646
2022-10-11 23:18:44 -07:00
Andy Wilkinson
1b604e30f7
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32678
2022-10-11 19:15:33 +01:00
Andy Wilkinson
215eb96355
Improve error handling in SpringBootPlugin
...
Closes gh-32677
2022-10-11 19:15:23 +01:00
Andy Wilkinson
3ef633b096
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32543
2022-09-29 11:39:42 +01:00
Andy Wilkinson
84a25c7dcf
Configure Log4j2 classpath overrides consistently
...
Closes gh-32537
2022-09-29 11:25:21 +01:00
Andy Wilkinson
5124ae94ae
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32499
2022-09-26 13:15:11 +01:00
Andy Wilkinson
cfac7f55a4
Correct annotations on BootBuildImage's file-based inputs
...
Closes gh-32495
2022-09-26 13:13:16 +01:00
Andy Wilkinson
f17df7bf30
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32284
2022-09-09 16:46:43 +01:00
Andy Wilkinson
23c2f73b3f
Update tests to allow them to run on Java 19
...
Closes gh-32280
2022-09-09 16:46:14 +01:00
Andy Wilkinson
144fdaa703
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32283
2022-09-09 15:14:40 +01:00
Andy Wilkinson
78f4242e46
Build with Gradle 7.5 while still supporting Gradle 6.8+
...
Closes gh-32281
2022-09-09 15:13:43 +01:00
Phillip Webb
e88a682220
Merge branch '2.6.x' into 2.7.x
2022-09-08 19:37:52 -07:00
Phillip Webb
85697ac482
Update copyright year of changed files
2022-09-08 19:36:59 -07:00
Scott Frederick
257e236b06
Fix image-building unit tests on Windows
...
See gh-32000
2022-08-24 13:14:39 -05:00
Scott Frederick
c16094e04b
Disable SELinux label security policy when building images
...
When using the Gradle `bootBuildImage` task or Maven
`spring-boot:build-image` goal on a Linux distribution with SELinux
enabled, binding the Docker socket in the builder container might
fail. This commit disables the `label` security policy in the builder
container to prevent this type of failure.
Fixes gh-32000
2022-08-19 13:56:34 -05:00
Phillip Webb
60e1cc510c
Merge branch '2.6.x' into 2.7.x
...
See gh-32085
2022-08-17 12:48:21 -07:00
Phillip Webb
bd74344025
Revert "Don't close jar files early"
...
This reverts commit b42f056ddb
.
2022-08-17 11:38:42 -07:00
Phillip Webb
674022d401
Revert "Don't close nested jars or wrapper when parent is closed"
...
This reverts commit 360eb027be
.
2022-08-17 11:37:19 -07:00
Stephane Nicoll
1c6624db44
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32097
2022-08-17 08:34:38 +02:00
Stephane Nicoll
e94ddfa589
Polish "Explicit error message if source is not an archive"
...
See gh-31997
2022-08-17 08:33:54 +02:00
Nils Hartmann
a0f273a041
Explicit error message if source is not an archive
...
This commit split the existing assertion to provide an explicit error
message if the source file is not an archive.
See gh-31997
2022-08-17 08:30:03 +02:00
Phillip Webb
ef7aac8c14
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32085
2022-08-15 17:59:06 -07:00
Phillip Webb
360eb027be
Don't close nested jars or wrapper when parent is closed
...
Update `JarFile` so that the `close()` method no longer closes nested
jars or the wrapper. Prior to this commit it was possible for a parent
jar file to be garbage collected and closed even though references still
existed to the nested jars. When this happened the nested jars would get
closed and any access to entries would result in `JarFile.ensureOpen()`
throwing an `IllegalStateException`. The user would often not see this
exception directly, but rather find `ClassNotFoundException` being
thrown.
Fixes gh-31853
2022-08-15 17:55:25 -07:00
Andy Wilkinson
9caad3d31b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32059
2022-08-10 12:28:26 +01:00
Andy Wilkinson
c9e69f555e
Test our Gradle plugin against Gradle 7.5.1
...
Closes gh-32058
2022-08-10 12:27:47 +01:00
Andy Wilkinson
012fbb3a57
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31949
2022-08-01 20:51:18 +01:00
Andy Wilkinson
c0daede1aa
Ensure that jarmode jar added to an app has same SHA as published jar
...
Closes gh-31862
2022-08-01 20:49:10 +01:00
Stephane Nicoll
6786659aae
Merge branch '2.6.x' into 2.7.x
2022-07-28 16:07:18 +02:00
Stephane Nicoll
7d860df5f0
Polish
2022-07-28 16:05:16 +02:00
Phillip Webb
fd076ab9ef
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31875
2022-07-26 17:46:20 +01:00
aoyvx
8c93d2e8a7
Ensure PROTOCOL_HANDLER system property is reset
...
See gh-31870
2022-07-26 17:20:55 +01:00
Phillip Webb
a4ef6a7c5c
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31865
2022-07-26 12:13:16 +01:00