Search code examples
javamaven-2

Specify different groupId for parent POM than children


I would like to create a Maven Parent POM file with a groupId of com.company.maven, which gives its children a default groupId of com.company. Is this possible? If so, how can I accomplish this?


Solution

  • I don't think this is possible. Also, it flies in the face of the Maven Guide to Naming Conventions, which recommends that (if anything), the child modules should append to the parent groupId, not vice versa.