如何使用 maven 将片段 jar 打包并包含在构建 jar 中?
我已经使用 babel 片段 jar(没有 poms)翻译了我们的 RCP 应用程序中的帮助窗口。我必须将片段包含在目标平台中并将它们加载到插件中以进行运行配置。这样它就可以在 Eclipse 工作区中工作了。
现在,当 maven clean build 完成时,它们没有打包在目标插件中,
我尝试将这些片段 jar 进行 mavenise 并将它们安装在本地 m2 存储库中,并将它们添加到产品 pom 依赖项中,然后它们也不会被拉出。
当我手动将这些 jar 粘贴到目标插件中时,将它们添加到 config.ini 中,它们可以工作。
任何人都可以帮助如何将这些片段罐子获取到目标插件?
I have translated the help window in our RCP app using babel fragment jars(doesn't have poms). I had to include the fragments in target platform and load them in plugins for run configurations. This way it worked in eclipse workspace.
Now, when maven clean build is done, they are not packaged in the target plugin
I tried to mavenise those fragment jars and installed them in local m2 repo and added them in product pom dependencies then also they are not pulled.
When, I paste those jars in target plugin manually & added them in config.ini they work.
Anyone can help how to get these fragment jars to the target plugin ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论