importing maven Project

Hello experts

when I created  Project A and B  and trying to import the maven Project under it respectively. some of the subproject get jumbled into the A and B.Let me know steps to handle this kind of issues....
roy_sanuAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mccarlIT Business Systems Analyst / Software DeveloperCommented:
You will need to explain in a lot more detail what your problem is. What you wrote above is very hard to understand and I would have no idea where to even start.
0
roy_sanuAuthor Commented:
sorry for the late............



There are two projects on maven. Each project has no of modules with their poms.The issue is when I try to import into eclipse with pom.xml all the modules of project (A and B) get mix with each , hard  to figure out in the same workspace.But if I want to separate as two project in eclipse how I can do that ... Hope that make sense
0
mccarlIT Business Systems Analyst / Software DeveloperCommented:
Sorry for the late reply to this, work has been quite busy lately and a few other things going on.


There are two projects on maven. Each project has no of modules with their poms.The issue is when I try to import into eclipse with pom.xml all the modules of project (A and B) get mix with each

So I just want to check that I understand correctly.... By modules, do you mean that each module is a separate project within in eclipse. And these A and B projects, are they a logical collections of these Eclipse projects.

If the above is correct, I think what you might be after is to use Eclipse's "Working Set" features. Basically, a working set is a collection of projects. And you can also have it so that more than one working set contains the same project, useful if you have a module that is common to many projects.

To set this up, go to the "Window" menu and then "Working Sets" and then "Edit...". Here you can create the working sets you need (maybe you would have two working sets, Project A and Project B) and then you can edit each working set and add the required Eclipse projects (ie. your modules) to each working set.

Then to display the working sets, in the "Project Explorer" view, click the drop-down options menu, select "Top-level Elements" and then "Working Sets". That should display the two working sets (Project A and Project B) and then you can expand each one to see the projects/modules within each.


Hope that helps!
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
srikoteshCommented:
project A and B both are maven projects.
both having no of modules.
if u see module wise pom.xml definitely there will be a one parent module.
how we can identity is look for all pom.xml.
parent module pom.xml contains all the module names configured in that pom file.

I guess project A  and Bdefinitely have a parent module.
if it doesn't have parent module u need to import individual modules.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.