I would suggest reorganizing the structure to fit Maven best practices, for example:
root (pom.xml; parent) +-- module-1 (pom.xml) +-- module-2 (pom.xml) +-- module-...
This will simplify your life with Maven, and also make the release through the mvn release: prepare, etc.
I assume VCS has the following folder structure:
root +-- parent (pom.xml) +-- module-1 (pom.xml) +-- module-2 (pom.xml) +-- module-...
root is a folder that is issued from version control (trunk in SVN or master git).
If you gave the correct relative path to the parent element in these modules, everything should work without any problems. Configuring the scm part in the parent.
source share