Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:N/A
Description
Create a new grails app :
grails create-app Poum
Install plugin :
grails install-plugin testing-labs
the install fails with the error message
Plugin testing-labs-0.3.2 requires version [*] of Grails which your current Grails installation does not meet. Please try install a different version of the plugin or Grails.
__________________________________________________________________________________________________________________________________________________________
Welcome to Grails 1.2.0 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /home/ofe/dev/grails-1.2.0
Base Directory: /tmp/prout/Poum
Resolving dependencies...
Dependencies resolved in 1764ms.
Running script /home/ofe/dev/grails-1.2.0/scripts/InstallPlugin.groovy
Environment set to development
Reading remote plugin list ...
Reading remote plugin list ...
Installing plugin testing-labs-0.3.2
[mkdir] Created dir: /home/ofe/.grails/1.2.0/projects/Poum/plugins/testing-labs-0.3.2
[unzip] Expanding: /home/ofe/.grails/1.2.0/plugins/grails-testing-labs-0.3.2.zip into /home/ofe/.grails/1.2.0/projects/Poum/plugins/testing-labs-0.3.2
Plugin testing-labs-0.3.2 requires version [*] of Grails which your current Grails installation does not meet. Please try install a different version of the plugin or Grails.
[delete] Deleting directory /home/ofe/.grails/1.2.0/projects/Poum/plugins/testing-labs-0.3.2
When I change the Grails version in TestingLabsGrailsPlugin.groovy to:
def grailsVersion = "1.1 > *"I can't install it into a 1.2.0 installation. I get the following error:
Plugin requires version [1.1.1] of Grails core, but installed version is [1.2.0]. Please upgrade your Grails installation and try again.I don't have the patience to figure out why this doesn't work and I don't care about 1.1.x releases anymore, so I'm going to do a 0.4 release that is explicitly for 1.2.0.
def grailsVersion = "1.1 > *"Plugin requires version [1.1.1] of Grails core, but installed version is [1.2.0]. Please upgrade your Grails installation and try again.