java - net.sf.josql 是什么?在哪里?

标签 java maven activemq

在 Maven Central 中查看这个 pom(以及其他各种 poms): http://repo1.maven.org/maven2/org/apache/activemq/activemq-optional/5.6.0/activemq-optional-5.6.0.pom .

在这些poms中是对net.sf.josql的依赖

<dependency>
  <groupId>net.sf.josql</groupId> 
  <artifactId>josql</artifactId> 
</dependency>
<dependency>
  <groupId>net.sf.josql</groupId> 
  <artifactId>gentlyweb-utils</artifactId> 
</dependency>

当你尝试 http://mvnrepository.com/artifact/net.sf.josql/josql ,它将返回 404。

那么...为什么 maven central 会有一个 pom,其中包含在 maven central 中找不到的依赖项?

事实上,无论是jboss还是maven中央仓库,我都找不到net.sf.josql。

它是什么,我在哪里可以找到它?

最佳答案

来自 Guide to uploading artifacts to the Central Repository :

I have other repositories or pluginRepositories listed in my POM, is that a problem?

At present, this won't preclude your project from being included, but we do strongly encourage making sure all your dependencies are included in Central. If you rely on sketchy repositories that have junk in them or disappear, it just creates havok for downstream users. Try to keep your dependencies among reliable repos like Central, Jboss, etc.

很明显,Apache 希望人们这样做,但他们并没有完全强制执行。

谷歌搜索您的 Artifact ,它似乎托管在这里:http://repo.fusesource.com/maven2/ .您需要将其添加为 POM 或设置文件中的附加存储库(有关 rune ,请参阅 http://maven.apache.org/guides/mini/guide-multiple-repositories.html)。

关于java - net.sf.josql 是什么?在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12938083/

相关文章:

java - 安卓sqlite问题

java - 升级后,得到 "Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test"和 "test(s) <[]> cannot be found"

activemq - 如何调试ActiveMQ客户端?

java - 主题订阅者没有收到消息

java - 保持 spring 上下文 Activity ,直到 JMS 消息被消费

java - 使用android使用openCV进行汽车检测

java - 深复制多维数组

java - 求两个元素之和的最小绝对值

java - appium 的此 session 问题不支持定位器策略 'css selector'

java - 添加依赖项而不是子模块