diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2023-12-07 19:36:24 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2023-12-07 19:36:24 +0100 |
commit | 04a5ce11203665fe1f03547bcfb6618ec0915c38 (patch) | |
tree | 9d88caa078515cc8647a62ae6ab308f28ec3bb2f /jgvariant-tool/pom.xml | |
parent | ce8df3765e5bad25b8d0db877fe45df6d8ce7915 (diff) |
jgvariant-tool: Create multi-release jars.
This is required because Yasson is a multi-release library. The class
org.eclipse.yasson.internal.ClassMultiReleaseExtension, which adds
record class support for Java 16+, is not available if we do not build
a multi-release jar.
Change-Id: I977a0ad0f7fe0f5a61881ac13f72d5a5280edc95
Diffstat (limited to 'jgvariant-tool/pom.xml')
-rw-r--r-- | jgvariant-tool/pom.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jgvariant-tool/pom.xml b/jgvariant-tool/pom.xml index 60db3f3..9b63a06 100644 --- a/jgvariant-tool/pom.xml +++ b/jgvariant-tool/pom.xml @@ -102,6 +102,9 @@ SPDX-License-Identifier: GPL-3.0-or-later <manifest> <mainClass>eu.mulk.jgvariant.tool.Main</mainClass> </manifest> + <manifestEntries> + <Multi-Release>true</Multi-Release> + </manifestEntries> </archive> </configuration> </plugin> @@ -147,6 +150,9 @@ SPDX-License-Identifier: GPL-3.0-or-later <manifest> <mainClass>eu.mulk.jgvariant.tool.Main</mainClass> </manifest> + <manifestEntries> + <Multi-Release>true</Multi-Release> + </manifestEntries> </archive> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> |