Thanks Sergey! This is very helpful. I am messing with the camel poms today anyway and I will try the suggested change.
Cheers, Hadrian On Jan 25, 2010, at 4:52 AM, Sergey Beryozkin wrote: > Hi > > as suggested earlier on, the following dependencies can also be exclused from > cxf-rt-frontend-jaxrs in a camel-cxf pom : > >> org.apache.abdera:abdera-core:jar:0.4.0-incubating:compile >> org.apache.abdera:abdera-extensions-json:jar:0.4.0-incubating:compile >> org.apache.abdera:abdera-extensions-main:jar:0.4.0-incubating:compile >> org.apache.abdera:abdera-i18n:jar:0.4.0-incubating:compile >> org.apache.abdera:abdera-parser:jar:0.4.0-incubating:compile >> org.apache.ws.commons.axiom:axiom-api:jar:1.2.8:compile >> org.apache.ws.commons.axiom:axiom-impl:jar:1.2.8:compile >> org.codehaus.jettison:jettison:jar:1.2:compile > > ServiceMix cxf jaxrs feature will add abdera and jettison, other users who > might be using camel-cxf and jaxrs and expecting camel-cxf to bring in > abdera/jettison would need to add explicit dependencies. > > these are also possible candidates : > >> org.apache.xmlbeans:xmlbeans:jar:2.4.0:compile >> org.apache.cxf:cxf-rt-databinding-aegis:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-frontend-simple:jar:2.2.5:compile > > After the above exclusions, cxfrs component will only contribute 2 or so jars > to the total, > > cheers, Sergey > > >> I just experimentally created a camel-cxf-camel-transport component that >> only implements the camel transport for cxf. >> >> The compile dependencies go down from 54 for camel-cxf to 27 for the new >> component. >> I added the dependencies below. >> >> Greetings >> >> Christian >> ---- >> mvn dependency:list -DincludeScope=compile >> >> camel-cxf-camel-transport: >> aopalliance:aopalliance:jar:1.0:compile >> com.sun:tools:jar:1.5.0:system >> com.sun.xml.bind:jaxb-impl:jar:2.1.12:compile >> commons-lang:commons-lang:jar:2.4:compile >> commons-logging:commons-logging-api:jar:1.1:compile >> javax.xml.bind:jaxb-api:jar:2.1:compile >> javax.xml.soap:saaj-api:jar:1.3:compile >> org.apache.camel:camel-core:jar:2.2-SNAPSHOT:compile >> org.apache.cxf:cxf-api:jar:2.2.5:compile >> org.apache.cxf:cxf-common-schemas:jar:2.2.5:compile >> org.apache.cxf:cxf-common-utilities:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-bindings-soap:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-core:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-databinding-jaxb:jar:2.2.5:compile >> org.apache.cxf:cxf-tools-common:jar:2.2.5:compile >> org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2:compile >> org.apache.geronimo.specs:geronimo-annotation_1.0_spec:jar:1.1.1:compile >> org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.6:compile >> org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile >> org.apache.neethi:neethi:jar:2.0.4:compile >> org.apache.ws.commons.schema:XmlSchema:jar:1.4.5:compile >> org.codehaus.woodstox:wstx-asl:jar:3.2.9:compile >> org.fusesource.commonman:commons-management:jar:1.0:compile >> org.springframework:spring-beans:jar:2.5.6:compile >> org.springframework:spring-context:jar:2.5.6:compile >> org.springframework:spring-core:jar:2.5.6:compile >> wsdl4j:wsdl4j:jar:1.6.2:compile >> >> camel-cxf: >> aopalliance:aopalliance:jar:1.0:compile >> asm:asm:jar:2.2.3:compile >> com.sun:tools:jar:1.5.0:system >> com.sun.xml.bind:jaxb-impl:jar:2.1.12:compile >> com.sun.xml.messaging.saaj:saaj-impl:jar:1.3.2:compile >> commons-codec:commons-codec:jar:1.2:compile >> commons-lang:commons-lang:jar:2.4:compile >> commons-logging:commons-logging-api:jar:1.1:compile >> javax.ws.rs:jsr311-api:jar:1.0:compile >> javax.xml.bind:jaxb-api:jar:2.1:compile >> javax.xml.soap:saaj-api:jar:1.3:compile >> jaxen:jaxen:jar:1.1.1:compile >> org.apache.abdera:abdera-core:jar:0.4.0-incubating:compile >> org.apache.abdera:abdera-extensions-json:jar:0.4.0-incubating:compile >> org.apache.abdera:abdera-extensions-main:jar:0.4.0-incubating:compile >> org.apache.abdera:abdera-i18n:jar:0.4.0-incubating:compile >> org.apache.abdera:abdera-parser:jar:0.4.0-incubating:compile >> org.apache.camel:camel-core:jar:2.2-SNAPSHOT:compile >> org.apache.camel:camel-spring:jar:2.2-SNAPSHOT:compile >> org.apache.cxf:cxf-api:jar:2.2.5:compile >> org.apache.cxf:cxf-common-schemas:jar:2.2.5:compile >> org.apache.cxf:cxf-common-utilities:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-bindings-soap:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-bindings-xml:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-core:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-databinding-aegis:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-databinding-jaxb:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-frontend-simple:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-transports-http:jar:2.2.5:compile >> org.apache.cxf:cxf-rt-ws-addr:jar:2.2.5:compile >> org.apache.cxf:cxf-tools-common:jar:2.2.5:compile >> org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2:compile >> org.apache.geronimo.specs:geronimo-annotation_1.0_spec:jar:1.1.1:compile >> org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.6:compile >> org.apache.geronimo.specs:geronimo-jaxws_2.1_spec:jar:1.0:compile >> org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile >> org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec:jar:1.1.2:compile >> org.apache.neethi:neethi:jar:2.0.4:compile >> org.apache.ws.commons.axiom:axiom-api:jar:1.2.8:compile >> org.apache.ws.commons.axiom:axiom-impl:jar:1.2.8:compile >> org.apache.ws.commons.schema:XmlSchema:jar:1.4.5:compile >> org.apache.xmlbeans:xmlbeans:jar:2.4.0:compile >> org.codehaus.jettison:jettison:jar:1.2:compile >> org.codehaus.woodstox:wstx-asl:jar:3.2.9:compile >> org.fusesource.commonman:commons-management:jar:1.0:compile >> org.springframework:spring-aop:jar:2.5.6:compile >> org.springframework:spring-beans:jar:2.5.6:compile >> org.springframework:spring-context:jar:2.5.6:compile >> org.springframework:spring-core:jar:2.5.6:compile >> org.springframework:spring-tx:jar:2.5.6:compile >> wsdl4j:wsdl4j:jar:1.6.2:compile >> xml-resolver:xml-resolver:jar:1.2:compile >> >> Am 20.01.2010 08:22, schrieb Christian Schneider: >>> Hi all, >>> >>> I am using the camel-cxf component to attach a jaxws service to camel. >>> Unfortunatelly the camel-cxf component also depends on >>> cxf-rt-frontend-jaxrs. Is this necessary? It would be nice if this >>> depdendency could be removed or made optional. >>> >>> Greetings >>> >>> Christian >>> >> >> >> -- >> >> Christian Schneider >> --- >> http://www.liquid-reality.de >