I'm new to Maven. I checked out from SVN a project from a customer with the following structure:
projectName
|--> pom.xml
|--> jetty-wrapper
|--> pom.xml
|--> bin
|--> pom.xml
|--> projectName-common
|--> pom.xml
|--> bin
|--> pom.xml
|--> projectName-war
|--> bin
|--> pom.xml
<modules>
<module>projectName-common</module>
<module>projectName-war</module>
<module>jetty-wrapper</module>
</modules>
mvn clean install
projectName
Child module [...]projectName\projectName-war\pom.xml of [...]projectName\pom.xml does not exist
projectName-war
The question is: Should there be a pom.xml right below projectName-war
Simply put yes.
You have already figured out the trick, and since you haven't provided a poject descriptor aka pom.xml to maven, it won't be able to call the projectName-war a valid child module.
There must absolutely be a pom.xml file under projectName-war, and it must have an artifact id that matches the one under the parent declaring the module, i.e.
<artifactId>rojectName-war</artifactId>