The normal layout for a maven multi module project is:
parent
├── pom.xml
├── module
├── pom.xml
Check that you use this layout.
Additionally:
-
the
relativePath
looks strange. Instead of ‘..’<relativePath>..</relativePath>
try ‘../’ instead:
<relativePath>../</relativePath>
You can also remove
relativePath
if you use the standard layout. This is what I always do, and on the command line I can build as well the parent (and all modules) or only a single module. -
The module path may be wrong. In the parent you define the module as:
<module>junitcategorizer.cutdetection</module>
You must specify the name of the folder of the child module, not an artifact identifier. If
junitcategorizer.cutdetection
is not the name of the folder than change it accordingly.
Hope that helps..
EDIT have a look at the other post, I answered there.