One possibility is to create a "pom" project - that is a projects of type pom that contains a list of dependencies. Then for your other projects, reference that pom project as a dependency; then Maven will pull in all the the JARs defined in the pom project.
Alternately, make that pom project the parent for your projects. Then the JARs will also be included. In our work environment, we have defined multiple parent pom projects, each for a different project type, and then the child projects inherit that configuration. This ensures that all projects of type X are built exactly the same way.
Peter Johnson wrote:One possibility is to create a "pom" project - that is a projects of type pom that contains a list of dependencies. Then for your other projects, reference that pom project as a dependency; then Maven will pull in all the the JARs defined in the pom project.
Alternately, make that pom project the parent for your projects. Then the JARs will also be included. In our work environment, we have defined multiple parent pom projects, each for a different project type, and then the child projects inherit that configuration. This ensures that all projects of type X are built exactly the same way.
Cool, thanks for your reply.
We're using Intellij as our IDE.
Can both of these options be easily done using it?
Maven still seems like a confusing haze at the moment.