Details
Description
When I run a springboot integration test like:
mvn clean test -Dtest=CamelJgroupsRaftTest
if something go wrong in dependency/classpath preparation I get a message like:
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)
I would like a message more like this:
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)
Attachments
Issue Links
- links to