Spring-security-ui on 2.0.0.RC3 transitive-metadata warning and webxml error


(robertoschwald) #1

While testing 2.0.0.RC3, I’m not able to install and use spring-security-ui plugin. During installation into a fresh grails-2.0.0.RC3 project, I receive:

grails install-plugin spring-security-ui
| Resolving plugin JAR dependencies
| Warning
             Plugin declares a runtime dependency on plugin [mail: 0.9 > *] but does not define the plugin within its transitive metadata. Contact the plugin author to fix this problem or declare the plugin yourself inside BuildConfig.groovy. Example:
            ...
            plugins {
               compile ":mail:0.9 > *"
            }
              | Warning
             Plugin declares a runtime dependency on plugin [jquery-ui: 1.8.2.3 > *] but does not define the plugin within its transitive metadata. Contact the plugin author to fix this problem or declare the plugin yourself inside BuildConfig.groovy. Example:
            ...
            plugins {
               compile ":jquery-ui:1.8.2.3 > *"
            }
              | Warning
             Plugin declares a runtime dependency on plugin [famfamfam: 1.0 > *] but does not define the plugin within its transitive metadata. Contact the plugin author to fix this problem or declare the plugin yourself inside BuildConfig.groovy. Example:
            ...
            plugins {
               compile ":famfamfam:1.0 > *"
            }
              | Plugin installed.

Afterwards on run-app I receive:

grails run-app
| Resolving plugin JAR dependencies...
> You currently already have a version of the plugin installed [webxml-1.4]. Do you want to update to [webxml-1.3.1]? [y,n] y
| Resolving plugin JAR dependencies.....
| Error Fatal error during compilation org.apache.tools.ant.BuildException: srcdir "/Users/test/.grails/2.0.0.RC3/projects/foo-test/plugins/webxml-1.4/grails-app/conf" does not exist! (Use --stacktrace to see the full trace)

Another try of running:

grails run-app
| Packaging Grails application
> You currently already have a version of the plugin installed [webxml-1.3.1]. Do you want to update to [webxml-1.4]? [y,n] y
| Resolving plugin JAR dependencies.....
> You currently already have a version of the plugin installed [webxml-1.4]. Do you want to update to [webxml-1.3.1]? [y,n] n
| Compiling 2 source files...
| Error Fatal error during compilation org.apache.tools.ant.BuildException: srcdir "/Users/test/.grails/2.0.0.RC3/projects/foo-test/plugins/webxml-1.3.1/src/groovy" does not exist! (Use --stacktrace to see the full trace)

So it seems like a dependency collision on webxml, also.

Any ideas?


(Adam Murdoch) #2

This sounds like a question for the Grails folks. Did you mean to post it here in the Gradle forums?


(robertoschwald) #3

No, absolutely not. Sorry. Wrong place.

Was a bit late last friday…