On 09/12/2012 09:42 AM, Vassilis Virvilis wrote:
On 09/11/2012 06:07 PM, Glen Mazza wrote:
On 09/11/2012 05:02 AM, Vassilis Virvilis wrote:
Hi Daniel,
Thanks for the quick reply.
One more question: Is there any artifact that I can specify that will
bring spring-web?.
Sure, the spring-web dependency here at line #183:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/pom.xml?revision=1373166&view=markup
Thanks Glen,
That was not what I had in mind. This is the project file of a war
type application explicitly depending in spring-web. I was wondering
if there was any cxf-artifact (like cxf-bundle that brings all the
rest of spring*). I understand that probably no CXF module directly
links with spring-web so it is not a direct dependency. I just found
it odd that all the other spring jars were included with cxf-bundle
but not spring-web.
That's because (1) you don't need spring-web if you're using the
CXFNonSpringServlet in the web.xml to drive your web service (as opposed
to CXFServlet, the only one I've used so far), so it wouldn't need to be
in cxf-bundle under those circumstances, and (2) cxf-bundle used to have
(pre-CXF 2.6) a heavy role in OSGi deployment of web services, which
doesn't use a WAR. cxf-bundle is kind of deprecated today, there's
smaller bundles to be using for OSGi and Maven deployment will put just
the right JARs you need in the WEB-INF/lib.
No, the purpose of WHICH_JARS are for those who don't use Maven but
instead manually work with JARs. Running mvn dependency:list on our
samples should will give a list of needed Maven artifacts for each
sample, info that can be extrapolated to one's own projects.
Ok got it. Thanks again.
Best regards
Vassilis
--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza