Laurent Grégoire
Laurent Grégoire

Reputation: 4146

Multiple versions of the same multi-modules maven project under eclipse

I'd like to work on two different versions of the same multi-modules maven project under eclipse.

Unfortunately, when you import a multi-module maven project under eclipse, you can change the parent module project name yourself, to prevent conflicts, but not the child modules projects names. Child modules are imported as root projects, named after the module name. Apparently there is no way to rename them during import.

In an ideal scenario, I'd like to keep the pom as it is. Obviously I'd like to keep the same eclipse workspace...

Upvotes: 5

Views: 1846

Answers (1)

Michael-O
Michael-O

Reputation: 18415

Yes, you can. You have to change the name pattern in the m2eclipse importer. All modules will have this pattern and you have a conflict-free env.

Upvotes: 12

Related Questions