This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-examples.git
The following commit(s) were added to refs/heads/master by this push: new bab59b5 Add missing camel-bean dependency (#43) bab59b5 is described below commit bab59b5a60d06466ef8ff1781fb97796432ea5a2 Author: Nikola Micic <34707374+nikolamici...@users.noreply.github.com> AuthorDate: Sat Mar 20 15:06:12 2021 +0100 Add missing camel-bean dependency (#43) Example couldn't run because of the missing dependency. Adding camel-bean solved the problem. Additionally IntegrationTest was falsy correct because the argument option '"-o", "target/site/cameldoc"' caused the Main class to fail silently. --- examples/spring/pom.xml | 6 ++++-- .../test/java/org/apache/camel/example/spring/IntegrationTest.java | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/spring/pom.xml b/examples/spring/pom.xml index d08481a..3a16cf4 100644 --- a/examples/spring/pom.xml +++ b/examples/spring/pom.xml @@ -50,16 +50,18 @@ </dependencyManagement> <dependencies> - <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-file</artifactId> </dependency> - <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-jms</artifactId> </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-bean</artifactId> + </dependency> <dependency> <groupId>org.apache.camel</groupId> diff --git a/examples/spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java b/examples/spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java index f3e47cc..2c3785c 100644 --- a/examples/spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java +++ b/examples/spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java @@ -26,6 +26,6 @@ public class IntegrationTest extends Assert { public void testCamelRulesDeployCorrectlyInSpring() throws Exception { // let's boot up the Spring application context for 2 seconds to check that it works OK Main main = new Main(); - main.run(new String[]{"-duration", "2s", "-o", "target/site/cameldoc"}); + main.run(new String[]{"-duration", "2s"}); } }