From 5dfcff4cfa59616961bfae797f7e2899175a86f3ef060054135ddd139783aa96 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 18 Oct 2021 20:42:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jetty-minimal?expand=0&rev=41 --- jetty-minimal.spec | 3 +++ jetty-unixsocket.spec | 3 +++ jetty-websocket.spec | 3 +++ 3 files changed, 9 insertions(+) diff --git a/jetty-minimal.spec b/jetty-minimal.spec index 40b44c4..07f4ab9 100644 --- a/jetty-minimal.spec +++ b/jetty-minimal.spec @@ -293,6 +293,9 @@ find . -name "*.class" -exec rm {} \; %pom_disable_module aggregates/jetty-all +%pom_xpath_inject "pom:configuration/pom:instructions" \ +"sun.misc;resolution:=optional,com.sun.nio.file;resolution:=optional,*" + %pom_remove_dep "com.sun.net.httpserver:http" jetty-http-spi %pom_change_dep -r org.mortbay.jasper:apache-jsp org.apache.tomcat:tomcat-jasper diff --git a/jetty-unixsocket.spec b/jetty-unixsocket.spec index 29aab50..15a793e 100644 --- a/jetty-unixsocket.spec +++ b/jetty-unixsocket.spec @@ -82,6 +82,9 @@ find . -name "*.class" -exec rm {} \; %pom_disable_module aggregates/jetty-all +%pom_xpath_inject "pom:configuration/pom:instructions" \ +"sun.misc;resolution:=optional,com.sun.nio.file;resolution:=optional,*" + %pom_remove_dep "com.sun.net.httpserver:http" jetty-http-spi %pom_change_dep -r org.mortbay.jasper:apache-jsp org.apache.tomcat:tomcat-jasper diff --git a/jetty-websocket.spec b/jetty-websocket.spec index aa98c01..5c48288 100644 --- a/jetty-websocket.spec +++ b/jetty-websocket.spec @@ -135,6 +135,9 @@ find . -name "*.class" -exec rm {} \; %pom_disable_module aggregates/jetty-all +%pom_xpath_inject "pom:configuration/pom:instructions" \ +"sun.misc;resolution:=optional,com.sun.nio.file;resolution:=optional,*" + %pom_remove_dep "com.sun.net.httpserver:http" jetty-http-spi %pom_change_dep -r org.mortbay.jasper:apache-jsp org.apache.tomcat:tomcat-jasper