From f01e4f0b2ce5bbda941eff7ac2316d70cbd204e1 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Fri, 8 Mar 2013 17:56:06 +0100 Subject: [PATCH] 402757 - WebSocket client module can't be used with WebSocket server module in the same WAR. Introduced a shaded artifact that relocates the websocket-common classes, so they cannot be shared with the server. The shaded artifact has classifier "hybrid", and users will need to exclude the websocket-common dependency manually when using the classified artifact. --- jetty-websocket/websocket-client/pom.xml | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/jetty-websocket/websocket-client/pom.xml b/jetty-websocket/websocket-client/pom.xml index 6a3561ec2ca..b06b251c330 100644 --- a/jetty-websocket/websocket-client/pom.xml +++ b/jetty-websocket/websocket-client/pom.xml @@ -79,6 +79,34 @@ + + org.apache.maven.plugins + maven-shade-plugin + 2.0 + + + package + + shade + + + true + hybrid + + + org.eclipse.jetty.websocket:websocket-common + + + + + org.eclipse.jetty.websocket.common + org.eclipse.jetty.websocket.client.common + + + + + +