I assume you're using m2e? I think the problem is that the eclipse project is named by artifactId by default. As there is already such a project (the main branch one), you need to change the project name. You so by using a name template.
/Anders PS. Questions regarding m2eclipse is better to post one the m2e mailing list. On Fri, Mar 12, 2010 at 01:21, Jitesh Shetty <jit...@ymail.com> wrote: > Folks, > > I have a very basic question, I am using maven with eclipse and have a case > where I want to have two different projects which are actually built from > two different branches of the same product, so I am working on two different > branches and so I wanted to create two different maven projects in eclipse. > I have the project built from trunk running fine, but when I try to create a > project from one of the branches, I give the SVN location and then it tries > to check out the code but then throws a window which says “Select Maven > projects”, it shows one pom.xml there but its frozen and cannot be selected > and then in the advanced section there is “Profiles” and “Name template”. > Please let me know if I am doing something wrong here. > > Thanks > > -Jitesh > > >