多个 Maven pom.xml 文件
我有一个带有 GWT 客户端和 Restlet API 的 Eclipse 项目。我通常使用 Maven 进行依赖关系管理,但我还没有在 Eclipse 项目中使用它,其中单独的部分具有单独的依赖关系。例如 - 客户端将使用 Google Gin 进行依赖注入,服务器使用 Google Guice。
我是否能够将其拆分为两个单独的 pom.xml 文件来管理两个单独区域的依赖关系?
谢谢
I have an Eclipse project with a GWT client and a Restlet API. I normally use Maven for dependency management but I havent used it in an Eclipse project where seperate parts have seperate dependencies. For example - the client would use Google Gin for dependency injection and the server uses Google Guice.
Am I able to split it into two seperate pom.xml files to manage the dependencies of both seperate areas?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以创建一个多模块项目。请参阅此处和此处 和 此处。
You can create a multi module project. See examples here and here and here.
您可以像这样创建一个新的 pom:
然后在您的原始项目中添加:
You could create a new pom like this:
Then in your original project just add: