gpc / rendering

Provides rendering of GSPs as PDFs, JPEGs, GIFs and PNGs
http://gpc.github.com/rendering
Apache License 2.0
31 stars 45 forks source link

Dependency on spring-test #17

Open verglor opened 10 years ago

verglor commented 10 years ago

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 commented 10 years ago

I can confirm that.

urz9999 commented 10 years ago

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 commented 10 years ago

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

demon101 commented 10 years ago

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

KerchumA222 commented 8 years ago

WIll this ever be fixed?

magx2 commented 8 years ago

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