Andrea Tarocchi created CAMEL-12993: ---------------------------------------
Summary: Have more informative message from springboot itests exceptions Key: CAMEL-12993 URL: https://issues.apache.org/jira/browse/CAMEL-12993 Project: Camel Issue Type: Improvement Components: tests Affects Versions: 2.23.0 Reporter: Andrea Tarocchi Assignee: Andrea Tarocchi When I run a springboot integration test like: {code:bash} mvn clean test -Dtest=CamelJgroupsRaftTest {code} if something go wrong in dependency/classpath preparation I get a message like: {code:bash} org.apache.camel.itest.springboot.CamelJgroupsRaftTest Time elapsed: 76.079 sec <<< ERROR! java.lang.RuntimeException: Could not invoke deployment method: public static org.jboss.shrinkwrap.api.Archive org.apache.camel.itest.springboot.CamelJgroupsRaftTest.createSpringBootPackage() throws java.lang.Exception at org.apache.camel.itest.springboot.CamelJgroupsRaftTest.createSpringBootPackage(CamelJgroupsRaftTest.java:32) {code} I would like a message more like this: {code:bash} org.apache.camel.itest.springboot.CamelJgroupsRaftTest Time elapsed: 70.174 sec <<< ERROR! java.lang.RuntimeException: Could not invoke deployment method: public static org.jboss.shrinkwrap.api.Archive org.apache.camel.itest.springboot.CamelJgroupsRaftTest.createSpringBootPackage() throws java.lang.Exception at org.apache.camel.itest.springboot.CamelJgroupsRaftTest.createSpringBootPackage(CamelJgroupsRaftTest.java:32) Caused by: java.lang.RuntimeException: Library version mismatch found. Found mismatch for dependency org.jgroups:jgroups: - org.jgroups:jgroups-raft:jar: --> 0.4.2.Final - org.jgroups:jgroups:jar: --> 4.0.15.Final at org.apache.camel.itest.springboot.CamelJgroupsRaftTest.createSpringBootPackage(CamelJgroupsRaftTest.java:32) {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)