I'm very new to Maven and am just now trying to set up my first project tree. I'm struggling to understand the difference between two alternatives:
I have jar and war projects (two each) that i want to bundle. Traditionally I'd just create an ear project that has all four of them as dependencies.
Now I read about the aggregation of poms and am not sure what to do any more (see http://maven.apache.org/pom.html#Aggregation). Should I create an aggregateted POM with the four projects?
I guess basically my question is: What's the big difference between a module and a dependency, if the dependency is one of my "own" projects.