The JavaScriptBody annotation is in fact needed for compilation, but it should not propagate to dependant modules. For example it was causing errors in Jersey's html-json module
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.netbeans.html</groupId>
6 <artifactId>pom</artifactId>
7 <version>0.7-SNAPSHOT</version>
9 <groupId>org.netbeans.html</groupId>
10 <artifactId>ko-ws-tyrus</artifactId>
11 <version>0.7-SNAPSHOT</version>
12 <packaging>bundle</packaging>
13 <name>Tyrus Based WebSockets</name>
14 <url>http://maven.apache.org</url>
18 <groupId>org.apache.maven.plugins</groupId>
19 <artifactId>maven-compiler-plugin</artifactId>
20 <version>2.3.2</version>
27 <groupId>org.apache.felix</groupId>
28 <artifactId>maven-bundle-plugin</artifactId>
31 <groupId>org.apache.maven.plugins</groupId>
32 <artifactId>maven-javadoc-plugin</artifactId>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <bundleSymbolicName>org.netbeans.html.ko-ws-tyrus</bundleSymbolicName>
44 <!-- compile only deps -->
46 <groupId>org.netbeans.api</groupId>
47 <artifactId>org-openide-util-lookup</artifactId>
49 <scope>provided</scope>
52 <!-- compile + runtime -->
54 <groupId>${project.groupId}</groupId>
55 <artifactId>net.java.html</artifactId>
56 <version>${project.version}</version>
60 <groupId>${project.groupId}</groupId>
61 <artifactId>net.java.html.json</artifactId>
62 <version>${project.version}</version>
66 <groupId>de.twentyeleven.skysail</groupId>
67 <artifactId>org.json-osgi</artifactId>
70 <artifactId>javax.websocket-api</artifactId>
71 <groupId>javax.websocket</groupId>
73 <version>1.0</version>
76 <!-- tyrus runtime -->
78 <groupId>org.glassfish.tyrus</groupId>
79 <artifactId>tyrus-client</artifactId>
80 <version>1.2.1</version>
81 <scope>runtime</scope>
84 <groupId>org.glassfish.tyrus</groupId>
85 <artifactId>tyrus-container-grizzly</artifactId>
86 <version>1.2.1</version>
87 <scope>runtime</scope>
92 <!-- test only deps -->
94 <groupId>${project.groupId}</groupId>
95 <artifactId>net.java.html.boot</artifactId>
96 <version>${project.version}</version>
97 <scope>provided</scope>
101 <groupId>${project.groupId}</groupId>
102 <artifactId>net.java.html.json.tck</artifactId>
103 <version>${project.version}</version>
108 <groupId>${project.groupId}</groupId>
109 <artifactId>ko4j</artifactId>
110 <version>${project.version}</version>
115 <groupId>org.glassfish.grizzly</groupId>
116 <artifactId>grizzly-http-server-core</artifactId>
117 <version>2.3.3</version>
122 <groupId>org.glassfish.grizzly</groupId>
123 <artifactId>grizzly-websockets-server</artifactId>
124 <version>2.3.3</version>
129 <groupId>${project.groupId}</groupId>
130 <artifactId>net.java.html.boot.fx</artifactId>
131 <version>${project.version}</version>
135 <groupId>org.glassfish.grizzly</groupId>
136 <artifactId>grizzly-http-server</artifactId>
137 <version>2.3.3</version>
141 <groupId>org.glassfish.grizzly</groupId>
142 <artifactId>grizzly-http-servlet</artifactId>
143 <version>2.3.3</version>
147 <groupId>javax.servlet</groupId>
148 <artifactId>javax.servlet-api</artifactId>
150 <version>3.1.0</version>
153 <description>An implementation module that provides support for WebSocket protocol on JDK7.
154 No need to use it when running on JDK8 with FX WebView supporting WebSocket directly.</description>