Commit Graph

47890 Commits

Author SHA1 Message Date
Moritz Halbritter
793aca60d2 Implement extract and list-layers command
Adds a new jarmode called 'tools'. This provides two commands,
'extract' and 'list-layers'. list-layers is the same as list from
the layertools.

extract is able to extract the JAR in four different modes:

- CDS compatible extraction with libraries in a lib folder and a runner
.jar
- CDS compatible as above, but with layers
- Launcher based
- Launcher based with layers. This is essentially the same as extract
  from the layertools

The commands in layertools have been deprecated in favor of the commands
in 'tools'.

This also changes the behavior of layers.enabled from the Gradle and
Maven plugin: before this commit, layers.enabled prevents the inclusion
of the layer index file as well as the layertools JAR.
After this commit, layers.enabled only prevents the inclusion of the
layer index file.

layer.includeLayerTools have been deprecated in favor of includeTools,
and the layertools JAR has been renamed to tools.

Closes gh-38276
2024-03-07 13:34:13 +01:00
Andy Wilkinson
2c4fb5baaa Merge branch '3.2.x' 2024-03-04 11:21:45 +00:00
Andy Wilkinson
0f6b3514db Update LoaderIntegrationTests to cover Java 22
See gh-39746
2024-03-04 11:21:19 +00:00
Andy Wilkinson
6621f99365 Merge branch '3.2.x' 2024-03-04 10:34:10 +00:00
Andy Wilkinson
b8a6cab716 Don't pass -ea suffix into Gradle as the toolchain version
See gh-39746
2024-03-04 10:33:17 +00:00
Andy Wilkinson
cc4d6924d0 Merge branch '3.2.x' 2024-03-04 10:28:07 +00:00
Andy Wilkinson
f673e09cf5 Merge branch '3.2.x'
Closes gh-39827
2024-03-04 10:27:45 +00:00
Andy Wilkinson
e96460a20b Fix Java 22 CI
See gh-39746
2024-03-04 10:25:13 +00:00
Andy Wilkinson
e8acbc1fba Add TWENTY_TWO to JavaVersion enum
Closes gh-39825
2024-03-04 10:15:59 +00:00
Andy Wilkinson
5c6140f858 Merge branch '3.2.x'
Closes gh-39824
2024-03-04 10:08:06 +00:00
Andy Wilkinson
8efdc1e46d Add CI for Java 22
Closes gh-39746
2024-03-04 10:07:28 +00:00
Moritz Halbritter
2f99c19f11 Revert "Configure virtual threads on Undertow if enabled"
This reverts commit cff1b33f8e.

See gh-38819

Closes gh-39812
2024-03-04 09:46:14 +01:00
Andy Wilkinson
40a7027707 Merge branch '3.2.x' 2024-03-01 10:25:42 +00:00
Andy Wilkinson
753bbf4785 Register new Logback converter for reflection in a native image
See gh-39564
2024-03-01 10:25:09 +00:00
Andy Wilkinson
1130ec54a9 Merge branch '3.2.x' 2024-02-29 21:26:06 +00:00
Andy Wilkinson
3ba9478e2c Merge branch '3.1.x' into 3.2.x 2024-02-29 21:25:56 +00:00
Andy Wilkinson
1c8de17667 Use larger Linux runner
See gh-39805
2024-02-29 21:25:38 +00:00
Andy Wilkinson
0cb50b1029 Merge branch '3.2.x' 2024-02-29 21:08:32 +00:00
Andy Wilkinson
8b209e9df8 Merge branch '3.1.x' into 3.2.x 2024-02-29 21:08:23 +00:00
Andy Wilkinson
33db600af1 Polish CI notification message
See gh-39805
2024-02-29 21:08:09 +00:00
Andy Wilkinson
ace403880c Merge branch '3.2.x' 2024-02-29 21:00:54 +00:00
Andy Wilkinson
53c0c7a96d Merge branch '3.1.x' into 3.2.x 2024-02-29 21:00:46 +00:00
Andy Wilkinson
f59a7b45ff Polish 2024-02-29 21:00:36 +00:00
Andy Wilkinson
53503f734f Merge branch '3.2.x'
Closes gh-39807
2024-02-29 20:58:14 +00:00
Andy Wilkinson
6f7ae4d8ae Merge branch '3.1.x' into 3.2.x
Closes gh-39806
2024-02-29 20:58:01 +00:00
Andy Wilkinson
34fe89981e Expand GitHub actions CI to Linux and multiple Java versions
Closes gh-39805
2024-02-29 20:54:30 +00:00
Andy Wilkinson
83f9e45491 Merge branch '3.2.x'
Closes gh-39802
2024-02-29 15:55:33 +00:00
Andy Wilkinson
ba3602b8b7 Fix handling of application names containing parenthesis
Closes gh-39564
2024-02-29 15:55:11 +00:00
Moritz Halbritter
b74d134cc0 Merge branch '3.2.x' 2024-02-29 15:30:29 +01:00
Eddú Meléndez
244f7c595c Remove redpanda image compatibility
Testcontainers added redpandadata/redpanda as valid image

Closes gh-39801
2024-02-29 15:30:12 +01:00
Moritz Halbritter
fd465a0b80 Merge pull request #39776 from eddumelendez
* pr/39776:
  Remove redpanda image compatibility

Closes gh-39776
2024-02-29 11:53:20 +01:00
Eddú Meléndez
2e908298e5 Remove redpanda image compatibility
Testcontainers added redpandadata/redpanda as valid image

See gh-39776
2024-02-29 11:52:56 +01:00
Andy Wilkinson
70769d9377 Merge branch '3.2.x'
Closes gh-39794
2024-02-28 17:20:00 +00:00
Andy Wilkinson
306d52db77 Merge branch '3.1.x' into 3.2.x
Closes gh-39793
2024-02-28 17:19:46 +00:00
Andy Wilkinson
16b6400bdf Improve BuildpackReference's handling of URL-like strings on Windows
Closes gh-39792
2024-02-28 17:15:02 +00:00
Moritz Halbritter
e6a0202f55 Disable test on AARCH64 2024-02-28 17:59:47 +01:00
Andy Wilkinson
e9d2c773b7 Merge branch '3.2.x'
Closes gh-39790
2024-02-28 15:06:49 +00:00
Andy Wilkinson
730a81c4a8 Merge branch '3.1.x' into 3.2.x
Closes gh-39789
2024-02-28 15:06:35 +00:00
Andy Wilkinson
dd38fb8b65 Limit wait time when checking process's availability
Closes gh-39788
2024-02-28 15:04:08 +00:00
Andy Wilkinson
614aecb7bb Merge branch '3.2.x' 2024-02-28 12:35:49 +00:00
Andy Wilkinson
844218a4ef Merge branch '3.1.x' into 3.2.x 2024-02-28 12:35:28 +00:00
Andy Wilkinson
b29e76b07d Try using Powershell on Windows to fix permissions problem
See gh-39761
2024-02-28 12:35:16 +00:00
Moritz Halbritter
428e705cbc Merge branch '3.2.x'
Closes gh-39787
2024-02-28 13:18:30 +01:00
Moritz Halbritter
256cdcd51b Merge branch '3.1.x' into 3.2.x
Closes gh-39786
2024-02-28 13:18:24 +01:00
Moritz Halbritter
29e37a5305 Merge pull request #39403 from timgrohmann
* pr/39403:
  Allow creation of SpringProfileArbiter without Environment

Closes gh-39403
2024-02-28 13:18:02 +01:00
Tim Grohmann
bd6edeaa94 Allow creation of SpringProfileArbiter without Environment
See gh-39403
2024-02-28 13:07:43 +01:00
Moritz Halbritter
473132d349 Merge pull request #39606 from TheSnoozer
* pr/39606:
  Change dateformat for git-commit-id-maven-plugin

Closes gh-39606
2024-02-28 13:04:34 +01:00
TheSnoozer
0fd720a87f Change dateformat for git-commit-id-maven-plugin
Old formmat: yyyy-MM-dd'T'HH:mm:ssZ, RFC 822
New format:  yyyy-MM-dd'T'HH:mm:ssXXX ISO 8601

Related to https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/674.

This change is required to make the times produced by the
git-commit-id-maven-plugin usable for Maven's reproducible builds,
see https://maven.apache.org/guides/mini/guide-reproducible-builds.html.

Timestamp for reproducible output archive entries must either formatted
as ISO 8601 or as an int representing seconds since the epoch.

Example usage might be

   <properties>
     <project.build.outputTimestamp>${git.commit.time}</project.build.outputTimestamp>
   </properties>

See gh-39606
2024-02-28 13:01:44 +01:00
Moritz Halbritter
7799d90e6a Merge branch '3.2.x'
Closes gh-39785
2024-02-28 13:00:50 +01:00
Moritz Halbritter
28e7f1d4a4 Merge branch '3.1.x' into 3.2.x
Closes gh-39784
2024-02-28 13:00:36 +01:00