Maven存储库上的JQuery可用性 [英] JQuery Availability on Maven Repositories
问题描述
我注意到Eclipse中有一些支持JavaScript开发的Maven插件。使用它们的问题是我在Maven Central Repository中找不到任何JavaScript工件。具体来说,我一直在寻找JQuery。
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.
是否有适用于JavaScript的专用Maven存储库?
Is there a dedicated Maven repository for JavaScript?
谢谢
推荐答案
尝试使用webjars。 http://www.webjars.org/
Try webjars. http://www.webjars.org/
它拥有全部主要的库,加上它在github中,所以如果你真的需要,你可以分叉你自己的版本。
It has all the major libraries, plus it's in github, so you can fork your own versions if you really need to.
它应该适用于带有元数据扫描的servlet 3规范容器。但我使用 https://github.com/bazaarvoice/dropwizard-webjars-resource/ 明确地提供服务因为我正在使用JAX-RS(使用Jersey)。
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).
这篇关于Maven存储库上的JQuery可用性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!