This is an automated email from the ASF dual-hosted git repository. klease pushed a commit to branch CAMEL-18664 in repository https://gitbox.apache.org/repos/asf/camel-karaf-examples.git
commit c0424b79ce4d508a389ca2ce0ad423f706f15cdd Author: klease <kle...@cegetel.net> AuthorDate: Wed Nov 9 23:45:24 2022 +0100 CAMEL-18664: fix build and examples to run in karaf Filter the resources to replace placeholders. Upgrade chucknorris example yaml syntax. Remove unnecessary osgi package in artemis-amqp example. --- examples/camel-example-artemis-amqp-blueprint/pom.xml | 3 --- .../src/main/resources/kamelets/chuck-norris-source.kamelet.yaml | 2 +- examples/pom.xml | 6 ++++++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/examples/camel-example-artemis-amqp-blueprint/pom.xml b/examples/camel-example-artemis-amqp-blueprint/pom.xml index 9bedc1d..221ee2b 100644 --- a/examples/camel-example-artemis-amqp-blueprint/pom.xml +++ b/examples/camel-example-artemis-amqp-blueprint/pom.xml @@ -35,9 +35,6 @@ <properties> <category>Messaging</category> - <camel.osgi.import.additional> - org.apache.qpid.*;version="[0.20,1)", - </camel.osgi.import.additional> </properties> <dependencyManagement> diff --git a/examples/camel-example-kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml b/examples/camel-example-kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml index b47dde7..72346d7 100644 --- a/examples/camel-example-kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml +++ b/examples/camel-example-kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml @@ -30,7 +30,7 @@ spec: - "camel:timer" - "camel:http" - "camel:jsonpath" - flow: + template: from: uri: "timer:chuck" parameters: diff --git a/examples/pom.xml b/examples/pom.xml index 05a0648..b47490a 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -207,6 +207,12 @@ </pluginRepositories> <build> + <resources> + <resource> + <directory>src/main/resources</directory> + <filtering>true</filtering> + </resource> + </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId>