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
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
12 answers
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
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
I notice that an enhancement request was opened, shortly after the above post...
... any idea when it might be addressed?
page 2of 1 pagesof 2 pages