diff --git a/jetty-websocket/websocket-jetty-server/pom.xml b/jetty-websocket/websocket-jetty-server/pom.xml
index d984adf0b3c..e31b9bbb7e1 100644
--- a/jetty-websocket/websocket-jetty-server/pom.xml
+++ b/jetty-websocket/websocket-jetty-server/pom.xml
@@ -37,7 +37,7 @@
org.eclipse.jetty
- jetty-annotations
+ jetty-webapp
org.eclipse.jetty
diff --git a/jetty-websocket/websocket-jetty-tests/pom.xml b/jetty-websocket/websocket-jetty-tests/pom.xml
index aa6d3ab6610..b3a7b26ee60 100644
--- a/jetty-websocket/websocket-jetty-tests/pom.xml
+++ b/jetty-websocket/websocket-jetty-tests/pom.xml
@@ -72,6 +72,11 @@
jetty-jmx
test
+
+ org.eclipse.jetty
+ jetty-annotations
+ test
+