I get that for all of the "perform" commands.Code:roo> perform clean [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'eclipse'. [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [clean, eclipse:clean] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot execute mojo: clean. It requires a project with an existing pom.xml, but the build is not using one. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Thu Oct 29 19:26:26 MDT 2009 [INFO] Final Memory: 6M/104M [INFO] ------------------------------------------------------------------------
To be clear, I created the project via the STS File->New->Spring Template Project->Roo... Wizard, and then added all my entities and such, and then when I ran any of the 'perform' commands, I got the error above.
Interestingly "run all tests" works just fine...
Thanks!
Tim


Reply With Quote