如果 Maven 工件不存在于中央存储库中,如何部署它们
如果 rar 工件不存在于存储库中,那么部署 rar 工件的机制是什么。 (例如我想部署 jackrabbit 到我的 j2ee 应用程序,但它不能作为 Maven 存储库的一部分使用。我是否必须将二进制文件本地存储在 SVN 中并使用 antrun 插件来复制它?
What would be the mechanism to deploy rar artifacts if they are not present in the repository. (e.g. I would like to deploy jackrabbit to my j2ee application, but it is not available as part of the maven repositories. Should I have to store the binary locally in SVN and use the antrun plugin to copy it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
然而,您的问题的更具体答案是 Jackrabbit 在中央存储库中可用:
http://repo2.maven.org/maven2/org/apache/jackrabbit/jackrabbit-jca/2.0.0/
您可以将其包含在:
A more specific answer to your question however is that Jackrabbit is available in the central repository:
http://repo2.maven.org/maven2/org/apache/jackrabbit/jackrabbit-jca/2.0.0/
You can include it with:
为此,人们通常会使用企业存储库(例如 Nexus)。如果这不是一个选项,请查看此 之前的答案,了解在版本控制系统中存储依赖项的方法。
One would typically use an enterprise repository (like Nexus) for this. If this is not an option, have a look at this previous answer for a way to store dependencies in your version control system.