On 14/10/14 13:11, Sergey Beryozkin wrote:
Hi
I've updated the server to depend on CXF 3.0.2.
The JAX-RS frontend in CXF 3.0.2 does not have a javax.mail dependency
so I added it directly to the tika-server POM. javax.mail dependency is
used only for a basic check of Content-Disposition header - and we have
a utility code for that in CXF too. I can drop this dependency and
replace with a CXF equivalent.
I guess it can be kept as is, the code would be a bit more portable
The other minor issue is that there's a test there checking if the
server can generate a WADL document. Do we really need it given that
Tika Server has its own mechanism for describing the server ? If no then
I can delete the WADL test and drop one more dependency (on the CXF
module which generates WADL)
I've added a test scope to the CXF rt/rs/service/descriptions so one
less dependency for a server. This can always be added back to the
runtime scope should a WADL generation become of interest. That module
also has some initial Swagger support but it is pretty basic on its own
for now
Thanks, Sergey
Cheers, Sergey
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com