Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

m2eclipse: add group id to project name when importing existing maven project into Eclipse

in Eclipse I use file -> import -> existing maven project to create Eclipse-projects for existing Maven projects. Unfortunately the names of the created Eclipse projects equals the name of the Maven-projects and do not contain the group id. For the maven goal eclipse:eclipse you can set the parameter "addGroupIdToProjectName". How can I set this parameter for the project creation by m2eclipse?

Thanks for answers, Timk

like image 718
tomka Avatar asked Dec 29 '22 04:12

tomka


1 Answers

up to now I could not find any possibility to set the name for the Eclipse-projects to [groupId].[artifactId] globally. But you can set it every time you import existing Maven projects into eclipse: In the import-dialog open the "advanced" options and set the "name template" to "[groupId].[artifactId]".

Tomka.

like image 125
tomka Avatar answered Jan 06 '23 15:01

tomka