Nov 19th, 2012, 11:51 AM
Multimodule application issue. Spring Roo 1.2.2
I have multilayered project, which I created using Spring Roo 1.2.2. Initially it had one maven module, where mongodb, web mvc json, repositories and services were generated/configured.
The project started growing, so using STS I created three sub-modules, changed the parent packaging from WAR to POM, moved corresponding packages and resources, and slightly refactored pom.xml's - added dependency management, dependencies to core module and maybe something else.
So everything looked fine, build and tests pass.
However Roo shell started to hang in STS, hints stopped working. Roo console also hangs, module focus command does not work. Also I see a message that version is missed for some maven plugin (as I remember it was Jetty, which is in pluginManagement section now)
Can anyone point out what am I doing wrong? Maybe refer me to some documentation, or just explain how to make multi-module application from single-module, keeping Roo functioning?
PS. This is not the first time when Roo does not deal well with multi-module. I had another project before, that was initially created using Roo multi-module support (using module create, focus etc.). Guys started to refactor POMs that were generated by Roo, to organize dependencies. After that Roo started to be _really_ slow (STS, console, Intelij IDEA, everywhere). Unfortunately we ended up removing Roo from the project. I like Roo idea, so I want to continue using it, but multimodule issues can be a blocker for me.