Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

working around maven error: Project 'XYZ' is duplicated in the reactor

Tags:

maven-2

I'm creating a multi-module project that builds many other, related projects. Some of these projects are multi-module projects as well, and in some cases they build the same sub-project. Maven yells at me, but this is intentional and I'd like it to build anyway.

Has anyone worked around this? Thanks.

like image 387
Brian Harris Avatar asked Feb 25 '09 23:02

Brian Harris


1 Answers

For me <artifactId> was same for 2 different module in their pom and that caused this error.
Once changed, it worked fine .

like image 200
ASHUTOSH SHARMA Avatar answered Sep 27 '22 21:09

ASHUTOSH SHARMA