I've installed grails-2.3.6 and Maven 3.2.1 on my Windows 7 machine. If I check to see that Maven is set up correctly, I get the following command-line output:
D:\>mvn --version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T12:2-05:00)
Maven home: D:\apache-maven-3.2.1\bin\..
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_51\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
So I know Maven is installed.
I also know Grails is (at least partially) installed correctly, because I am able to issue commands like grails run-app
, etc. and have them work.
I am now trying to issue a grail maven-install
and am getting the following exception:
C:\>cd C:\myProj\myApp
C:\myProj\myApp>grails maven-install
| Script 'MavenInstall' not found, did you mean:
1) UninstallPlugin
2) InstallPlugin
3) InstallDependency
4) InstallTemplates
5) InstallAppTemplates_
> Please make a selection or enter Q to quit:
So it's like my Grails installation is missing whatever component maven-install
maps to. Ideas as to how to fix this?