The answer seems to be:

        <dependencies>
                <!-- Apache CXF JAX-WS Impl -->
                <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-rt-frontend-jaxws</artifactId>
                        <version>2.0.10</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-rt-transports-http</artifactId>
                        <version>2.0.10</version>
                </dependency>
        </dependencies> 

I found I had to exclude some geronimo dependencies of the
cxf-rt-frontend-jaxws artifact for Tomcat5.5.


dale77 wrote:
> 
> Hi,
> 
> I have a maven based project that includes a CXF wsdl2java generated web
> service client library.
> 
> My question is, which cxf artifact or artifacts should i include in my
> pom.xml? The list here is quite long:
> 
> http://mvnrepository.com/artifact/org.apache.cxf
> 
> Currently I am using:
> 
>     <dependency>
>         <groupId>org.apache.cxf</groupId>
>         <artifactId>cxf-bundle-minimal</artifactId>
>         <version>2.0.9</version>
>     </dependency>
> 
> But this pulls in a bunch of geronimo jars which do not play well with our
> Tomcat 5.5/jdk1.6 hosted application. javax.mail no longer works, and the
> geronimo 2.5 servlet spec jar fails to load in the container.
> 
> I have removed all these geronimo jars manually, which seems to solve
> these problems, but I'd prefer to just have maven pull in the absolute
> minimum dependencies i need. What are they?
> 
> Thanks
> 
> Dale
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Which-CXF-maven-artifacts-to-include--tp21948466p22109989.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to