|
From: Martin A. <sp...@ma...> - 2008-07-09 09:50:04
|
I just ran into a snag here. I'm working on the pom.xml straightening out the dependencies. When depending on resteasy-jaxrs we currently pull in things like tjws and httclient. Basically I want all dependencies that are not required to fulfil the spec to be optional and not pulled in. This will require some work in RegisterBuiltin.java since it currently registers all providers whether optional or not. Required by spec: ByteArrayProvider DefaultTextPlain DataSourceProvider FormUrlEncodedProvider InputStreamProvider JAXBProvider StringTextStar (are we missing providers for Reader, File and javax.xml.transform.Source?) Optional: DataContentProvider (not in use, delete?) IIOImageProvider JettisonProvider MimeMultipartProvider StreamingOutputProvider M On 8 Jul 2008, at 15:58, Bill Burke wrote: > Maybe a separate download/distro for optional providers? > > Ryan J. McDonough wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> I had a few more ideas for some other provider types and I realized >> that if we're not carful about, we could get fat really quickly. >> Here's a few provider ideas that Bill and I tossed around on this >> list: >> >> POI provider >> SVG Provider >> PGP/GPG Provider >> >> Given these 3 alone, we now have dependencies on the following >> projects: >> >> Jakarta POI >> Apache Batik >> Bouncy Castle or other PGP api >> >> It got me thinking: should we have an optional provider module(s)? >> Personally, I don't care. I think we've have the value-add of tons of >> kick-ass providers with no fuss, it wouldn't matter. But you know >> inevitably, there'd be a TSS article or collection of blog posts >> about >> how bloated RESTEasy is so bloated, yada yada yada. Does anyone else >> think this is a potential issue that we may want to address sooner >> than later? >> >> Ryan- >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.7 (Darwin) >> >> iD8DBQFIc2VPK/xjmUY6JwURAqFAAKCBdgm+Rcz7Yg2jXLViRoVACRjKBwCgkweF >> CRyFIK8Gpu9B2FwzNs+vE+w= >> =fWJM >> -----END PGP SIGNATURE----- >> >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> Studies have shown that voting for your favorite open source project, >> along with a healthy diet, reduces your potential for chronic >> lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> _______________________________________________ >> Resteasy-developers mailing list >> Res...@li... >> https://lists.sourceforge.net/lists/listinfo/resteasy-developers > > -- > Bill Burke > JBoss, a division of Red Hat > http://bill.burkecentral.com > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers |