ayaports/user/papermc-plugin-vault/2022cb0_support-newer-jdk-for-building.patch
Antoine Martin 56a29dc807
All checks were successful
/ lint (pull_request) Successful in 32s
/ deploy-x86_64 (pull_request) Successful in 40s
/ build-x86_64 (pull_request) Successful in 1m9s
/ deploy-aarch64 (pull_request) Successful in 56s
/ build-aarch64 (pull_request) Successful in 2m41s
user/papermc-plugin-vault: new aport
2024-12-24 14:05:52 -05:00

33 lines
1 KiB
Diff

From 2022cb08922caa42aa77faca254c9b7d7506bee8 Mon Sep 17 00:00:00 2001
From: Geolykt <admin@geolykt.de>
Date: Mon, 27 Jun 2022 12:02:49 +0200
Subject: [PATCH] Support newer JDKs for building
Apparently the ancient version of lombok used
by a dependency is not compatible with newer
versions of java. As Vault proper did not make
use of lombok, it can be safely removed without
declaring an alternative.
This commit allows Vault to build under Java 17.
---
pom.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pom.xml b/pom.xml
index 5b8a6dfd..17c189fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -324,6 +324,12 @@ Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms
<artifactId>craftconomy3</artifactId>
<version>3.2.2-SNAPSHOT</version>
<optional>true</optional>
+ <exclusions>
+ <exclusion>
+ <groupId>org.projectlombok</groupId>
+ <artifactId>lombok</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>net.crystalyx.bukkit.simplyperms</groupId>