Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

grails plugin repositories

Tags:

grails

groovy

By default, the following repositories are configured in BuildConfig.groovy

repositories {
    grailsPlugins()
    grailsHome()    // look inside the grails installation
    grailsCentral()
}

I understand that the grailsHome() repository corresponds to the JARs that are available within the local Grails installation, and I guess grailsPlugins() corresponds to the repository where released Grails plugins are stored.

Am I right about these two, and if so, what is grailsCentral()?

like image 826
Dónal Avatar asked Mar 16 '11 10:03

Dónal


2 Answers

As I understand it;

grailsPlugins() looks inside the ~/.grails/version directory

grailsHome() (as you suspected) looks inside the Grails installation directory

grailsCentral() looks to be using the grails subversion repository

like image 61
tim_yates Avatar answered Oct 21 '22 12:10

tim_yates


Here's exactly where it is looks for

  • grailsPlugins() - Looks for jars inside /lib directory of each installed plugin. (See GrailsPluginsDirectoryResolver)
  • grailsHome() - Looks inside the GRAILS-HOME/lib directory
  • grailsCentral() - Looks at http://grails.org/plugins
like image 3
Sudhir N Avatar answered Oct 21 '22 11:10

Sudhir N