When I import Maven projects from my workspace, and these projects are children of the parent project, they are imported with the project name in the same way as the artifact identifier. But when I import the parent project, the project name is the same as the directory name.
Example directory structure:
project-parent (artifactId = project-application-parent) --web (artifactId = project-webapp) --core (artifactId = project-core)
When I import all projects, my workspace looks like this:
project-parent project-webapp project-core
I want the parent project to be named as its artifact-id (project-application-parent). Is there any way to achieve this?
source share