JQuery Availability on Maven Repositories

Joe Wood picture Joe Wood · Nov 29, 2011 · Viewed 12.2k times · Source

I noticed that there are a few Maven plugins for Eclipse that support JavaScript development. The problem with using these is that I cannot find any JavaScript artifacts in Maven Central Repository. Specifically, I was looking for JQuery.

Is there a dedicated Maven repository for JavaScript?

Thanks

Answer

David Roussel picture David Roussel · Jan 31, 2013

Try webjars. http://www.webjars.org/

It has all the major libraries, plus it's in github, so you can fork your own versions if you really need to.

It should work well with a servlet 3 spec container with meta data scanning. But I use https://github.com/bazaarvoice/dropwizard-webjars-resource/ to serve it explicitly, since I'm using JAX-RS (using Jersey).