Here's how I do it:
project/pom.xml
modules: common, ejb, war, ear
project/common/pom.xml
parent: ../pom.xml
depends: none
project/ejb/pom.xml
parent: ../pom.xml
depends: common
project/war/pom.xml
parent: ../pom.xml
depends: common, ejb
project/ear/pom.xml
parent: ../pom.xml
depends: common,
Why can't I create a parent project that's of war packaging? I have N
number of subprojects under a single parent pom. All N of those
subprojects are listed as modules. Under the parent pom I have 1
subproject that all the rest of the subprojects depend on (the "core")
at compile time. I want the p