From 5ae6f5462aba839914504646218c0f46b8299ad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Cocula?= Date: Sun, 11 Dec 2016 22:23:22 +0100 Subject: [PATCH] Clean up dependencies --- libresonic-main/pom.xml | 41 ++----------------- .../org/libresonic/player/TestServer.java | 20 --------- 2 files changed, 4 insertions(+), 57 deletions(-) delete mode 100644 libresonic-main/src/main/java/org/libresonic/player/TestServer.java diff --git a/libresonic-main/pom.xml b/libresonic-main/pom.xml index 95dabbaf..9d7c92f4 100644 --- a/libresonic-main/pom.xml +++ b/libresonic-main/pom.xml @@ -18,34 +18,6 @@ - - - org.mortbay.jetty - jetty - 6.1.5 - - - - org.mortbay.jetty - jetty-embedded - 6.1.5 - - - javax.servlet.jsp - jsp-api - - - - - - org.mortbay.jetty - jsp-2.0 - 6.1.5 - pom - - - - org.libresonic.player libresonic-rest-api @@ -360,33 +332,28 @@ org.apache.cxf - cxf-rt-frontend-jaxws + cxf-core ${cxf.version} org.apache.cxf - cxf-rt-bindings-soap + cxf-rt-frontend-jaxws ${cxf.version} org.apache.cxf - cxf-rt-databinding-jaxb + cxf-rt-bindings-soap ${cxf.version} org.apache.cxf - cxf-api + cxf-rt-databinding-jaxb ${cxf.version} - - org.apache.cxf - cxf-common-utilities - ${cxf.version} - diff --git a/libresonic-main/src/main/java/org/libresonic/player/TestServer.java b/libresonic-main/src/main/java/org/libresonic/player/TestServer.java deleted file mode 100644 index eab79fb8..00000000 --- a/libresonic-main/src/main/java/org/libresonic/player/TestServer.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.libresonic.player; - -import org.mortbay.jetty.Server; -import org.mortbay.jetty.webapp.WebAppContext; - -public class TestServer { - - public static void main(String[] args) throws Exception { - Server server = new Server(8080); - WebAppContext webapp = new WebAppContext(); - webapp.setContextPath("/libresonic"); - String baseDir = TestServer.class.getResource("/" + TestServer.class.getName().replaceAll("\\.", "/") + ".class").getFile(); - baseDir = baseDir.substring(0,baseDir.indexOf("/target")); - webapp.setWar(baseDir + "/src/main/webapp"); - server.setHandler(webapp); - server.setAttribute("reload", "automatic"); - server.start(); - server.join(); - } -} \ No newline at end of file