Eclipse BIRT 运行时的 Maven 存储库

发布于 2024-08-02 07:32:41 字数 504 浏览 3 评论 0原文

我正在尝试找到一个 Maven 存储库,以允许我将 BIRT 报告依赖项添加到 Eclipse Dynamic Web 项目。

我发现的最接近的是 http://repository.jboss.org/maven2/org /eclipse/birt/,但是当该存储库添加到 m2eclipse 索引时,找不到 BIRT 工件。根据 http://dev.eclipse.org/newslists/news .eclipse.technology.m2e/msg00389.html (我不是该帖子的作者,那只是我的存储库链接的来源)

我正在使用或尝试使用 BIRT 2.3.2

I'm trying to find a maven repo to allow me to add BIRT reporting dependencies to a Eclipse Dynamic Web project.

The closest I've found is http://repository.jboss.org/maven2/org/eclipse/birt/, but when that repo is added to the m2eclipse indexes, the BIRT artifacts are not found. As per http://dev.eclipse.org/newslists/news.eclipse.technology.m2e/msg00389.html (I'm not the author of the post there, that was just my source for the repo link)

I'm using, or trying to, BIRT 2.3.2

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

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

发布评论

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

评论(2

一萌ing 2024-08-09 07:32:41

您如何定义您的依赖关系?您具体在寻找什么类型?

查看存储库,它包含 Birt jar 和 poms。如果这是一个标准 Maven 项目,您可以正常声明依赖项。因此,要引用 core-api,您只需要做:

<dependency>
  <groupId>org.eclipse.birt</groupId>
  <artifactId>coreapi</artifactId>
  <version>2.3.2</version>
</dependency>

并确保在您的设置或 POM 中正确配置存储库。

您可以发布您的 POM 和构建的跟踪吗?它可能有助于诊断问题。

更新:根据您的评论,问题似乎是 JBoss Nexus 索引上没有 Birt 项目。该索引和 Birt 的两个版本(2.3.2 和 2.2.2 的所有工件)的日期都是 7 月 8 日,并且该索引仅晚了 83 分钟。

Nexus 索引的创建是不是自动的,所以也许索引器在 Birt 工件部署之前运行,然后发布。

How are you defining your dependencies? and what types specifically are you looking for?

Looking at the repository, it contains the Birt jars and poms. If this is a standard Maven project you are able to declare the dependency as normal. So to reference core-api you should just have to do:

<dependency>
  <groupId>org.eclipse.birt</groupId>
  <artifactId>coreapi</artifactId>
  <version>2.3.2</version>
</dependency>

and ensure the repository is configured correctly in your settings or POM.

Can you post your POM and the trace from the build? it might help diagnose the problem.

Update: Based on your comment, it looks like the issue is that the JBoss Nexus index does not have the Birt projects on it. The dates for the index and both versions of Birt (all artifacts for 2.3.2 and 2.2.2) are both 8th July, and the index is only 83 minutes younger.

Creation of the Nexus index is not automatic, so perhaps the indexer was run before the Birt artifacts were deployed and then published afterwards.

灼痛 2024-08-09 07:32:41

下面的 Maven 依赖对我来说非常有用。

    <repositories>
       <repository>
          <id>sonatype-nexus-releases</id>
          <name>Sonatype Nexus Releases</name>
          <url>https://oss.sonatype.org/content/repositories/releases/</url>
       </repository>
     </repositories>

它适用于 birt 3.7.1,请尝试根据您的需要替换版本。

谢谢

Below maven dependency worked for me perfectly.

    <repositories>
       <repository>
          <id>sonatype-nexus-releases</id>
          <name>Sonatype Nexus Releases</name>
          <url>https://oss.sonatype.org/content/repositories/releases/</url>
       </repository>
     </repositories>

It worked for me for birt 3.7.1, try replacing version as per your need.

Thanks

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