The following plugins failed to load due to missing dependencies, but the dependency is loaded

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

The following plugins failed to load due to missing dependencies, but the dependency is loaded

micke_
I get a missing dependency error message with the below configuration, but removing spring-security-core fro the dependsOn part of the plugin descriptor gets rid of the error and I can package the plugin.
Don't know why! Getting this as I'm in the process of upgrading from acegi to spring-security-core.

== Plugin descriptor has:

    def dependsOn = [
                     'spring-security-core':'1.1.2 > *',
                     'gapet-aws':'0.1 > *',
                     'gapet-util':'0.1 > *']

== application.properties has
plugins.spring-security-core=1.1.2


== Get the follwing error message:

Resolving dependencies...
Dependencies resolved in 2036ms.
Running script /Code/Libraries/grails-1.3.6/scripts/PackagePlugin_.groovy
Environment set to development
Error: The following plugins failed to load due to missing dependencies: [gapetUser]
- Plugin: gapetUser
   - Dependencies:
       - spring-security-core (Required: 1.1.2 > *, Found: 1.1.2)
       - gapet-aws (Required: 0.1 > *, Found: 0.1)
       - gapet-util (Required: 0.1 > *, Found: 0.1)

Anyone seen anything similar?

Regards,
 Micke
Reply | Threaded
Open this post in threaded view
|

Re: The following plugins failed to load due to missing dependencies, but the dependency is loaded

burtbeckwith
I think it's due to the way you're naming the plugins, and the error message is way too cryptic. They need to be camel-case; try

   def dependsOn = [springSecurityCore: '1.1.2 > *',
                    gapetAws: '0.1 > *',
                    gapetUtil: '0.1 > *']

Burt

> I get a missing dependency error message with the below configuration, but
> removing spring-security-core fro the dependsOn part of the plugin
> descriptor gets rid of the error and I can package the plugin.
> Don't know why! Getting this as I'm in the process of upgrading from acegi
> to spring-security-core.
>
> == Plugin descriptor has:
>
>     def dependsOn = [
>                      'spring-security-core':'1.1.2 > *',
>                      'gapet-aws':'0.1 > *',
>                      'gapet-util':'0.1 > *']
>
> == application.properties has
> plugins.spring-security-core=1.1.2
>
>
> == Get the follwing error message:
>
> Resolving dependencies...
> Dependencies resolved in 2036ms.
> Running script /Code/Libraries/grails-1.3.6/scripts/PackagePlugin_.groovy
> Environment set to development
> Error: The following plugins failed to load due to missing dependencies:
> [gapetUser]
> - Plugin: gapetUser
>    - Dependencies:
>        - spring-security-core (Required: 1.1.2 > *, Found: 1.1.2)
>        - gapet-aws (Required: 0.1 > *, Found: 0.1)
>        - gapet-util (Required: 0.1 > *, Found: 0.1)
>
> Anyone seen anything similar?
>
> Regards,
>  Micke
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: The following plugins failed to load due to missing dependencies, but the dependency is loaded

micke_
Spot on!

Many thanks,
 Micke

On 16 March 2011 21:34, Burt Beckwith <[hidden email]> wrote:
I think it's due to the way you're naming the plugins, and the error message is way too cryptic. They need to be camel-case; try

  def dependsOn = [springSecurityCore: '1.1.2 > *',
                   gapetAws: '0.1 > *',
                   gapetUtil: '0.1 > *']

Burt

> I get a missing dependency error message with the below configuration, but
> removing spring-security-core fro the dependsOn part of the plugin
> descriptor gets rid of the error and I can package the plugin.
> Don't know why! Getting this as I'm in the process of upgrading from acegi
> to spring-security-core.
>
> == Plugin descriptor has:
>
>     def dependsOn = [
>                      'spring-security-core':'1.1.2 > *',
>                      'gapet-aws':'0.1 > *',
>                      'gapet-util':'0.1 > *']
>
> == application.properties has
> plugins.spring-security-core=1.1.2
>
>
> == Get the follwing error message:
>
> Resolving dependencies...
> Dependencies resolved in 2036ms.
> Running script /Code/Libraries/grails-1.3.6/scripts/PackagePlugin_.groovy
> Environment set to development
> Error: The following plugins failed to load due to missing dependencies:
> [gapetUser]
> - Plugin: gapetUser
>    - Dependencies:
>        - spring-security-core (Required: 1.1.2 > *, Found: 1.1.2)
>        - gapet-aws (Required: 0.1 > *, Found: 0.1)
>        - gapet-util (Required: 0.1 > *, Found: 0.1)
>
> Anyone seen anything similar?
>
> Regards,
>  Micke
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email