org.eclipse.jetty.websocket websocket-parent 9.3.28-SNAPSHOT 4.0.0 websocket-client Jetty :: Websocket :: Client ${project.groupId}.client org.eclipse.jetty jetty-util ${project.version} org.eclipse.jetty jetty-io ${project.version} org.eclipse.jetty.websocket websocket-common ${project.version} org.eclipse.jetty.websocket websocket-common ${project.version} tests test org.eclipse.jetty.toolchain jetty-test-helper test org.apache.maven.plugins maven-enforcer-plugin ban-java-servlet-api enforce javax.servlet servletapi org.eclipse.jetty.orbit:javax.servlet org.mortbay.jetty:servlet-api jetty:servlet-api true The servlet-api dependency is banned in websocket-client as it causes problems in apps that use client only. org.apache.maven.plugins maven-jar-plugin tests-jar test-jar 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