管理外部 jar 依赖项
我编写了一个 Selenium 框架,需要扩展到团队。我已经在SVN中签入了代码。如何确保其他团队成员将外部 jar 添加到构建路径并文件夹该文件夹?基本上我想更好地管理这些依赖关系。有人说,Maven 可以处理这些,所以我尝试为 eclipse 3.2 安装 m2eclipse 插件,但没有成功。 Maven 可以解决这个问题吗?有没有更好的方法来管理它?
I'v written a selenium framework which needs to be extended to the team. I've checked in the code in SVN. How can I make sure that external jars are added to build path and folder that folder by other team members? Basically I want to manage these dependencies better. Somebody said, Maven can take care of these so I tried to install m2eclipse plugin for eclipse 3.2 without any success. Can Maven solve this problem and is there any better way of managing it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
采取简单的方法:将 jar 提交到 SVN 中。这将为每个人节省很多时间。
Do the easy way: commit the jars into SVN. It will save everybody a lot of time.
如果您愿意使用 Eclipse、Maven 和 m2eclipse,我建议使用 SpringSource Tool Suite。它是一个基于 Eclipse 的 IDE,预捆绑了 Maven 和 m2eclipse。这种捆绑使得这三个工具一起工作变得非常容易。
If you are amenable to using Eclipse, Maven, and m2eclipse, I would suggest using SpringSource Tool Suite. It is an Eclipse based IDE with Maven and m2eclipse pre-bundled. This bundling makes getting those three tools to work together very easy.