Phillip Webb
a2ac38e203
Update copyright year of changed files
2 years ago
Krzysztof Krason
cf6493f65c
Simplify AssertJ assertions and also make them more readable
...
See gh-33653
2 years ago
Phillip Webb
f588793445
Update copyright year of changed files
2 years ago
Moritz Halbritter
725337f976
Make fields final
...
Closes gh-33537
2 years ago
Moritz Halbritter
c6536c54d8
Write native-image argfile only if there are excludes
...
Refactors duplicate logic in BootZipCopyAction and Packager into
separate classes.
Closes gh-33363
Co-authored-by: Phillip Webb <pwebb@vmware.com>
2 years ago
Phillip Webb
c16c6bc3b5
Fix reachability argfile format
...
Update the argfile to a format that actually works when
passed to the `native-image` command.
See gh-32738
2 years ago
Phillip Webb
8358a0e3f3
Fix reachability-metadata.properties location
...
Update tools to use the correct `reachability-metadata.properties`
location which should include the version number.
See gh-32738
2 years ago
Phillip Webb
071649360b
Generate 'META-INF/native-image/argfile' file for buildpack use
...
Update the Maven and Gradle plugin to generate an `argfile` file
file under `META-INF/native-image` that contains `--exclude-config`
arguments that should be passed when generating a native image.
The contents of the file is generated for each nested jar that has a
`reachability-metadata.properties` file containing 'override=true'.
The `reachability-metadata.properties` file is expected to be generated
by the Graal native build tools plugin.
Closes gh-32738
2 years ago
Phillip Webb
e0b67889a8
Use Stream.toList instead of Stream.collect when possible
...
Update code to make use of `Stream.toList()` whenever possible.
Closes gh-28177
2 years ago
dreis2211
65ef8fc51a
Use ByteArrayOutputStream.toString where possible
...
See gh-32534
2 years ago
dreis2211
f0b4a65546
Avoid usage of StringBuffer where possible
...
See gh-32519
2 years ago
Andy Wilkinson
0bfa9cd704
Upgrade to Logback 1.4 and SLF4J 2.0
...
Closes gh-12649
2 years ago
Andy Wilkinson
8a2cdb9759
Merge branch '2.7.x'
...
Closes gh-31950
2 years ago
Andy Wilkinson
012fbb3a57
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31949
2 years ago
Andy Wilkinson
c0daede1aa
Ensure that jarmode jar added to an app has same SHA as published jar
...
Closes gh-31862
2 years ago
Phillip Webb
7377d85096
Merge branch '2.7.x'
...
Closes gh-31866
2 years ago
Phillip Webb
a4ef6a7c5c
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31865
2 years ago
Phillip Webb
f8412847dc
Update copyright year for "Fix typos in code and documentation"
...
See gh-31734
2 years ago
Marc Wrobel
dbfc6bded4
Fix typos in code and documentation
...
See gh-31734
2 years ago
dreis2211
cc91009b70
Use java.util.HexFormat where appropriate
...
See gh-31477
2 years ago
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
2 years ago
Andy Wilkinson
4bb5ba2bd0
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
935d1264e0
Merge branch '2.6.x' into 2.7.x
3 years ago
Andy Wilkinson
3d203d0215
Polish
3 years ago
Andy Wilkinson
5dfa5adb75
Merge branch '2.7.x'
...
Closes gh-31178
3 years ago
Andy Wilkinson
455ee0ce22
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31177
3 years ago
Andy Wilkinson
ee45fd2fc8
Remove redundant throws declarations from internal APIs
...
Closes gh-31176
3 years ago
Phillip Webb
f8a41d34aa
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
6c4fedb4a4
Revert "Logback 1.3 and SLF4J 2.0"
...
This reverts commit f39a080a0e
that was
pushed prematurely.
3 years ago
Andy Wilkinson
f39a080a0e
Logback 1.3 and SLF4J 2.0
3 years ago
Andy Wilkinson
eacd8c04a5
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
56690a7eb9
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30791
3 years ago
Andy Wilkinson
409ec48e2a
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30790
3 years ago
Andy Wilkinson
193ef9a06d
Package META-INF/services/ files beneath BOOT-INF/classes/
...
Closes gh-30413
3 years ago
Scott Frederick
85ea6a1b8f
Merge branch '2.7.x' into main
3 years ago
Scott Frederick
db6ef0e802
Exclude duplicate properties file when building a jar from jars
...
See gh-29670 and gh-23955
3 years ago
Andy Wilkinson
de3b9a4910
Remove code deprecated for removal in 2.x
...
Closes gh-29482
3 years ago
Phillip Webb
e1c84e2972
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29372
3 years ago
Phillip Webb
72696cdb0f
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29371
3 years ago
Phillip Webb
9cf55808fb
Ensure run user actually exists
...
Update `launch.script` so that the `run_user` variable is only set when
the user actually exists. Prior to this commit, if the jar file was
owned by a non-existing user the startup script could fail.
Fixes gh-29370
3 years ago
Andy Wilkinson
508d0af453
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29269
3 years ago
Andy Wilkinson
a6d8ff4677
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29268
3 years ago
Andy Wilkinson
41b01cc289
Only write parent entries when entry is new
...
Previously, when writing a repackaged jar, an attempt to write all of
an entry's parent directories would always be made, irrespective of
whether or not the entry itself had already been written. This was
inefficient as, due to the way that the jar is written, once an entry
itself has been written, we know that all of its parent directories
will also have been written.
This commit updates the jar writer so that no attempt is made to
write parent directory entries if the entry itself has already been
written.
Fixes gh-29175
3 years ago
Phillip Webb
f3bcbca841
Update copyright year of changed files
3 years ago
Scott Frederick
8f57f0babb
Add classpath index support for exploded war archives
...
Update the Maven and Gradle packaging for war files so that a
`classpath.idx` file is written into the archive that provides the
original order of the classpath, as was previously done for jar files.
The `WarLauncher` class will use this file when running as an exploded
archive to ensure that the classpath order is the same as when running
from the far war.
Fixes gh-19875
3 years ago
Scott Frederick
ab0cc55e20
Merge branch '2.5.x' into 2.6.x
...
Closes gh-28904
3 years ago
Scott Frederick
467c092fdc
Remove classpath index manifest attribute from repackaged war files
...
Fixes gh-28895
3 years ago
Phillip Webb
beb68671bb
Update copyright year of changed files
3 years ago
Phillip Webb
e25f216eab
Merge branch '2.5.x'
...
Closes gh-28425
3 years ago
Phillip Webb
daf36dff55
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28424
3 years ago