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