No, I don't think you are missing anything. The maven/grails scenario really isn't one that we have good support for.
The STS Grails tools assume that you use Grails, not maven, infrastructure.
It is a good point that there is no 'import Grails' wizard. The import story in Eclipse is a bit complicated. There so many different ways to 'import' projects:
- via SCM tools
- via the 'New Project Wizard'
- via 'Import Existing projects'
The 'recommended' way used to be to use the New Project Wizard. But this really unintuitive to most people, so they end up using the 'Import Existing Project' wizard instead. We started to support this by adding a listener that detects when things that 'look like' Grails projects appear in the workspace and offer to configure them, regardless of how they got into the workspace.
Nowadays we recommend people to import Grails projects using the 'Import Existing Projects' wizard as this the scenario we focussed most of our effort on in development and testing.
However the question to have a dedicated 'Import Grails Project' wizard has come up a few times and is something that may be worthwhile. (I just don't think adding this Wizard will stop users from getting projects into the workspace via various other workflows :-)
There is an issue somewhat related to creating such a dedicated wizard here:
One of the most compelling motivations for creating such a wizard is that some people may delete their .project (and other eclipse metadata) for whatever reason and such projects currently don't have an easy/obvious way to import them.
Another good reason, of course, is that it is what many people may be looking for when trying to import a Grails project.
For the maven case however, perhaps it may be good if we support the workflow that you tried, i.e. 'import as maven project' and then make sure that our existing 'configuration helper' that detects grails projects and offers to configure them, actually works well for maven projects.
Anyway, John, thanks for bringing this up. Let's follow up with the maven/grails discussion in this issue (I see you already found your way there :-)
And if you want to weigh in on the need for a dedicated 'Import Grails' wizard feel free to do so on
Last edited by Kris De Volder; Aug 20th, 2012 at 10:48 AM.
Reason: grammar, spelling
Kris De Volder -- SpringSource