Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency on spring-test #17

Open
verglor opened this issue Jun 15, 2014 · 6 comments
Open

Dependency on spring-test #17

verglor opened this issue Jun 15, 2014 · 6 comments

Comments

@verglor
Copy link

verglor commented Jun 15, 2014

This plugin requires org.springframework.mock.web.MockHttpServletRequest from spring-test but does not declare this dependency so workaround from http://stackoverflow.com/a/14114573/489790 has to be applied in case spring-test is not in runtime scope thanks to other plugin (e.g. mail 1.0)

@PatrickHuetter
Copy link

I can confirm that.

@urz9999
Copy link

urz9999 commented Nov 1, 2014

Tried recently that suggestion with Grails 2.4.3 and adding
runtime "org.springframework:org.springframework.test:x.x.x.RELEASE" (any release) gives me
Resolve error obtaining dependencies: Could not find artifact org.springframework:org.springframework.test:zip:x.x.x.RELEASE in grailsCentral

@urz9999
Copy link

urz9999 commented Nov 1, 2014

Sorry putting the correct release in dependencies and not plugins resolved the issue.

@demon101
Copy link

demon101 commented Nov 2, 2014

reprodused on grails 2.4.4
Fixed by dependency in BuildConfid
runtime "org.springframework:spring-test:4.0.7.RELEASE"

@KerchumA222
Copy link

WIll this ever be fixed?

@magx2
Copy link
Contributor

magx2 commented Apr 18, 2016

Also has the same problem. I really didn't like adding spring test into runtime...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants