让 Maven 和 git 工作
我最近开始钻研git和maven。我有一个具有多个模块集的系统,它存储在各种 git 存储库中,我需要将其拉入同一工作区并运行各种 Maven 目标。
我想知道是否有其他人已经完成了这个设置并提供了疲惫而真实的方法来做到这一点。
我很欣赏你在使用 Maven 和 git 时提出的教程和解决方案。
请并谢谢你。
GC。
I have recently began delving into git and maven. I have a system that has several module sets and this is stored in various git repositories, I need this to be pulled down into the same workspace and run various maven goals.
I was wondering if anyone else has run through this setup and provide tired and true way of doing this.
I would apprecaite tutorial and solution you have come up with on your bouts with maven and git.
Please and thank you.
GC.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于 Subversion,我将使用 svn:externals 来实现此目的。所以我的建议是检查 SVN external in GIT 问题。
只要您从各种 Git 存储库中获得适当的结构,关于 Maven 就没有什么特别可说的。对于发布部分,只需在 GIT SCM URL 中声明相关="http://maven.apache.org/pom.html#SCM" rel="nofollow noreferrer">
各个模块的元素。With Subversion, I would use
svn:externals
for this. So my suggestion would be to check the SVN external in GIT question here on SO.There is nothing particular to say about Maven, as long as you get the appropriate structure out of your various Git repositories. And for the release part, just declare the relevant GIT SCM URL in the
<scm>
element of the various modules.