Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Maven multi module projects in eclipse

Hello,

I have a workspace in Jazz which has 1 parent project, with 2 modules.
/pom.xml
/child/pom.xml
/child2/pom.xml

When I load the component in RTC, it checks out all levels of the directory hierarchy, but eclipse only treats the top level directory as a maven project.

If I then import the child and child 2 directories as maven modules, these 2 modules are loaded as eclipse projects with everything that is wonderful about maven.

The problem is that the child and child2 projects are not jazz aware. If I change a file in child 1, it doesn't show in the pending changes view. If I refresh the parent project then it does. This workaround does the job for simple cases, but if I use eclipse to refactor the name or package of a class, then on refresh the parent treats the refactor as a delete + add rather than a rename.

Any suggestions as to how to get maven multi module projects working in RTC?

Thanks

Luke

0 votes



12 answers

Permanent link
Hi Michael,

please suggest openeing an enhancement request against RTC.

As far as I understand the maven issue is really an issue with Eclipse since Eclipse does not support projects in projects. I might be wrong. I know that we provide advanced loading mechanisms since 2.x that allow to build hierarchical structures, preserve the structure when downloading and pick the projects to be opened in Eclipse. I haven't had an opportunity to play with it a lot, unfortunately.

Thanks,

Ralph

0 votes


Permanent link
 I notice that an enhancement request was opened, shortly after the above post...


... any idea when it might be addressed?

0 votes

1–15 items
page 2of 1 pagesof 2 pages

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 30 '10, 10:33 a.m.

Question was seen: 33,266 times

Last updated: Aug 12 '14, 5:27 a.m.

Confirmation Cancel Confirm