Discussion:
Grails plugin transitive dependency causing compilation failure: spring-security-core (Required: 1.2.7.3, Found: 1.2.7.3)
chlee
2014-05-29 13:23:52 UTC
Permalink
I have written a plugin which provides some custom setup/functionality around
the spring-security-core plugin.

In my plugin, I have a dependency on spring-security-core in the
BuildConfig.groovy file as follows:

*plugins {
compile ":spring-security-core:1.2.7.3"
}*

And I have then packaged my plugin and installed it into another application
as follows:

*plugins {
compile "org.mycompany:mycustomplugin:1.0.0"
}*

When I add this plugin dependency, it installs successfully, and I also see
the message indicating that spring security core plugin has been
successfully installed in the console. However, when I attempt to run and
command which requires compilation, such as 'grails war' I see the following
error message:

*Error: The following plugins failed to load due to missing dependencies:
[securityPreAuthenticated]
- Plugin: securityPreAuthenticated
- Dependencies:
- spring-security-core (Required: 1.2.7.3, Found: 1.2.7.3)*

As you can see, the error is saying 1.2.7.3 is required and that 1.2.7.3 is
found. Has anyone seen this before, or could possibly advise?

Thanks



--
View this message in context: http://grails.1312388.n4.nabble.com/Grails-plugin-transitive-dependency-causing-compilation-failure-spring-security-core-Required-1-2-7--tp4657039.html
Sent from the Grails - user mailing list archive at Nabble.com.

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

http://xircles.codehaus.org/manage_email

Loading...