Hello,

I am a little bit confused about whether or not I need to include the Jetty dependency in my pom. I have come across two conflicting comments in the sample poms.

The first, from the using cxf with maven page (http://cxf.apache.org/docs/using-cxf-with-maven.html), says:

<!-- Jetty is needed if you're are not using the CXFServlet -->
<dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-transports-http-jetty</artifactId>
        <version>${cxf.version}</version>
</dependency>

The second, from the java first jaxws factory bean sample (http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws_factory_bean/pom.xml?view=co&revision=1091623&content-type=text%2Fplain), says:

<!-- Jetty is needed if you're using the CXFServlet -->
<dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-transports-http-jetty</artifactId>
        <version>2.4.1-SNAPSHOT</version>
</dependency>

Could someone confirm whether or not Jetty is needed when using the CXFServlet?

Thank you!

-Sophia

Reply via email to