Grails
  1. Grails
  2. GRAILS-8499

Unable to install zip packaged plugin with install-plugin command when the plugin is already referenced in application.properties

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0 final
    • Fix Version/s: None
    • Component/s: Plugins
    • Labels:
      None

      Description

      I tried to run the test app from GPRESOURCES-129 and noticed this bug.

      Steps to reproduce:
      1. Get test app from GPRESOURCES-129 and unzip it. It contains an app and a plugin.
      2. cd ResTest
      3. Then try to install the plugin:

      ➜  ResTest  grails install-plugin ../ImageProvider/grails-image-provider-0.2.zip 
      | Configuring classpath
      | Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
      
      - org.grails.plugins:image-provider:0.2
      

      There is a workaround:
      Edit application.properties manually (remove the line "plugins.[plugin name]=[plugin version]")

        Activity

        Lari Hotari created issue -
        Graeme Rocher made changes -
        Field Original Value New Value
        Fix Version/s 2.0.1 [ 13005 ]
        Burt Beckwith made changes -
        Workflow Grails2 [ 71041 ] jira [ 71598 ]
        Burt Beckwith made changes -
        Workflow jira [ 71598 ] Grails2 [ 80192 ]
        Peter Ledbrook made changes -
        Last Reviewed 01/Jan/10
        Peter Ledbrook made changes -
        Workflow Grails2 [ 80192 ] jira [ 88158 ]
        Peter Ledbrook made changes -
        Workflow jira [ 88158 ] Grails2 [ 96371 ]
        Graeme Rocher made changes -
        Fix Version/s 2.0.2 [ 13064 ]
        Fix Version/s 2.0.1 [ 13005 ]
        Graeme Rocher made changes -
        Fix Version/s 2.0.3 [ 13094 ]
        Fix Version/s 2.0.2 [ 13064 ]
        Graeme Rocher made changes -
        Fix Version/s 2.0.4 [ 13099 ]
        Fix Version/s 2.0.3 [ 13094 ]
        Jeff Scott Brown made changes -
        Fix Version/s 2.2 [ 13093 ]
        Fix Version/s 2.0.4 [ 13099 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3 [ 13311 ]
        Fix Version/s 2.2-RC1 [ 13093 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3-M2 [ 13457 ]
        Fix Version/s 2.3-M1 [ 13311 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3-RC1 [ 13458 ]
        Fix Version/s 2.3-M2 [ 13457 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3-RC2 [ 13482 ]
        Fix Version/s 2.3-RC1 [ 13458 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3.1 [ 13502 ]
        Fix Version/s 2.3-RC2 [ 13482 ]
        Graeme Rocher made changes -
        Fix Version/s 2.3.1 [ 13502 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Lari Hotari
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Last Reviewed:

              Development