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
You are correct though that my application is a war deployed in tomcat.
I looked again at WHICH_JARS and looks like my application type also
falls in the "XML Configuration support" which states that it requires
- aopalliance.jar
- spring-beans.jar
- spring-context.jar
- spring-core.jar
- spring.web.jar <-----------
- FastInfoset.jar
JMS on the other hand requires only
- geronimo-jms.jar (Or the Sun equivalent)
- spring-jms.jar
- spring-tx.ja
or maybe this is on top of the other spring jars.
So maybe WHICH_JARS is not entirely correct? I didn't see a WAR
application type dependencies section in WHICH_JARS.
Yes, I'll update the WHICH_JARS shortly.
Looks like the various sections of WHICH_JARS should become ... (I am
not familiar with the terminology) ivy configurations / maven
artifacts? Or this has already been done and I missed it during googling?
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.
Thanks,
Glen
Anyway thanks again
On 09/11/2012 12:36 AM, Daniel Kulp wrote:
spring-web is not considered a dependency of cxf-bundle anymore, so
not a bug. It's only needed if you are using CXF within a war type
application.
Really, the spring stuff that cxf-bundle pulls in is JUST due to the
JMS transport now. The spring deps that are listed are pulled in
via the JMS transport, not via any of the other CXF jars.
Vassilis
--
Glen Mazza
Talend Community Coders - coders.talend.com
blog:www.jroller.com/gmazza