Issue #4447 - separate modules for jetty and javax websockets

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2020-01-31 15:58:20 +11:00
parent 1b10e2330e
commit a7c0c57496
3 changed files with 40 additions and 4 deletions

View File

@ -0,0 +1,11 @@
DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html
[description]
Enable both jetty and javax websocket modules for deployed web applications.
[tags]
websocket
[depend]
websocket-jetty
websocket-javax

View File

@ -1,16 +1,20 @@
DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html
[description]
Enable websockets for deployed web applications
Enable javax.websocket for deployed web applications.
[tags]
websocket
[depend]
# websocket client needs jetty-client
client
# javax.websocket needs annotations
annotations
[lib]
lib/websocket/*.jar
lib/websocket/websocket-core-${jetty.version}.jar
lib/websocket/websocket-servlet-${jetty.version}.jar
lib/websocket/jetty-javax-websocket-api-${websocket.api.version}.jar
lib/websocket/websocket-javax-*.jar
[jpms]
# The implementation needs to access method handles in

View File

@ -0,0 +1,21 @@
DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html
[description]
Enable jetty websocket for deployed web applications.
[tags]
websocket
[depend]
client
annotations
[lib]
lib/websocket/websocket-core-${jetty.version}.jar
lib/websocket/websocket-servlet-${jetty.version}.jar
lib/websocket/websocket-jetty-*.jar
[jpms]
# The implementation needs to access method handles in
# classes that are in the web application classloader.
add-reads: org.eclipse.jetty.websocket.common=ALL-UNNAMED