Reputation: 4759
According with the Spring Roo 1.3 Docs, MongoDB is supported, and can be configured with:
roo> mongo setup
But with Spring Roo 2.0.0.RC1 you get:
roo> mongo setup
Command 'mongo setup' not found (for assistance press TAB or type "hint" then hit ENTER)
Searching 'mongo setup' on installed repositories
0 matches found with 'mongo setup' on installed repositories
MongoDB persistence layer was removed? Can be added in some way?
Upvotes: 1
Views: 281
Reputation: 3882
In this task, during the Spring Roo 2.0 definition, we decided to create a smaller and easier to maintain Spring Roo distribution.
From 2.0, Roo will contain the runtime and the main addons only, so new versions could be released more frequently and being kept up to date with lastest Spring projects. This provide us the posibility of make a better separation between the Spring Roo runtime and the main addons. The Roo runtime APIs (classpath, metadata, support, etc.) must be kept as stable and backwards compatible as possible.
On the other hand, we moved the addons not classified as ”main addon” (GWT, JSF, Mongo DB ...) to their own Git repository
https://github.com/spring-projects/spring-roo-community-addons
These addons will be maintained by the Roo community.
From now on we will know this addons as “Spring Roo Community Addons”.
As you could see, these addons are not migrated to the Spring Roo 2.x version, so if you want to use the Mongo DB addon you should download from there and apply some updates. After apply changes, generate the .jar
files and use the addon install
commands to include them in the Spring Roo shell.
Hope it helps,
Upvotes: 2