mehandih / grails-jaxrs

Automatically exported from code.google.com/p/grails-jaxrs
0 stars 0 forks source link

Plugin shouldn't have spring-test as compile-time dependency #39

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
See 
http://groups.google.com/group/grails-jaxrs-discuss/browse_thread/thread/2e0b0ac
daac266a1

Original issue reported on code.google.com by krass...@googlemail.com on 20 Apr 2011 at 1:34

GoogleCodeExporter commented 8 years ago

Original comment by krass...@googlemail.com on 28 Aug 2011 at 9:32

GoogleCodeExporter commented 8 years ago
I get this error at runtime when doing a POST when deployed into tomcat as a 
war. doing grails run-app, I do not get an error. I add the sprint-test jar to 
my grails/lib directory and rebuild the war, and I can now do a POST.

Will this get fixed soon? Do not like to deploy test jars in a production 
environment.

Original comment by kroy.hou...@gmail.com on 23 Feb 2012 at 10:02

GoogleCodeExporter commented 8 years ago
Sorry, no time at the moment to work on this. I just added spring-test again to 
the plugin deps so that WAR deployments will work (see 
https://github.com/krasserm/grails-jaxrs/commit/38856026d9afb7c38d81ef0ce86313c1
3c0c1a10).

Should you want to fix it yourself and send a patch or pull request I'd highly 
appreciate it. Let me know if/how I can assist you in doing that.

Cheers,
Martin

Original comment by krass...@googlemail.com on 24 Feb 2012 at 8:02

GoogleCodeExporter commented 8 years ago
Issue 63 has been merged into this issue.

Original comment by krass...@googlemail.com on 6 Jun 2012 at 6:23

GoogleCodeExporter commented 8 years ago
Depending on the licensing of the spring library containing 
MockHttpServletRequest, you may be able to just copy the source and dependent 
classes to your project and rename them (or at least new packages). That would 
be a quick fix to needing the dependency.

Original comment by ray.a.co...@gmail.com on 7 Jun 2012 at 3:18

GoogleCodeExporter commented 8 years ago
Hi Ray,

Are you willing to contribute such a quick fix to grails-jaxrs, I'd highly 
appreciate it :)

Cheers,
Martin 

Original comment by krass...@googlemail.com on 8 Jun 2012 at 5:30