I'm trying to better understand using Maven 2.0.x in IDEA. I know Java well, but get to use IDEA less than Eclipse, and am totally new to Maven 2.0.x.
Here are my questions:
1) How should a project using JSF/Facelets, Hibernate, Spring, and EJB3 with Maven2 be structured? Single module with single POM that produces an EAR? Or, multiple modules with multiple POMs perhaps having a common parent POM for the project?
2) I recall reading that we can let POM generate the module file. Should I let the POM drive building the module files or manually sync the modules files with POM dependency changes?
3) Does it matter if I use the Maven build or test goals, or the IDEA Build | Make Project? That is, will I end up with the same result - an EAR, WAR, or JAR file?
4) Is there any other advice or good online IDEA + Maven resource you can refer me to?
(Trying to understand how to use Maven with IDEA by referring to IDEA's Online Help is like trying to assemble a novel using only a dictionary. The pieces may all be there, but the total picture truly eludes me!)