Search code examples
javaeclipsemavenm2eclipse

Multiple maven pom.xml files


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


Solution

  • You can create a multi module project. See examples here and here and here.