Grails
  1. Grails
  2. GRAILS-5388

Allow setting of the "default" plugin repo for release

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0 final
    • Component/s: Plugins
    • Labels:
      None
    • Flagged:
      Impediment

      Description

      It should be possible to specify this in BuildConfig so it doesn't need to be passed on the command line each time...

      //BuildConfig.groovy
      grails.plugin.repos.distribution.custom = "http://somewhere"
      grails.plugin.repos.distributionDefault = "custom"
      

      And then

      grails release-plugin
      

      would implicitly mean

      grails release-plugin -repository=custom
      

        Activity

        Hide
        Luke Daley added a comment -

        Moving to 1.4 as it is too big to go in the 1.3 line now.

        Show
        Luke Daley added a comment - Moving to 1.4 as it is too big to go in the 1.3 line now.
        Hide
        Ronny Løvtangen added a comment -

        This feature is now implemented in release plugin version 2.0, right?

        grails.project.repos.default = "myRepo"
        

        http://grails-plugins.github.com/grails-release/docs/guide/configuration.html#repositories

        Show
        Ronny Løvtangen added a comment - This feature is now implemented in release plugin version 2.0, right? grails.project.repos. default = "myRepo" http://grails-plugins.github.com/grails-release/docs/guide/configuration.html#repositories
        Hide
        Peter Ledbrook added a comment -

        Thanks Ronny, you're right. This is now implemented in the Release plugin.

        Show
        Peter Ledbrook added a comment - Thanks Ronny, you're right. This is now implemented in the Release plugin.

          People

          • Assignee:
            Unassigned
            Reporter:
            Luke Daley
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Last Reviewed:

              Development