Project

General

Profile

maven build with jetty 8

Added by ignazio de iudicibus over 14 years ago

Hi all,

I've just crash into the jwt project finding it with cool enough to give it a try. Being maven3 my personal tool for building webapps, I've tried to port some examples from the jwt source directory towards maven projects. It was not so straightforward since the maven-jetty-plugin (version 8 M1: this means async is supported) changed a lot. Anyway, at least it worked fine for me; so if anyone is interested in developing jwt applications using maven, I've attached to this thread the pom.xml that I used.

Any feedback or knowledge sharing are welcome.

pom.xml (3.79 KB) pom.xml

Replies (2)

RE: maven build with jetty 8 - Added by Koen Deforche over 14 years ago

Hey ignazio,

Thanks for this --- this will certainly be useful for other mavenista.

We haven't yet tried JWt 3.1.6 async features with Jetty 8 M1 --- we have tried with several older development versions of jetty but always ended up filing bugs against jetty with respect to its async implementation...

I would be curious then, did you manage to run the simplechat example successfully using jetty ?

Regards,

koen

RE: maven build with jetty 8 - Added by ignazio de iudicibus over 14 years ago

Hi Koen,

the simplechat example worked fine. The only issue that I had was about loading the simplechat.xml from the resource bundle. The only thing that I might had investigate a little bit more, is about jetty configuration via jetty-web.xml; in fact, in order to make the examples work I had to disable this configuration:







false


since "usingCookies" isn't present for that class. Anyway I kept all other configurations unchanged.

ciao

I

    (1-2/2)