Friday, May 8, 2015

Rename maven projects in the Eclipse

I am working on old project, with old code. The problem is, if you want to import the full maven project hierarchy you will be faced a name conflict.

It is not a big issue, but you can not import the two project in same time.

What is the logic to give the project name in the Eclipse?

The Eclipse use the folder name for the root project, and the Artifact Id for the children maven projects.

The solution

There is a solution in the Eclipse, when you stat the import with the wizard, you can select a predefined template to rename the Eclipse project name. You can find it under the advanced label in the first step of the wizard.


No comments:

Post a Comment