On Tue, Nov 11, 2014 at 8:48 PM, Niranjan Rao <[email protected]> wrote:
> Another naive question. POM file for wicket-native-websocket-javax > version 7.0.0.-M4 (https://repo1.maven.org/maven2/org/apache/wicket/ > wicket-native-websocket-javax/7.0.0-M4/wicket-native- > websocket-javax-7.0.0-M4.pom) includes jetty dependencies. > > If I am using some other container such as tomcat, do I need to include > these dependencies in the final WAR file? > No. <scope>test</scope>. See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope for more details. > > Regards, > > Niranjan > > > On 11/11/2014 10:16 AM, Niranjan Rao wrote: > >> Martin, >> >> Thanks for the reply. If I understand you correctly I need to do >> following so that I have JSR 356 compliant code which in theory will be >> independent of container. >> >> 1. Use 7.0* version for wicket-native-websocket-javax >> 2. Use maven exclusions so that wicket 7 code is not included. >> >> This was the point that was confusing in the documentation. >> >> I see the new note added in the document. Thank you. >> >> Is it possible to add exclusion information to that note as many people >> are still on 6.* versions and this might be common source of confusion. >> >> Best regards, >> >> Niranjan >> On 11/10/2014 11:29 PM, Martin Grigorov wrote: >> >>> Hi, >>> >>> >>> On Tue, Nov 11, 2014 at 3:02 AM, Niranjan Rao <[email protected]> wrote: >>> >>> Greetings, >>>> >>>> Document at https://wicket.apache.org/guide/guide/nativewebsockets.html >>>> shows maven example. I am assuming that the version in the example is >>>> wicket version. >>>> >>>> However maven repository search does not show jar files for version >>>> 6.18.0 >>>> or any versions in 6.* series. Wicket-native-websocket does show all the >>>> versions at http://search.maven.org/#search|gav|1|g%3A%22org >>>> <http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org>. >>>> apache.wicket%22%20AND%20a%3A%22wicket-native-websocket%22 >>>> <http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org. >>>> apache.wicket%22%20AND%20a%3A%22wicket-native-websocket%22> >>>> >>> >>> http://central.maven.org/maven2/org/apache/wicket/ contains all modules >>> with their experimental (0.x) and stable versions (6.x and 7.x). >>> >>> >>> >>>> Is this documentation problem? Should I be using wicket-native-websocket >>>> and not wicket-native-websocket-javax for jsr 356. >>>> >>>> The module you should use depends on the web container you use (Jetty >>> 7/8, >>> Jetty 9.1, Jetty 9.2+ (javax), Tomcat 7, Tomcat 8+ (javax). >>> >>> >>> Regards, >>>> >>>> Niranjan >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
