Skip to content

Commit

Permalink
Merge pull request #10275 from zugazagoitia/zugazagoitia-patch-1
Browse files Browse the repository at this point in the history
Fix wrong websocket artifact Jetty 12.x docs
  • Loading branch information
joakime authored Aug 9, 2023
2 parents 6bd067c + ed59dff commit 1a9f428
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Jetty's WebSocket APIs are provided by the following Maven artifact:
----
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>websocket-jetty-api</artifactId>
<artifactId>jetty-websocket-jetty-api</artifactId>
<version>{version}</version>
</dependency>
----
Expand All @@ -34,14 +34,14 @@ Jetty's implementation of the Jetty WebSocket APIs is provided by the following
----
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>websocket-jetty-server</artifactId>
<artifactId>jetty-websocket-jetty-server</artifactId>
<version>{version}</version>
</dependency>
----

[NOTE]
====
The `websocket-jetty-api` artifact and the `websocket-jetty-server` artifact (and its transitive dependencies) should be present in the server class-path (or module-path), and never in the web application's `/WEB-INF/lib` directory.
The `jetty-websocket-jetty-api` artifact and the `jetty-websocket-jetty-server` artifact (and its transitive dependencies) should be present in the server class-path (or module-path), and never in the web application's `/WEB-INF/lib` directory.
====

To configure correctly your WebSocket application based on the Jetty WebSocket APIs, you need two steps:
Expand Down

0 comments on commit 1a9f428

Please sign in to comment.