Eclipse BIRT 运行时的 Maven 存储库
我正在尝试找到一个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您如何定义您的依赖关系?您具体在寻找什么类型?
查看存储库,它包含 Birt jar 和 poms。如果这是一个标准 Maven 项目,您可以正常声明依赖项。因此,要引用 core-api,您只需要做:
并确保在您的设置或 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:
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.
下面的 Maven 依赖对我来说非常有用。
它适用于 birt 3.7.1,请尝试根据您的需要替换版本。
谢谢
Below maven dependency worked for me perfectly.
It worked for me for birt 3.7.1, try replacing version as per your need.
Thanks