在 Maven 存储库中哪里可以找到 EMF 工件
我们在 Eclipse 之外使用 EMF 进行开发,因此使用 Maven 进行构建。我的问题是在哪里可以找到 EMF 工件,如果可以找到哪个版本。
BTW 是否有任何工具可以自动将 Eclipse 工件与源代码交叉发布到 Maven 存储库?
雷纳特
We are developing with EMF outside Eclipse therefore using Maven for build. My question is where can I find EMF artifacts, and if yes which version.
BTW Is there any tool to automatically cross-publish Eclipse artifacts with sources to Maven repository?
Renat
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您必须手动安装/部署它们。我使用此命令行:
将工件放入本地 M2 存储库中。
之后,我运行 此脚本将源 JAR 移动到正确的位置,以便 Maven 拾取它们。
部署它们的最简单方法是使用 Nexus 或类似的 Maven 缓存/代理并复制右侧的文件地方。
You must install/deploy them manually. I use this command line:
to get the artifacts into the local M2 repo.
After that, I run this script to move the source JARs to the right place for Maven to pick them up.
The easiest way to deploy them is to use Nexus or a similar Maven cache/proxy and copy the files in the right place.
我已经通过正确处理源修补了 maven-eclipse-plugin (它会自动上传 .source- 插件作为源工件),并且添加了两个附加属性:
我仍然需要提交它的补丁。
I've patched maven-eclipse-plugin with proper handling of sources (it automatically uploads .source- plugins as a sources artifact) and I have added two additional properties:
I still need to submit the patch for it.