QPid 的 Maven 存储库

发布于 2024-10-04 22:01:27 字数 334 浏览 7 评论 0原文

我正在尝试使用 QPid 作为 JMS 提供程序。 Maven 用作构建工具。我无法找到包含 QPid 的 Maven 存储库,因此我的构建失败。

问题

  1. 有人知道包含 qpid 的 mvn 存储库吗?
  2. 有解决方法吗?我已经下载了所有 JAR 文件并尝试将它们放在 .m2/repository/org/apache/qpid/qpid-common/0.6 下 和 .m2/repository/org/apache/qpid/qpid-client/0.6

但构建仍然失败。我相信我对 Maven 的了解还不够多,无法解决这个问题。 那么,解决办法是什么呢?

I am trying to use QPid as a JMS provider. Maven is used as a build tool. I cannot locate maven repository that contains QPid, so my build fails.

Questions

  1. does somebody know mvn repository that contains qpid?
  2. Is there a work-around? I have downloaded all JAR files and tried just to put them under .m2/repository/org/apache/qpid/qpid-common/0.6
    and
    .m2/repository/org/apache/qpid/qpid-client/0.6

But the build still fails. I believe I do not know maven enough to work on it.
So, what is the solution?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

如此安好 2024-10-11 22:01:27
伤感在游骋 2024-10-11 22:01:27

在此邮件列表发布< /a> Emmanuel Bourg 说他为 qpid 项目运行了一个非官方的 Maven 存储库,网址为:

http:// /people.apache.org/~ebourg/qpid/maven/

然而,这些都是有效的(如果不是现实中的)快照版本,并且依赖其他人发布的快照存在风险。 (由于 maven 刚刚为您下载的快照中出现了一些错误,您的代码可能会自发中断。)

请注意,您应该能够手动将 POM 和 JAR 文件添加到您的 .m2/repository 树,但必须严格遵循命名规则。 mvn 命令提供了一种更好的方法来执行此操作 使用安装插件

In this mailing list posting Emmanuel Bourg says he runs an unofficial maven repo for the qpid project at:

http://people.apache.org/~ebourg/qpid/maven/

However, these are effectively (if not in reality) snapshot releases, and there are risks in depending on snapshots published by someone else. (Your code may break spontaneously due to some bug that has appeared in the snapshot that maven has just downloaded for you.)

Note that you should be able to manually add the POM and JAR files to your .m2/repository tree, but you have to follow the naming rules exactly. The mvn command provides a better way to do this using the install plugin.

亣腦蒛氧 2024-10-11 22:01:27

现在看来,在这个问题提出多年之后,QPid 已经可以在 Maven Central 上使用了。这是经纪人的坐标...

    <dependency>
        <groupId>org.apache.qpid</groupId>
        <artifactId>qpid-broker</artifactId>
        <version>6.1.2</version>
        <scope>test</scope>
    </dependency>

这里是 Maven Central 列出了 QPid 的所有模块。

It seems that now, years after this question had been asked, QPid is available on Maven Central. Here's the coordinates of the broker...

    <dependency>
        <groupId>org.apache.qpid</groupId>
        <artifactId>qpid-broker</artifactId>
        <version>6.1.2</version>
        <scope>test</scope>
    </dependency>

Here the page on Maven Central listing all the modules QPid is made of.

断念 2024-10-11 22:01:27

从版本 0.10 开始的 Qpid 工件现在可以从中央存储库获取。

http://search.maven.org/ #search|ga|1|g%3A%22org.apache.qpid%22

The Qpid artifacts starting with version 0.10 are now available from the central repository.

http://search.maven.org/#search|ga|1|g%3A%22org.apache.qpid%22

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文