From 082f4a9786cec85ec5371e7423540abe305ab5a4 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sat, 9 Apr 2022 22:56:20 +0200 Subject: [PATCH] Fix jakarta activation --- telegrambots/pom.xml | 4 ++++ telegrambots/src/main/java/module-info.java | 1 + 2 files changed, 5 insertions(+) diff --git a/telegrambots/pom.xml b/telegrambots/pom.xml index 7773fa3f..3f98ee3e 100644 --- a/telegrambots/pom.xml +++ b/telegrambots/pom.xml @@ -130,6 +130,10 @@ jakarta.xml.bind jakarta.xml.bind-api + + com.sun.activation + jakarta.activation + diff --git a/telegrambots/src/main/java/module-info.java b/telegrambots/src/main/java/module-info.java index 319e582c..8e9ab4f8 100644 --- a/telegrambots/src/main/java/module-info.java +++ b/telegrambots/src/main/java/module-info.java @@ -21,6 +21,7 @@ module telegrambots { requires jersey.common; requires com.google.common; requires jakarta.annotation; + requires jakarta.activation; requires jakarta.xml.bind; requires jakarta.ws.rs;