Moritz Halbritter
8df899b510
Merge branch '3.1.x' into 3.2.x
...
Closes gh-40427
2024-04-18 11:59:50 +02:00
Moritz Halbritter
3479304e13
Disable creation time verification on Linux
...
Closes gh-40423
2024-04-18 11:58:46 +02:00
Andy Wilkinson
a42a8ce620
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39305
2024-01-25 13:31:59 +00:00
Andy Wilkinson
a6d1788be3
Tolerate OS and Java version differences in ExtractCommandTests
...
Co-Authored-By: Moritz Halbritter <moritz.halbritter@broadcom.com>
Closes gh-39303
2024-01-25 13:31:42 +00:00
Andy Wilkinson
7087897507
Merge branch '3.1.x' into 3.2.x
...
Closes gh-39091
2024-01-11 10:33:57 +00:00
Andy Wilkinson
45c32854a5
Fix Checkstyle upgrade
...
Closes gh-38746
2024-01-10 15:37:38 +00:00
Phillip Webb
5354ad15b3
Merge branch '3.1.x'
...
Closes gh-38877
2023-12-19 22:51:48 -08:00
Yanming Zhou
b6e87cee35
Remove unnecessary extends Object
from generic
...
See gh-38739
2023-12-19 22:38:19 -08:00
Andy Wilkinson
af495b2dc0
Merge branch '3.1.x'
...
Closes gh-37546
2023-09-22 16:26:48 +01:00
Andy Wilkinson
333820627f
Merge branch '2.7.x' into 3.0.x
...
Closes gh-37544
2023-09-22 16:26:21 +01:00
Eric Haag
a2be276dd8
Mock working directory for extract test
...
Prior to this change, this test would create files in the project
directory. This can cause issues with Gradle caching and up-to-date
checks.
To address this, the value of the working directory is mocked to a
temporary directory like all the other tests.
See gh-37395
2023-09-22 16:24:49 +01:00
Moritz Halbritter
ed9169501e
Polish
2023-08-08 13:12:47 +02:00
Phillip Webb
d442bfbeff
Polish
2023-04-10 16:22:11 -07:00
Phillip Webb
c4de86c244
Merge branch '2.7.x' into 3.0.x
2023-02-21 23:17:57 -08:00
Phillip Webb
df5898a146
Reformat code following spring-javaformat upgrade
2023-02-21 22:53:27 -08:00
Phillip Webb
a2ac38e203
Update copyright year of changed files
2023-01-09 15:46:07 -08:00
Krzysztof Krason
cf6493f65c
Simplify AssertJ assertions and also make them more readable
...
See gh-33653
2023-01-09 11:10:20 +01:00
Phillip Webb
f588793445
Update copyright year of changed files
2022-12-22 01:00:42 -08:00
Moritz Halbritter
725337f976
Make fields final
...
Closes gh-33537
2022-12-16 14:28:44 +01:00
Stephane Nicoll
2e3c3efd44
Merge branch '2.7.x'
...
Closes gh-32098
2022-08-17 08:34:52 +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
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
2022-06-20 17:55:36 +01:00
Andy Wilkinson
ff3eed73ee
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28190
2021-10-04 10:21:49 +01:00
Andy Wilkinson
b7a2a2d5e0
Set last access and last modified times in layertools extract
...
Closes gh-28167
2021-10-04 10:17:11 +01:00
weixsun
8a2be288a3
Remove unnecessary throws declaration in tests
...
See gh-26441
2021-05-17 09:31:51 +02:00
Andy Wilkinson
2b7f23b29d
Merge branch '2.4.x'
...
Closes gh-25509
2021-03-05 10:44:24 +00:00
Andy Wilkinson
ac258a95a2
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25508
2021-03-05 10:39:52 +00:00
Andy Wilkinson
c6ca7a53ab
Polish "Prevent extracting zip entries outside of destination path"
...
See gh-25505
2021-03-05 10:13:32 +00:00
trungPa
2993e68715
Prevent extracting zip entries outside of destination path
...
See gh-25505
2021-03-05 10:12:06 +00:00
Madhura Bhave
82ac7eef91
Update tests following code changes
...
See gh-22821
2021-01-28 14:24:18 -08:00
Madhura Bhave
9a32f67802
Fix formatting
2021-01-28 13:38:30 -08:00
Madhura Bhave
152698f2b2
Add support for creating layered war files with Maven
...
See gh-22821
2021-01-28 12:39:19 -08:00
Phillip Webb
bb57c7eacf
Merge branch '2.3.x'
2020-08-19 10:26:25 -07:00
Phillip Webb
8722c2c5de
Close writer after use in ExtractCommandTests
...
Update `ExtractCommandTests` so that the writer is closed after the
contents have been written.
See gh-22993
2020-08-19 10:25:37 -07:00
Scott Frederick
341615d7d0
Merge branch '2.3.x'
...
Closes gh-23000
2020-08-18 17:07:25 -05:00
Scott Frederick
3f80638a36
Fail on layertools extract with launch script
...
This commit adds a check to the `layertools extract` command to
ensure that the jar file being processed is readable and has a
valid directory.
Fixes gh-22993
2020-08-18 17:06:31 -05:00
Andy Wilkinson
969dd35e45
Upgrade to Mockito 3.4.6
...
Closes gh-22838
2020-08-10 15:22:03 +01:00
Stephane Nicoll
dac63fc3e5
Polish
2020-08-06 17:35:01 +02:00
Scott Frederick
9a083584b8
Improve validation of layertools input
...
This commit improves the validation performed on the user
input provided to the layertools jarmode to provide more
clear error messages when the input is not correct and
reduce the chance of ambiguity.
Fixes gh-22042
2020-06-26 11:51:07 -05:00
Andy Wilkinson
de1e3c6069
Include empty layers when listing and extracting
...
Fixes gh-21301
2020-05-04 15:50:55 +01:00
Phillip Webb
ad1248e4ec
Replace "folder" with "directory"
...
Consistently use the term "directory" instead of "folder"
Closes gh-21218
2020-04-28 19:20:24 -07:00
dreis2211
5eb5bf0a2d
Polish
...
See gh-21009
2020-04-25 08:54:47 +02:00
Madhura Bhave
62c09d607a
Polish
2020-04-07 14:28:36 -07:00
Phillip Webb
d3c06ee0cf
Remove windows line endings when parsing index
2020-04-06 21:57:36 -07:00
Phillip Webb
4b1346f4bf
Polish
2020-04-06 21:52:25 -07:00
Phillip Webb
951a3e78f9
Test layer index can contain filenames with spaces
...
Add tests to ensure that the layer index can support filenames that
contain spaces.
Closes gh-20827
2020-04-06 19:18:22 -07:00
Phillip Webb
65672a1150
Use a more compact layers.idx format
...
Update the `layers.idx` format so that it is more compact and can be
parsed by third-parties as YAML.
Closes gh-20860
2020-04-06 19:18:22 -07:00
Madhura Bhave
d61a79d90b
Support flat jar layering with layertools
...
Update layertools to support the flat jar format. Layers are now
determined by reading the `layers.idx` file.
Closes gh-20813
2020-04-03 00:34:27 -07:00
Andy Wilkinson
14718f3e8a
Allow layertools to work without spring-boot jar
...
Update `spring-boot-jarmode-layertools` so that it no longer required
a `spring-boot` jar to run.
Closes gh-20815
2020-04-03 00:01:38 -07:00