Gili,
jersey-test should run without any issues under Maven, when you invoke
the package goal which creates the war file.
May be you can refer the jmaki-backend jersey sample, which has some
Provider classes. The test which runs on the Grizzly web container does run
without any issue. BTW, which test container are you trying this with? Did
you try that with the grizzly web test container?
- Naresh
On Mon, Mar 21, 2011 at 9:21 AM, Gili <cowwoc_at_bbs.darktech.org> wrote:
> Has anyone managed to get jersey-test to run under Maven?
>
> By default, the Maven test plugin runs before the WAR file (and jersey
> dependencies) are copied into the target directory. As such, when the tests
> run, Jersey is unable to find any provider classes. What do you recommend?
>
> Thanks,
> Gili
>
> --
> View this message in context:
> http://jersey.576304.n2.nabble.com/Running-jersey-test-under-Maven-tp6191134p6191134.html
> Sent from the Jersey mailing list archive at Nabble.com.
>