Why might you not want to include groupId and version elements in child POM files?
The values in the parent POM will be overridden by what is defined in the child POM. maven docs
These elements are inherited from the parent POM file, and do not need to be repeated.
If you include these elements, an error will be thrown when you try to build the project.
Child POM files should include definitions of only dependencies and plugins.