Search code examples
springmavenspring-roo

Spring Roo says "Version is required for org.apache.maven.plugins:maven-compiler-plugin"


I am trying out Spring Roo 1.2.2 and can't get past this error:

roo> hint

Version is required for org.apache.maven.plugins:maven-compiler-plugin

My maven version: Apache Maven 2.2.1

Appreciate any help.

Update:
Changing the directory and trying again makes it disappear! But I would still like to know what it was looking at, thanks.


Solution

  • You should always start roo in an empty directory (or already existing roo project directory) because the working directory is scanned by roo. In your case a POM is probably detected. Also notice that roo becomes very slow when working from a "crowded" directory.