How do I find out Apache Buildr/Maven 2 repo names

半腔热情 提交于 2019-11-27 18:38:27

Is there any standard way of finding repos and searching them for what they have available?

No, there is no directory of repositories (actually, having many repositories kinda defeats the concept of a central and unique repository but I guess that centralizing everything is a bit utopia).

But there are several repository search engines that index the most "famous" one (like central, java.net, codehaus, jboss):

In the particular case of Apache POI, version 3.6 is available in the central repo. To use it, just declare the following dependency:

<dependency>
    <groupId>org.apache.poi</groupId>
    <artifactId>poi</artifactId>
    <version>3.6</version>
</dependency>

To search the repositories try NetBeans. It provides a nice repository browser, where you can add the repositories which you like.

Here are some (see Pascal's for more):

NetBeans also provides autocompletion within the pom.xml for dependencies etc (e.g. to get the latest version) ... but for scala I am not sure if this is useful.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!