You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Babak Vahdat (JIRA)" <ji...@apache.org> on 2012/09/13 18:08:07 UTC

[jira] [Commented] (CAMEL-5609) Verify that all CXF based examples inside the distribution run out of the box

    [ https://issues.apache.org/jira/browse/CAMEL-5609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454970#comment-13454970 ] 

Babak Vahdat commented on CAMEL-5609:
-------------------------------------

Actually it was not _really_ necessary to backport to the 2.9.x branch as well because there CXF *still* used to depend on {{org.springframework.spring-web}}: 

{code}
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: Example :: Report Incident 2.9.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ camel-example-reportincident ---
[INFO] org.apache.camel:camel-example-reportincident:war:2.9.3
[INFO] +- org.apache.camel:camel-core:jar:2.9.3:compile
[INFO] |  \- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] +- org.apache.camel:camel-spring:jar:2.9.3:compile
[INFO] |  +- org.springframework:spring-context:jar:3.0.7.RELEASE:compile
[INFO] |  |  +- org.springframework:spring-expression:jar:3.0.7.RELEASE:compile
[INFO] |  |  \- org.springframework:spring-asm:jar:3.0.7.RELEASE:compile
[INFO] |  +- org.springframework:spring-aop:jar:3.0.7.RELEASE:compile
[INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  \- org.springframework:spring-tx:jar:3.0.7.RELEASE:compile
[INFO] +- org.apache.camel:camel-cxf:jar:2.9.3:compile
[INFO] |  +- org.apache.camel:camel-cxf-transport:jar:2.9.3:compile
[INFO] |  +- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.5.5:compile
[INFO] |  |  +- org.apache.cxf:cxf-common-utilities:jar:2.5.5:compile
[INFO] |  |  |  \- org.codehaus.woodstox:woodstox-core-asl:jar:4.1.4:runtime
[INFO] |  |  |     \- org.codehaus.woodstox:stax2-api:jar:3.1.1:runtime
[INFO] |  |  +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
[INFO] |  |  \- org.codehaus.jettison:jettison:jar:1.3.2:compile
[INFO] |  +- org.springframework:spring-core:jar:3.0.7.RELEASE:compile
[INFO] |  |  \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] |  +- org.springframework:spring-beans:jar:3.0.7.RELEASE:compile
[INFO] |  +- org.apache.camel:camel-blueprint:jar:2.9.3:compile
[INFO] |  |  +- org.apache.camel:camel-core-xml:jar:2.9.3:compile
[INFO] |  |  +- org.apache.camel:camel-core-osgi:jar:2.9.3:compile
[INFO] |  |  \- javax.xml.bind:jaxb-api:jar:2.1:compile
[INFO] |  |     +- javax.xml.stream:stax-api:jar:1.0-2:compile
[INFO] |  |     \- javax.activation:activation:jar:1.1:compile
[INFO] |  +- org.apache.aries.blueprint:org.apache.aries.blueprint:jar:0.3:compile
[INFO] |  |  +- org.apache.aries:org.apache.aries.util:jar:0.3:compile
[INFO] |  |  +- org.apache.aries.testsupport:org.apache.aries.testsupport.unit:jar:0.3:compile
[INFO] |  |  \- org.apache.aries.proxy:org.apache.aries.proxy.api:jar:0.3:compile
[INFO] |  \- org.apache.cxf:cxf-rt-bindings-soap:jar:2.5.5:compile
[INFO] |     +- org.apache.cxf:cxf-tools-common:jar:2.5.5:compile
[INFO] |     \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:2.5.5:compile
[INFO] +- org.apache.camel:camel-velocity:jar:2.9.3:compile
[INFO] |  \- org.apache.velocity:velocity:jar:1.7:compile
[INFO] |     +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] |     \- commons-lang:commons-lang:jar:2.4:compile
[INFO] +- org.apache.camel:camel-mail:jar:2.9.3:compile
[INFO] |  \- javax.mail:mail:jar:1.4.5:compile
[INFO] +- org.jvnet.mock-javamail:mock-javamail:jar:1.7:test
[INFO] +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.5.5:compile
[INFO] |  +- xml-resolver:xml-resolver:jar:1.2:compile
[INFO] |  +- asm:asm:jar:3.3.1:compile
[INFO] |  +- org.apache.cxf:cxf-api:jar:2.5.5:compile
[INFO] |  |  +- org.apache.ws.xmlschema:xmlschema-core:jar:2.0.3:compile
[INFO] |  |  +- org.apache.neethi:neethi:jar:3.0.2:compile
[INFO] |  |  \- wsdl4j:wsdl4j:jar:1.6.2:compile
[INFO] |  +- org.apache.cxf:cxf-rt-core:jar:2.5.5:compile
[INFO] |  |  +- com.sun.xml.bind:jaxb-impl:jar:2.1.13:compile
[INFO] |  |  \- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.7.1:compile
[INFO] |  +- org.apache.cxf:cxf-rt-bindings-xml:jar:2.5.5:compile
[INFO] |  +- org.apache.cxf:cxf-rt-frontend-simple:jar:2.5.5:compile
[INFO] |  \- org.apache.cxf:cxf-rt-ws-addr:jar:2.5.5:compile
[INFO] +- org.apache.cxf:cxf-rt-transports-http:jar:2.5.5:compile
[INFO] |  +- org.apache.cxf:cxf-rt-transports-common:jar:2.5.5:compile
[INFO] |  \- org.springframework:spring-web:jar:3.0.7.RELEASE:compile (version managed from 3.0.6.RELEASE)
[INFO] +- log4j:log4j:jar:1.2.16:compile
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile
[INFO] +- org.apache.cxf:cxf-rt-transports-http-jetty:jar:2.5.5:compile
[INFO] |  +- org.eclipse.jetty:jetty-server:jar:7.5.4.v20111024:compile
[INFO] |  |  +- org.eclipse.jetty:jetty-continuation:jar:7.5.4.v20111024:compile
[INFO] |  |  \- org.eclipse.jetty:jetty-http:jar:7.5.4.v20111024:compile
[INFO] |  |     \- org.eclipse.jetty:jetty-io:jar:7.5.4.v20111024:compile
[INFO] |  |        \- org.eclipse.jetty:jetty-util:jar:7.5.4.v20111024:compile
[INFO] |  +- org.eclipse.jetty:jetty-security:jar:7.5.4.v20111024:compile
[INFO] |  \- org.apache.geronimo.specs:geronimo-servlet_2.5_spec:jar:1.1.2:compile
[INFO] +- org.apache.camel:camel-test:jar:2.9.3:test
[INFO] \- junit:junit:jar:4.8.1:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.761s
[INFO] Finished at: Thu Sep 13 17:58:48 CEST 2012
[INFO] Final Memory: 12M/494M
[INFO] ------------------------------------------------------------------------
{code}

But just for making sure that in all the cases we're on the safe side by the 2.9.x branch, e.g. in case a CXF version upgrade should happen on this branch (which is pretty unlikely). 
                
> Verify that all CXF based examples inside the distribution run out of the box
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-5609
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5609
>             Project: Camel
>          Issue Type: Improvement
>          Components: examples
>    Affects Versions: 2.10.1
>            Reporter: Babak Vahdat
>            Assignee: Babak Vahdat
>             Fix For: 2.9.4, 2.11.0, 2.10.2
>
>
> See http://camel.465427.n5.nabble.com/Tutorial-1-fails-running-with-exception-td5719278.html
> As CXF has dropped it's direct dependency to {{org.springframework.spring-web}} we end up with some weired {{NoClassDefFoundError}} and whatnot with some CXF based examples shipped within the distribution, e.g. {{camel-example-reportincident}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira