Hi all,

I would not recommend to open those two projects in the same eclipse
workspace. As both projects mainly have the same elements, you will be
very confused when editing those elements.

Additionally, it might be necessary to specify different (local) maven
reposistories for both projects. This is not possible (at least not
easily) in one eclipse instance.

So my suggestion: Start two instances of eclipse with two different
workspaces!

Thomas



-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of ext Anders Hammar
Sent: Friday, March 12, 2010 8:56 AM
To: Maven Users List
Subject: Re: Maven Eclipse

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 <[email protected]> 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
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to