You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/04/06 12:02:05 UTC

[camel-examples] branch camel-3.2.x created (now cf23a76)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch camel-3.2.x
in repository https://gitbox.apache.org/repos/asf/camel-examples.git.


      at cf23a76  Removed camel.version from telegram example

This branch includes the following new commits:

     new f802e78  Use camel.version for all the usages
     new 60ae508  Use camel.version for examples to import bom
     new 5d4c81d  Removed camel-spark-rest example
     new cf23a76  Removed camel.version from telegram example

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-examples] 01/04: Use camel.version for all the usages

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.2.x
in repository https://gitbox.apache.org/repos/asf/camel-examples.git

commit f802e78617040506e997536fa4997a1e81ccfdbe
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Apr 6 13:13:36 2020 +0200

    Use camel.version for all the usages
---
 examples/pom.xml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/examples/pom.xml b/examples/pom.xml
index 783c0d5..fa8925f 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -178,6 +178,7 @@
         <jdk.version>1.8</jdk.version>
         <compiler.fork>false</compiler.fork>
 
+        <camel.version>3.2.0-SNAPSHOT</camel.version>
         <camel.karaf.version>3.2.0-SNAPSHOT</camel.karaf.version>
 
         <!-- Versions -->
@@ -192,7 +193,7 @@
         <avro-version>1.8.1</avro-version>
         <awaitility-version>4.0.2</awaitility-version>
         <bouncycastle-version>1.64</bouncycastle-version>
-        <camel-bundle-plugin-version>${project.version}</camel-bundle-plugin-version>
+        <camel-bundle-plugin-version>${camel.version}</camel-bundle-plugin-version>
         <cdi-api-2.0-version>2.0</cdi-api-2.0-version>
         <cdi-api-1.2-version>1.2</cdi-api-1.2-version>
         <curator-version>2.12.0</curator-version>
@@ -351,7 +352,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-package-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <executions>
                     <execution>
                         <goals>
@@ -366,7 +367,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-report-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <failOnError>false</failOnError>
                     <includeTest>true</includeTest>
@@ -507,7 +508,7 @@
                         <dependency>
                             <groupId>org.apache.camel</groupId>
                             <artifactId>camel-buildtools</artifactId>
-                            <version>${project.version}</version>
+                            <version>${camel.version}</version>
                         </dependency>
                     </dependencies>
                     <configuration>


[camel-examples] 03/04: Removed camel-spark-rest example

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.2.x
in repository https://gitbox.apache.org/repos/asf/camel-examples.git

commit 5d4c81d25d0eff7abcff8dab9cecca794974b819
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Apr 6 13:17:17 2020 +0200

    Removed camel-spark-rest example
---
 examples/camel-example-spark-rest/README.adoc      |  78 --------
 examples/camel-example-spark-rest/pom.xml          | 115 ------------
 .../java/org/apache/camel/example/spark/User.java  |  47 -----
 .../org/apache/camel/example/spark/UserMain.java   |  33 ----
 .../camel/example/spark/UserRouteBuilder.java      |  51 ------
 .../apache/camel/example/spark/UserService.java    |  64 -------
 .../src/main/resources/META-INF/LICENSE.txt        | 203 ---------------------
 .../src/main/resources/META-INF/NOTICE.txt         |  11 --
 .../src/main/resources/log4j2.properties           |  23 ---
 examples/pom.xml                                   |   5 +-
 10 files changed, 2 insertions(+), 628 deletions(-)

diff --git a/examples/camel-example-spark-rest/README.adoc b/examples/camel-example-spark-rest/README.adoc
deleted file mode 100644
index b4c35f4..0000000
--- a/examples/camel-example-spark-rest/README.adoc
+++ /dev/null
@@ -1,78 +0,0 @@
-== Camel Spark REST
-
-=== Introduction
-
-This example shows how to use Spark REST to define REST endpoints in
-Camel routes using the Rest DSL Spark requires Java 8, so you will need
-to use Java 8.
-
-=== Introduction
-
-This is an example that uses the rest-dsl to define a rest services
-which provides three operations
-
-* GET user/view/{id} - View user by id
-* GET user/list - List all users
-* PUT user/update - Updates or create a user
-
-=== Build
-
-You will need to compile this example first:
-
-....
-mvn compile
-....
-
-=== Run
-
-To run the example type
-
-....
-mvn camel:run
-....
-
-The rest service can be accessed from the following url
-
-....
-curl http://localhost:8080/user
-....
-
-http://localhost:8080/user
-
-For example to get a user with id 123
-
-....
-curl http://localhost:8080/user/view/123
-....
-
-http://localhost:8080/user/view/123
-
-And to list all the users
-
-....
-curl http://localhost:8080/user/list
-....
-
-http://localhost:8080/user/view/list
-
-The rest services provides Swagger API which can be accessed from the
-following url in json or yaml format:
-
-....
-curl http://localhost:8080/api-doc/swagger.json
-curl http://localhost:8080/api-doc/swagger.yaml
-....
-
-http://localhost:8080/api-doc/swagger.json
-
-To stop the example hit ctrl+c
-
-=== Help and contributions
-
-If you hit any problem using Camel or have some feedback, then please
-https://camel.apache.org/support.html[let us know].
-
-We also love contributors, so
-https://camel.apache.org/contributing.html[get involved] :-)
-
-The Camel riders!
diff --git a/examples/camel-example-spark-rest/pom.xml b/examples/camel-example-spark-rest/pom.xml
deleted file mode 100644
index 36ba536..0000000
--- a/examples/camel-example-spark-rest/pom.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-         http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>org.apache.camel.example</groupId>
-        <artifactId>examples</artifactId>
-        <version>3.2.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>camel-example-spark-rest</artifactId>
-    <name>Camel :: Example :: Spark Rest</name>
-    <description>An example using Spark Rest</description>
-
-    <properties>
-        <category>Rest</category>
-        <title>Spark Rest</title>
-    </properties>
-
-    <dependencyManagement>
-        <dependencies>
-            <!-- Add Camel BOM -->
-            <dependency>
-                <groupId>org.apache.camel</groupId>
-                <artifactId>camel-bom</artifactId>
-                <version>${camel.version}</version>
-                <type>pom</type>
-                <scope>import</scope>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
-    <dependencies>
-
-        <!-- camel -->
-        <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-core</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-main</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-spark-rest</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-swagger-java</artifactId>
-        </dependency>
-
-        <!-- use for json binding -->
-        <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-jackson</artifactId>
-        </dependency>
-
-        <!-- logging -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-api</artifactId>
-            <version>${log4j2-version}</version>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-core</artifactId>
-            <version>${log4j2-version}</version>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-slf4j-impl</artifactId>
-            <version>${log4j2-version}</version>
-            <scope>runtime</scope>
-        </dependency>
-
-    </dependencies>
-
-    <build>
-
-        <!-- to run with mvn camel:run -->
-        <plugins>
-            <plugin>
-                <groupId>org.apache.camel</groupId>
-                <artifactId>camel-maven-plugin</artifactId>
-                <version>${camel.version}</version>
-                <configuration>
-                    <mainClass>org.apache.camel.example.spark.UserMain</mainClass>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>
diff --git a/examples/camel-example-spark-rest/src/main/java/org/apache/camel/example/spark/User.java b/examples/camel-example-spark-rest/src/main/java/org/apache/camel/example/spark/User.java
deleted file mode 100644
index bb71ff6..0000000
--- a/examples/camel-example-spark-rest/src/main/java/org/apache/camel/example/spark/User.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.example.spark;
-
-public class User {
-
-    private int id;
-    private String name;
-
-    public User() {
-    }
-
-    public User(int id, String name) {
-        this.id = id;
-        this.name = name;
-    }
-
-    public int getId() {
-        return id;
-    }
-
-    public void setId(int id) {
-        this.id = id;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-}
diff --git a/examples/camel-example-spark-rest/src/main/java/org/apache/camel/example/spark/UserMain.java b/examples/camel-example-spark-rest/src/main/java/org/apache/camel/example/spark/UserMain.java
deleted file mode 100644
index 1a75cc7..0000000
--- a/examples/camel-example-spark-rest/src/main/java/org/apache/camel/example/spark/UserMain.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.example.spark;
-
-import org.apache.camel.main.Main;
-
-public final class UserMain {
-
-    private UserMain() {
-        // to comply with checkstyle rule
-    }
-
-    public static void main(String[] args) throws Exception {
-        Main main = new Main();
-        main.bind("userService", new UserService());
-        main.addRoutesBuilder(new UserRouteBuilder());
-        main.run();
-    }
-}
diff --git a/examples/camel-example-spark-rest/src/main/java/org/apache/camel/example/spark/UserRouteBuilder.java b/examples/camel-example-spark-rest/src/main/java/org/apache/camel/example/spark/UserRouteBuilder.java
deleted file mode 100644
index 7cf0dcc..0000000
--- a/examples/camel-example-spark-rest/src/main/java/org/apache/camel/example/spark/UserRouteBuilder.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.example.spark;
-
-import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.model.rest.RestBindingMode;
-
-/**
- * Define REST services using the Camel REST DSL
- */
-public class UserRouteBuilder extends RouteBuilder {
-
-    @Override
-    public void configure() throws Exception {
-
-        // configure we want to use spark-rest on port 8080 as the component for the rest DSL
-        // and for the swagger api-doc as well
-        restConfiguration().component("spark-rest").apiContextPath("api-doc").port(8080)
-            // and we enable json binding mode
-            .bindingMode(RestBindingMode.json)
-            // and output using pretty print
-            .dataFormatProperty("prettyPrint", "true");
-
-        // this user REST service is json only
-        rest("/user").consumes("application/json").produces("application/json")
-
-            .get("/view/{id}").outType(User.class)
-                .to("bean:userService?method=getUser(${header.id})")
-
-            .get("/list").outType(User[].class)
-                .to("bean:userService?method=listUsers")
-
-            .put("/update").type(User.class).outType(User.class)
-                .to("bean:userService?method=updateUser");
-    }
-
-}
diff --git a/examples/camel-example-spark-rest/src/main/java/org/apache/camel/example/spark/UserService.java b/examples/camel-example-spark-rest/src/main/java/org/apache/camel/example/spark/UserService.java
deleted file mode 100644
index c2164c8..0000000
--- a/examples/camel-example-spark-rest/src/main/java/org/apache/camel/example/spark/UserService.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.example.spark;
-
-import java.util.Collection;
-import java.util.Map;
-import java.util.TreeMap;
-
-/**
- * A {@link org.apache.camel.example.spark.User} service which we rest enable from the {@link org.apache.camel.example.spark.UserRouteBuilder}.
- */
-public class UserService {
-
-    // use a tree map so they become sorted
-    private final Map<String, User> users = new TreeMap<>();
-
-    public UserService() {
-        users.put("123", new User(123, "John Doe"));
-        users.put("456", new User(456, "Donald Duck"));
-    }
-
-    /**
-     * Gets a user by the given id
-     *
-     * @param id  the id of the user
-     * @return the user, or <tt>null</tt> if no user exists
-     */
-    public User getUser(String id) {
-        return users.get(id);
-    }
-
-    /**
-     * List all users
-     *
-     * @return the list of all users
-     */
-    public Collection<User> listUsers() {
-        return users.values();
-    }
-
-    /**
-     * Updates or creates the given user
-     *
-     * @param user the user
-     * @return the old user before it was updated, or <tt>null</tt> if creating a new user
-     */
-    public User updateUser(User user) {
-        return users.put("" + user.getId(), user);
-    }
-}
diff --git a/examples/camel-example-spark-rest/src/main/resources/META-INF/LICENSE.txt b/examples/camel-example-spark-rest/src/main/resources/META-INF/LICENSE.txt
deleted file mode 100644
index 6b0b127..0000000
--- a/examples/camel-example-spark-rest/src/main/resources/META-INF/LICENSE.txt
+++ /dev/null
@@ -1,203 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-
diff --git a/examples/camel-example-spark-rest/src/main/resources/META-INF/NOTICE.txt b/examples/camel-example-spark-rest/src/main/resources/META-INF/NOTICE.txt
deleted file mode 100644
index 2e215bf..0000000
--- a/examples/camel-example-spark-rest/src/main/resources/META-INF/NOTICE.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-   =========================================================================
-   ==  NOTICE file corresponding to the section 4 d of                    ==
-   ==  the Apache License, Version 2.0,                                   ==
-   ==  in this case for the Apache Camel distribution.                    ==
-   =========================================================================
-
-   This product includes software developed by
-   The Apache Software Foundation (http://www.apache.org/).
-
-   Please read the different LICENSE files present in the licenses directory of
-   this distribution.
diff --git a/examples/camel-example-spark-rest/src/main/resources/log4j2.properties b/examples/camel-example-spark-rest/src/main/resources/log4j2.properties
deleted file mode 100644
index 9deb51c..0000000
--- a/examples/camel-example-spark-rest/src/main/resources/log4j2.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements.  See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License.  You may obtain a copy of the License at
-##
-##      http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-appender.console.type = Console
-appender.console.name = console
-appender.console.layout.type = PatternLayout
-appender.console.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
-rootLogger.level = INFO
-rootLogger.appenderRef.console.ref = console
diff --git a/examples/pom.xml b/examples/pom.xml
index fa8925f..30cf46c 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -142,7 +142,6 @@
         <module>camel-example-route-throttling</module>
         <module>camel-example-servlet-rest-blueprint</module>
         <module>camel-example-servlet-tomcat</module>
-        <module>camel-example-spark-rest</module>
         <module>camel-example-splunk</module>
         <module>camel-example-spring</module>
         <module>camel-example-spring-javaconfig</module>
@@ -178,8 +177,8 @@
         <jdk.version>1.8</jdk.version>
         <compiler.fork>false</compiler.fork>
 
-        <camel.version>3.2.0-SNAPSHOT</camel.version>
-        <camel.karaf.version>3.2.0-SNAPSHOT</camel.karaf.version>
+        <camel.version>3.2.0</camel.version>
+        <camel.karaf.version>3.2.0</camel.karaf.version>
 
         <!-- Versions -->
         <exec-maven-plugin-version>1.6.0</exec-maven-plugin-version>


[camel-examples] 02/04: Use camel.version for examples to import bom

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.2.x
in repository https://gitbox.apache.org/repos/asf/camel-examples.git

commit 60ae50894d775a759ac2dcf755eafb817beabe4b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Apr 6 13:14:12 2020 +0200

    Use camel.version for examples to import bom
---
 examples/camel-example-activemq-tomcat/pom.xml       |  2 +-
 examples/camel-example-aggregate/pom.xml             |  4 ++--
 .../src/main/resources/features.xml                  | 10 +++++-----
 examples/camel-example-any23/pom.xml                 |  2 +-
 .../camel-example-artemis-amqp-blueprint/pom.xml     |  4 ++--
 .../src/main/resources/features.xml                  | 14 +++++++-------
 .../camel-example-artemis-large-messages/pom.xml     |  4 ++--
 examples/camel-example-artemis/pom.xml               |  2 +-
 examples/camel-example-as2/pom.xml                   |  4 ++--
 examples/camel-example-bigxml-split/pom.xml          |  2 +-
 examples/camel-example-billboard-aggr/pom.xml        |  2 +-
 examples/camel-example-cafe-endpointdsl/pom.xml      |  4 ++--
 .../src/main/resources/features.xml                  |  8 ++++----
 examples/camel-example-cafe/pom.xml                  |  4 ++--
 .../src/main/resources/features.xml                  |  8 ++++----
 examples/camel-example-cassandra-kubernetes/pom.xml  |  2 +-
 examples/camel-example-cdi-aws-s3/pom.xml            |  4 ++--
 examples/camel-example-cdi-cassandraql/pom.xml       |  4 ++--
 examples/camel-example-cdi-kubernetes/pom.xml        |  4 ++--
 examples/camel-example-cdi-metrics/pom.xml           |  4 ++--
 examples/camel-example-cdi-properties/pom.xml        |  4 ++--
 examples/camel-example-cdi-rest-servlet/pom.xml      |  2 +-
 examples/camel-example-cdi-test/pom.xml              |  4 ++--
 examples/camel-example-cdi-xml/pom.xml               |  4 ++--
 examples/camel-example-cdi/pom.xml                   |  4 ++--
 examples/camel-example-console/pom.xml               |  4 ++--
 examples/camel-example-cxf-blueprint/pom.xml         |  2 +-
 examples/camel-example-cxf-proxy/pom.xml             |  4 ++--
 examples/camel-example-cxf-tomcat/pom.xml            |  2 +-
 .../camel-example-cxf-ws-security-signature/pom.xml  |  4 ++--
 examples/camel-example-cxf/pom.xml                   |  2 +-
 examples/camel-example-debezium/pom.xml              |  2 +-
 examples/camel-example-ehcache-blueprint/README.adoc |  6 +++---
 examples/camel-example-ehcache-blueprint/pom.xml     |  2 +-
 examples/camel-example-fhir-osgi/pom.xml             |  8 ++++----
 examples/camel-example-fhir/pom.xml                  |  4 ++--
 examples/camel-example-ftp/pom.xml                   |  2 +-
 examples/camel-example-hazelcast-kubernetes/pom.xml  |  2 +-
 examples/camel-example-java8/pom.xml                 |  4 ++--
 examples/camel-example-jdbc/pom.xml                  |  4 ++--
 examples/camel-example-jms-file/pom.xml              |  2 +-
 examples/camel-example-jmx/pom.xml                   |  4 ++--
 examples/camel-example-jooq/pom.xml                  |  4 ++--
 examples/camel-example-kafka/pom.xml                 |  2 +-
 examples/camel-example-kotlin/pom.xml                |  2 +-
 examples/camel-example-loadbalancing/pom.xml         |  2 +-
 examples/camel-example-loan-broker-cxf/pom.xml       |  2 +-
 .../src/main/resources/features.xml                  | 10 +++++-----
 examples/camel-example-loan-broker-jms/pom.xml       |  2 +-
 .../src/main/resources/features.xml                  | 12 ++++++------
 examples/camel-example-main-artemis/pom.xml          |  6 +++---
 examples/camel-example-main-tiny/pom.xml             |  6 +++---
 examples/camel-example-main-xml/pom.xml              |  6 +++---
 examples/camel-example-main/pom.xml                  |  6 +++---
 examples/camel-example-management/pom.xml            |  4 ++--
 .../src/main/resources/features.xml                  | 12 ++++++------
 examples/camel-example-micrometer/pom.xml            |  2 +-
 examples/camel-example-mybatis/pom.xml               |  2 +-
 .../src/main/resources/features.xml                  | 10 +++++-----
 .../camel-example-netty-custom-correlation/pom.xml   |  2 +-
 examples/camel-example-netty-http/pom.xml            |  2 +-
 examples/camel-example-olingo4-blueprint/pom.xml     |  2 +-
 examples/camel-example-openapi-cdi/pom.xml           |  4 ++--
 examples/camel-example-openapi-osgi/pom.xml          |  2 +-
 examples/camel-example-pojo-messaging/pom.xml        |  4 ++--
 .../src/main/resources/features.xml                  | 12 ++++++------
 .../camel-example-reactive-executor-vertx/pom.xml    |  4 ++--
 .../core-rest/pom.xml                                |  2 +-
 .../distribution/pom.xml                             |  2 +-
 .../camel-example-rest-karaf-osgi-activator/pom.xml  |  2 +-
 .../provision/src/main/feature/feature.xml           | 20 ++++++++++----------
 .../src/main/filtered-resources/README.adoc          |  6 +++---
 .../tika-detect/pom.xml                              |  2 +-
 .../tika-parse/pom.xml                               |  2 +-
 examples/camel-example-route-throttling/pom.xml      |  2 +-
 .../src/main/resources/features.xml                  | 12 ++++++------
 .../camel-example-servlet-rest-blueprint/README.adoc |  6 +++---
 .../camel-example-servlet-rest-blueprint/pom.xml     |  2 +-
 examples/camel-example-servlet-tomcat/pom.xml        |  2 +-
 examples/camel-example-spark-rest/pom.xml            |  4 ++--
 examples/camel-example-splunk/pom.xml                |  2 +-
 examples/camel-example-spring-javaconfig/pom.xml     |  2 +-
 examples/camel-example-spring-jms/pom.xml            |  2 +-
 .../src/main/resources/features.xml                  | 10 +++++-----
 examples/camel-example-spring-pulsar/pom.xml         |  2 +-
 examples/camel-example-spring-security/pom.xml       |  2 +-
 examples/camel-example-spring-ws/pom.xml             |  4 ++--
 examples/camel-example-spring-xquery/pom.xml         |  4 ++--
 .../src/main/resources/features.xml                  | 14 +++++++-------
 examples/camel-example-spring/pom.xml                |  4 ++--
 .../src/main/resources/features.xml                  | 12 ++++++------
 examples/camel-example-sql-blueprint/pom.xml         |  4 ++--
 .../src/main/resources/features.xml                  | 12 ++++++------
 examples/camel-example-ssh-security/pom.xml          |  4 ++--
 .../src/main/resources/META-INF/feature/features.xml | 12 ++++++------
 examples/camel-example-ssh/pom.xml                   |  4 ++--
 .../src/main/resources/META-INF/feature/features.xml | 12 ++++++------
 examples/camel-example-swagger-cdi/pom.xml           |  4 ++--
 examples/camel-example-swagger-osgi/pom.xml          |  2 +-
 examples/camel-example-telegram/pom.xml              |  2 +-
 examples/camel-example-transformer-blueprint/pom.xml |  6 +++---
 .../src/main/resources/features.xml                  |  8 ++++----
 examples/camel-example-transformer-cdi/pom.xml       |  4 ++--
 examples/camel-example-transformer-demo/pom.xml      |  2 +-
 .../pom.xml                                          |  2 +-
 examples/camel-example-twitter-websocket/pom.xml     |  4 ++--
 examples/camel-example-widget-gadget-cdi/pom.xml     |  4 ++--
 examples/camel-example-widget-gadget-java/pom.xml    |  2 +-
 examples/camel-example-widget-gadget-xml/pom.xml     |  2 +-
 109 files changed, 251 insertions(+), 251 deletions(-)

diff --git a/examples/camel-example-activemq-tomcat/pom.xml b/examples/camel-example-activemq-tomcat/pom.xml
index 3a50231..e260449 100644
--- a/examples/camel-example-activemq-tomcat/pom.xml
+++ b/examples/camel-example-activemq-tomcat/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-aggregate/pom.xml b/examples/camel-example-aggregate/pom.xml
index ef4c5df..bec3249 100644
--- a/examples/camel-example-aggregate/pom.xml
+++ b/examples/camel-example-aggregate/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -100,7 +100,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
 
             <plugin>
diff --git a/examples/camel-example-aggregate/src/main/resources/features.xml b/examples/camel-example-aggregate/src/main/resources/features.xml
index 3a28a3c..53d829b 100644
--- a/examples/camel-example-aggregate/src/main/resources/features.xml
+++ b/examples/camel-example-aggregate/src/main/resources/features.xml
@@ -18,12 +18,12 @@
 
 -->
 <features>
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
 
-    <feature name='camel-example-aggregate' version='${project.version}'>
-        <feature version="${project.version}">camel</feature>
-        <feature version="${project.version}">camel-stream</feature>
-        <bundle>mvn:org.apache.camel.example/camel-example-aggregate/${project.version}</bundle>
+    <feature name='camel-example-aggregate' version='${camel.version}'>
+        <feature version="${camel.version}">camel</feature>
+        <feature version="${camel.version}">camel-stream</feature>
+        <bundle>mvn:org.apache.camel.example/camel-example-aggregate/${camel.version}</bundle>
     </feature>
 
 </features>
diff --git a/examples/camel-example-any23/pom.xml b/examples/camel-example-any23/pom.xml
index da2b411..c33bb2f 100644
--- a/examples/camel-example-any23/pom.xml
+++ b/examples/camel-example-any23/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-artemis-amqp-blueprint/pom.xml b/examples/camel-example-artemis-amqp-blueprint/pom.xml
index a44638a..1639bf4 100644
--- a/examples/camel-example-artemis-amqp-blueprint/pom.xml
+++ b/examples/camel-example-artemis-amqp-blueprint/pom.xml
@@ -46,7 +46,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -160,7 +160,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <useBlueprint>true</useBlueprint>
                 </configuration>
diff --git a/examples/camel-example-artemis-amqp-blueprint/src/main/resources/features.xml b/examples/camel-example-artemis-amqp-blueprint/src/main/resources/features.xml
index 973fdd6..5e117e8 100644
--- a/examples/camel-example-artemis-amqp-blueprint/src/main/resources/features.xml
+++ b/examples/camel-example-artemis-amqp-blueprint/src/main/resources/features.xml
@@ -18,14 +18,14 @@
 
 -->
 <features>
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
 
-    <feature name="${project.artifactId}" version="${project.version}">
-        <feature version="${project.version}">camel</feature>
-        <feature version="${project.version}">camel-blueprint</feature>
-        <feature version="${project.version}">camel-amqp</feature>
-        <feature version="${project.version}">camel-netty-http</feature>
-        <bundle>mvn:org.apache.camel.example/${project.artifactId}/${project.version}</bundle>
+    <feature name="${project.artifactId}" version="${camel.version}">
+        <feature version="${camel.version}">camel</feature>
+        <feature version="${camel.version}">camel-blueprint</feature>
+        <feature version="${camel.version}">camel-amqp</feature>
+        <feature version="${camel.version}">camel-netty-http</feature>
+        <bundle>mvn:org.apache.camel.example/${project.artifactId}/${camel.version}</bundle>
     </feature>
 
 </features>
diff --git a/examples/camel-example-artemis-large-messages/pom.xml b/examples/camel-example-artemis-large-messages/pom.xml
index 1c5c3bf..bc20ab0 100644
--- a/examples/camel-example-artemis-large-messages/pom.xml
+++ b/examples/camel-example-artemis-large-messages/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -100,7 +100,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
         </plugins>
     </build>
diff --git a/examples/camel-example-artemis/pom.xml b/examples/camel-example-artemis/pom.xml
index 7cb1368..a545b32 100644
--- a/examples/camel-example-artemis/pom.xml
+++ b/examples/camel-example-artemis/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-as2/pom.xml b/examples/camel-example-as2/pom.xml
index a9c916f..ab1a51c 100644
--- a/examples/camel-example-as2/pom.xml
+++ b/examples/camel-example-as2/pom.xml
@@ -39,7 +39,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -98,7 +98,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
         </plugins>
     </build>
diff --git a/examples/camel-example-bigxml-split/pom.xml b/examples/camel-example-bigxml-split/pom.xml
index 991065e..440755e 100644
--- a/examples/camel-example-bigxml-split/pom.xml
+++ b/examples/camel-example-bigxml-split/pom.xml
@@ -46,7 +46,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-billboard-aggr/pom.xml b/examples/camel-example-billboard-aggr/pom.xml
index 9704a04..198267a 100644
--- a/examples/camel-example-billboard-aggr/pom.xml
+++ b/examples/camel-example-billboard-aggr/pom.xml
@@ -45,7 +45,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-cafe-endpointdsl/pom.xml b/examples/camel-example-cafe-endpointdsl/pom.xml
index 46587e5..a5679b9 100644
--- a/examples/camel-example-cafe-endpointdsl/pom.xml
+++ b/examples/camel-example-cafe-endpointdsl/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -122,7 +122,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <mainClass>org.apache.camel.example.cafe.CafeRouteBuilder</mainClass>
                 </configuration>
diff --git a/examples/camel-example-cafe-endpointdsl/src/main/resources/features.xml b/examples/camel-example-cafe-endpointdsl/src/main/resources/features.xml
index 0a9dae7..1a5c2a5 100644
--- a/examples/camel-example-cafe-endpointdsl/src/main/resources/features.xml
+++ b/examples/camel-example-cafe-endpointdsl/src/main/resources/features.xml
@@ -18,11 +18,11 @@
 
 -->
 <features>
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
 
-    <feature name='camel-example-cafe-endpointdsl' version='${project.version}'>
-        <feature version="${project.version}">camel</feature>
-        <bundle>mvn:org.apache.camel.example/camel-example-cafe-endpointdsl/${project.version}</bundle>
+    <feature name='camel-example-cafe-endpointdsl' version='${camel.version}'>
+        <feature version="${camel.version}">camel</feature>
+        <bundle>mvn:org.apache.camel.example/camel-example-cafe-endpointdsl/${camel.version}</bundle>
     </feature>
 
 </features>
\ No newline at end of file
diff --git a/examples/camel-example-cafe/pom.xml b/examples/camel-example-cafe/pom.xml
index dc542d9..8025d07 100644
--- a/examples/camel-example-cafe/pom.xml
+++ b/examples/camel-example-cafe/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -121,7 +121,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
 
             <!-- Allows the example to be run via 'mvn compile exec:java' -->
diff --git a/examples/camel-example-cafe/src/main/resources/features.xml b/examples/camel-example-cafe/src/main/resources/features.xml
index 960c101..20242d1 100644
--- a/examples/camel-example-cafe/src/main/resources/features.xml
+++ b/examples/camel-example-cafe/src/main/resources/features.xml
@@ -18,11 +18,11 @@
 
 -->
 <features>
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
 
-    <feature name='camel-example-cafe' version='${project.version}'>
-        <feature version="${project.version}">camel</feature>
-        <bundle>mvn:org.apache.camel.example/camel-example-cafe/${project.version}</bundle>
+    <feature name='camel-example-cafe' version='${camel.version}'>
+        <feature version="${camel.version}">camel</feature>
+        <bundle>mvn:org.apache.camel.example/camel-example-cafe/${camel.version}</bundle>
     </feature>
 
 </features>
\ No newline at end of file
diff --git a/examples/camel-example-cassandra-kubernetes/pom.xml b/examples/camel-example-cassandra-kubernetes/pom.xml
index 2b03cda..7da9c7a 100644
--- a/examples/camel-example-cassandra-kubernetes/pom.xml
+++ b/examples/camel-example-cassandra-kubernetes/pom.xml
@@ -44,7 +44,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-cdi-aws-s3/pom.xml b/examples/camel-example-cdi-aws-s3/pom.xml
index c542c96..2c47743 100644
--- a/examples/camel-example-cdi-aws-s3/pom.xml
+++ b/examples/camel-example-cdi-aws-s3/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -101,7 +101,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-cdi-cassandraql/pom.xml b/examples/camel-example-cdi-cassandraql/pom.xml
index a056855..597fd0e 100644
--- a/examples/camel-example-cdi-cassandraql/pom.xml
+++ b/examples/camel-example-cdi-cassandraql/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -114,7 +114,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-cdi-kubernetes/pom.xml b/examples/camel-example-cdi-kubernetes/pom.xml
index 642c353..f44f074 100644
--- a/examples/camel-example-cdi-kubernetes/pom.xml
+++ b/examples/camel-example-cdi-kubernetes/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -97,7 +97,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-cdi-metrics/pom.xml b/examples/camel-example-cdi-metrics/pom.xml
index b25a09c..0654b36 100644
--- a/examples/camel-example-cdi-metrics/pom.xml
+++ b/examples/camel-example-cdi-metrics/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -136,7 +136,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-cdi-properties/pom.xml b/examples/camel-example-cdi-properties/pom.xml
index baad490..b42c98b 100644
--- a/examples/camel-example-cdi-properties/pom.xml
+++ b/examples/camel-example-cdi-properties/pom.xml
@@ -47,7 +47,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -133,7 +133,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-cdi-rest-servlet/pom.xml b/examples/camel-example-cdi-rest-servlet/pom.xml
index 9b6675b..6782f01 100644
--- a/examples/camel-example-cdi-rest-servlet/pom.xml
+++ b/examples/camel-example-cdi-rest-servlet/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-cdi-test/pom.xml b/examples/camel-example-cdi-test/pom.xml
index aa0e392..b88da56 100644
--- a/examples/camel-example-cdi-test/pom.xml
+++ b/examples/camel-example-cdi-test/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -118,7 +118,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-cdi-xml/pom.xml b/examples/camel-example-cdi-xml/pom.xml
index d1b357d..ab728f9 100644
--- a/examples/camel-example-cdi-xml/pom.xml
+++ b/examples/camel-example-cdi-xml/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -135,7 +135,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-cdi/pom.xml b/examples/camel-example-cdi/pom.xml
index 2925146..980fc35 100644
--- a/examples/camel-example-cdi/pom.xml
+++ b/examples/camel-example-cdi/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -79,7 +79,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-console/pom.xml b/examples/camel-example-console/pom.xml
index 98e257c..b7c2fa5 100644
--- a/examples/camel-example-console/pom.xml
+++ b/examples/camel-example-console/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -97,7 +97,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
 
         </plugins>
diff --git a/examples/camel-example-cxf-blueprint/pom.xml b/examples/camel-example-cxf-blueprint/pom.xml
index 785b5a1..ffa9d0b 100644
--- a/examples/camel-example-cxf-blueprint/pom.xml
+++ b/examples/camel-example-cxf-blueprint/pom.xml
@@ -47,7 +47,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-cxf-proxy/pom.xml b/examples/camel-example-cxf-proxy/pom.xml
index 39b51ed..5fd06f1 100644
--- a/examples/camel-example-cxf-proxy/pom.xml
+++ b/examples/camel-example-cxf-proxy/pom.xml
@@ -52,7 +52,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -170,7 +170,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
 
         </plugins>
diff --git a/examples/camel-example-cxf-tomcat/pom.xml b/examples/camel-example-cxf-tomcat/pom.xml
index 6fcb7d0..3f6cd2a 100644
--- a/examples/camel-example-cxf-tomcat/pom.xml
+++ b/examples/camel-example-cxf-tomcat/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-cxf-ws-security-signature/pom.xml b/examples/camel-example-cxf-ws-security-signature/pom.xml
index ce093a5..48533cf 100644
--- a/examples/camel-example-cxf-ws-security-signature/pom.xml
+++ b/examples/camel-example-cxf-ws-security-signature/pom.xml
@@ -45,7 +45,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -142,7 +142,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <fileApplicationContextUri>src/main/resources/META-INF/spring/camel-context.xml
                     </fileApplicationContextUri>
diff --git a/examples/camel-example-cxf/pom.xml b/examples/camel-example-cxf/pom.xml
index 22a0e1a..0126588 100644
--- a/examples/camel-example-cxf/pom.xml
+++ b/examples/camel-example-cxf/pom.xml
@@ -46,7 +46,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-debezium/pom.xml b/examples/camel-example-debezium/pom.xml
index 5bac3b7..fd3a2a5 100644
--- a/examples/camel-example-debezium/pom.xml
+++ b/examples/camel-example-debezium/pom.xml
@@ -41,7 +41,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-ehcache-blueprint/README.adoc b/examples/camel-example-ehcache-blueprint/README.adoc
index 89ece12..d7fd905 100644
--- a/examples/camel-example-ehcache-blueprint/README.adoc
+++ b/examples/camel-example-ehcache-blueprint/README.adoc
@@ -16,10 +16,10 @@ mvn install
 === Run with Karaf
 
 To install Apache Camel in Karaf you type in the shell (we use version
-$\{project.version}):
+$\{camel.version}):
 
 ....
-feature:repo-add camel ${project.version}
+feature:repo-add camel ${camel.version}
 feature:install camel
 ....
 
@@ -34,7 +34,7 @@ feature:install camel-jackson
 Then you can install the example:
 
 ....
-install -s mvn:org.apache.camel.example/camel-example-ehcache-blueprint/${project.version}
+install -s mvn:org.apache.camel.example/camel-example-ehcache-blueprint/${camel.version}
 ....
 
 And you can see the application running by tailing the logs:
diff --git a/examples/camel-example-ehcache-blueprint/pom.xml b/examples/camel-example-ehcache-blueprint/pom.xml
index d28ac41..23edff0 100644
--- a/examples/camel-example-ehcache-blueprint/pom.xml
+++ b/examples/camel-example-ehcache-blueprint/pom.xml
@@ -50,7 +50,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-fhir-osgi/pom.xml b/examples/camel-example-fhir-osgi/pom.xml
index d574c06..50fc43a 100644
--- a/examples/camel-example-fhir-osgi/pom.xml
+++ b/examples/camel-example-fhir-osgi/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -50,7 +50,7 @@
             <dependency>
                 <groupId>org.apache.camel.karaf</groupId>
                 <artifactId>camel-karaf-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -180,7 +180,7 @@
         <dependency>
             <groupId>org.apache.camel.karaf</groupId>
             <artifactId>apache-camel</artifactId>
-            <version>${project.version}</version>
+            <version>${camel.version}</version>
             <classifier>features</classifier>
             <type>xml</type>
             <scope>test</scope>
@@ -197,7 +197,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
 
             <plugin>
diff --git a/examples/camel-example-fhir/pom.xml b/examples/camel-example-fhir/pom.xml
index 8a2a6ec..f8a2932 100644
--- a/examples/camel-example-fhir/pom.xml
+++ b/examples/camel-example-fhir/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -111,7 +111,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-ftp/pom.xml b/examples/camel-example-ftp/pom.xml
index 9d5aebe..687cb84 100644
--- a/examples/camel-example-ftp/pom.xml
+++ b/examples/camel-example-ftp/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-hazelcast-kubernetes/pom.xml b/examples/camel-example-hazelcast-kubernetes/pom.xml
index 566cfbb..70df758 100644
--- a/examples/camel-example-hazelcast-kubernetes/pom.xml
+++ b/examples/camel-example-hazelcast-kubernetes/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-java8/pom.xml b/examples/camel-example-java8/pom.xml
index 76a3280..129ad03 100644
--- a/examples/camel-example-java8/pom.xml
+++ b/examples/camel-example-java8/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -101,7 +101,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <mainClass>org.apache.camel.example.java8.MyApplication</mainClass>
                 </configuration>
diff --git a/examples/camel-example-jdbc/pom.xml b/examples/camel-example-jdbc/pom.xml
index 4fc676d..e38de09 100644
--- a/examples/camel-example-jdbc/pom.xml
+++ b/examples/camel-example-jdbc/pom.xml
@@ -46,7 +46,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -109,7 +109,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
         </plugins>
     </build>
diff --git a/examples/camel-example-jms-file/pom.xml b/examples/camel-example-jms-file/pom.xml
index 1c0c5fe..fb9f543 100644
--- a/examples/camel-example-jms-file/pom.xml
+++ b/examples/camel-example-jms-file/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-jmx/pom.xml b/examples/camel-example-jmx/pom.xml
index 4a12ea0..80e2554 100644
--- a/examples/camel-example-jmx/pom.xml
+++ b/examples/camel-example-jmx/pom.xml
@@ -45,7 +45,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -106,7 +106,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
         </plugins>
 
diff --git a/examples/camel-example-jooq/pom.xml b/examples/camel-example-jooq/pom.xml
index aec28a7..1318bb8 100644
--- a/examples/camel-example-jooq/pom.xml
+++ b/examples/camel-example-jooq/pom.xml
@@ -44,7 +44,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -237,7 +237,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
 
                 <dependencies>
                     <dependency>
diff --git a/examples/camel-example-kafka/pom.xml b/examples/camel-example-kafka/pom.xml
index 04fb3d7..f2bff98 100644
--- a/examples/camel-example-kafka/pom.xml
+++ b/examples/camel-example-kafka/pom.xml
@@ -41,7 +41,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-kotlin/pom.xml b/examples/camel-example-kotlin/pom.xml
index 4fc5b83..f0f7445 100644
--- a/examples/camel-example-kotlin/pom.xml
+++ b/examples/camel-example-kotlin/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-loadbalancing/pom.xml b/examples/camel-example-loadbalancing/pom.xml
index f00716a..2989117 100644
--- a/examples/camel-example-loadbalancing/pom.xml
+++ b/examples/camel-example-loadbalancing/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-loan-broker-cxf/pom.xml b/examples/camel-example-loan-broker-cxf/pom.xml
index e5bba0f..755c525 100644
--- a/examples/camel-example-loan-broker-cxf/pom.xml
+++ b/examples/camel-example-loan-broker-cxf/pom.xml
@@ -52,7 +52,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-loan-broker-cxf/src/main/resources/features.xml b/examples/camel-example-loan-broker-cxf/src/main/resources/features.xml
index 1114176..acf245f 100644
--- a/examples/camel-example-loan-broker-cxf/src/main/resources/features.xml
+++ b/examples/camel-example-loan-broker-cxf/src/main/resources/features.xml
@@ -18,13 +18,13 @@
 
 -->
 <features>
-  <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features
+  <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features
   </repository>
 
-  <feature name='camel-example-loan-broker' version='${project.version}'>
-    <feature version="${project.version}">camel</feature>
-    <feature version="${project.version}">camel-cxf</feature>
-    <bundle>mvn:org.apache.camel.example/camel-example-loan-broker-cxf/${project.version}
+  <feature name='camel-example-loan-broker' version='${camel.version}'>
+    <feature version="${camel.version}">camel</feature>
+    <feature version="${camel.version}">camel-cxf</feature>
+    <bundle>mvn:org.apache.camel.example/camel-example-loan-broker-cxf/${camel.version}
     </bundle>
   </feature>
 
diff --git a/examples/camel-example-loan-broker-jms/pom.xml b/examples/camel-example-loan-broker-jms/pom.xml
index bcfbe55..4f94f90 100644
--- a/examples/camel-example-loan-broker-jms/pom.xml
+++ b/examples/camel-example-loan-broker-jms/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-loan-broker-jms/src/main/resources/features.xml b/examples/camel-example-loan-broker-jms/src/main/resources/features.xml
index de7f684..bcc7b15 100644
--- a/examples/camel-example-loan-broker-jms/src/main/resources/features.xml
+++ b/examples/camel-example-loan-broker-jms/src/main/resources/features.xml
@@ -18,9 +18,9 @@
 
 -->
 <features>
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
     
-    <feature name='activemq-feature' version='${project.version}'>
+    <feature name='activemq-feature' version='${camel.version}'>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
@@ -33,10 +33,10 @@
        <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
     </feature>
     
-    <feature name='camel-example-loan-broker' version='${project.version}'>
-        <feature version="${project.version}">camel</feature>
-        <feature version="${project.version}">camel-activemq</feature>
-        <bundle>mvn:org.apache.camel.example/camel-example-loan-broker-jms/${project.version}</bundle>
+    <feature name='camel-example-loan-broker' version='${camel.version}'>
+        <feature version="${camel.version}">camel</feature>
+        <feature version="${camel.version}">camel-activemq</feature>
+        <bundle>mvn:org.apache.camel.example/camel-example-loan-broker-jms/${camel.version}</bundle>
     </feature>
 
 </features>
diff --git a/examples/camel-example-main-artemis/pom.xml b/examples/camel-example-main-artemis/pom.xml
index 05080fe..0e110e0 100644
--- a/examples/camel-example-main-artemis/pom.xml
+++ b/examples/camel-example-main-artemis/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -103,7 +103,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <logClasspath>true</logClasspath>
                     <mainClass>org.apache.camel.example.MyApplication</mainClass>
@@ -116,7 +116,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-main-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <logClasspath>false</logClasspath>
                     <!-- lets show which options are unmapped -->
diff --git a/examples/camel-example-main-tiny/pom.xml b/examples/camel-example-main-tiny/pom.xml
index 39e14ce..6aa429c 100644
--- a/examples/camel-example-main-tiny/pom.xml
+++ b/examples/camel-example-main-tiny/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -102,7 +102,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <logClasspath>true</logClasspath>
                     <mainClass>org.apache.camel.example.MyApplication</mainClass>
@@ -115,7 +115,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-main-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <logClasspath>false</logClasspath>
                 </configuration>
diff --git a/examples/camel-example-main-xml/pom.xml b/examples/camel-example-main-xml/pom.xml
index f6c6e76..2a19c7b 100644
--- a/examples/camel-example-main-xml/pom.xml
+++ b/examples/camel-example-main-xml/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -101,7 +101,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <logClasspath>true</logClasspath>
                     <mainClass>org.apache.camel.example.MyApplication</mainClass>
@@ -114,7 +114,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-main-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <logClasspath>false</logClasspath>
                 </configuration>
diff --git a/examples/camel-example-main/pom.xml b/examples/camel-example-main/pom.xml
index faf281a..fb442f3 100644
--- a/examples/camel-example-main/pom.xml
+++ b/examples/camel-example-main/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -90,7 +90,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <logClasspath>true</logClasspath>
                     <mainClass>org.apache.camel.example.MyApplication</mainClass>
@@ -103,7 +103,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-main-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <logClasspath>false</logClasspath>
                 </configuration>
diff --git a/examples/camel-example-management/pom.xml b/examples/camel-example-management/pom.xml
index 951540f..19e523d 100644
--- a/examples/camel-example-management/pom.xml
+++ b/examples/camel-example-management/pom.xml
@@ -46,7 +46,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -168,7 +168,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
         </plugins>
     </build>
diff --git a/examples/camel-example-management/src/main/resources/features.xml b/examples/camel-example-management/src/main/resources/features.xml
index 34985d8..3dcbfa4 100644
--- a/examples/camel-example-management/src/main/resources/features.xml
+++ b/examples/camel-example-management/src/main/resources/features.xml
@@ -18,9 +18,9 @@
 
 -->
 <features>
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
     
-    <feature name='activemq-feature' version='${project.version}'>
+    <feature name='activemq-feature' version='${camel.version}'>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
@@ -33,10 +33,10 @@
        <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
     </feature>
     
-    <feature name='camel-example-management' version='${project.version}'>
-        <feature version="${project.version}">camel</feature>
-        <feature version="${project.version}">camel-activemq</feature>
-        <bundle>mvn:org.apache.camel.example/camel-example-management/${project.version}</bundle>
+    <feature name='camel-example-management' version='${camel.version}'>
+        <feature version="${camel.version}">camel</feature>
+        <feature version="${camel.version}">camel-activemq</feature>
+        <bundle>mvn:org.apache.camel.example/camel-example-management/${camel.version}</bundle>
     </feature>
 
 </features>
diff --git a/examples/camel-example-micrometer/pom.xml b/examples/camel-example-micrometer/pom.xml
index 3803567..c346018 100644
--- a/examples/camel-example-micrometer/pom.xml
+++ b/examples/camel-example-micrometer/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-mybatis/pom.xml b/examples/camel-example-mybatis/pom.xml
index fc49436..016b7b3 100644
--- a/examples/camel-example-mybatis/pom.xml
+++ b/examples/camel-example-mybatis/pom.xml
@@ -45,7 +45,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-mybatis/src/main/resources/features.xml b/examples/camel-example-mybatis/src/main/resources/features.xml
index e70086e..7cd4a97 100644
--- a/examples/camel-example-mybatis/src/main/resources/features.xml
+++ b/examples/camel-example-mybatis/src/main/resources/features.xml
@@ -19,13 +19,13 @@
 -->
 <features>
 
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
 
-    <feature name="camel-example-mybatis" version="${project.version}">
-        <feature version="${project.version}">camel-blueprint</feature>
-        <feature version="${project.version}">camel-mybatis</feature>
+    <feature name="camel-example-mybatis" version="${camel.version}">
+        <feature version="${camel.version}">camel-blueprint</feature>
+        <feature version="${camel.version}">camel-mybatis</feature>
         <bundle>mvn:org.apache.derby/derby/${derby-version}</bundle>
-        <bundle>mvn:org.apache.camel.example/camel-example-mybatis/${project.version}</bundle>
+        <bundle>mvn:org.apache.camel.example/camel-example-mybatis/${camel.version}</bundle>
     </feature>
 
 </features>
diff --git a/examples/camel-example-netty-custom-correlation/pom.xml b/examples/camel-example-netty-custom-correlation/pom.xml
index 9447372..4a00a63 100644
--- a/examples/camel-example-netty-custom-correlation/pom.xml
+++ b/examples/camel-example-netty-custom-correlation/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-netty-http/pom.xml b/examples/camel-example-netty-http/pom.xml
index 6f3daeb..c9b1fe5 100644
--- a/examples/camel-example-netty-http/pom.xml
+++ b/examples/camel-example-netty-http/pom.xml
@@ -47,7 +47,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-olingo4-blueprint/pom.xml b/examples/camel-example-olingo4-blueprint/pom.xml
index 55e3a7f..268c5bc 100644
--- a/examples/camel-example-olingo4-blueprint/pom.xml
+++ b/examples/camel-example-olingo4-blueprint/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-openapi-cdi/pom.xml b/examples/camel-example-openapi-cdi/pom.xml
index ee16a1a..57f9601 100644
--- a/examples/camel-example-openapi-cdi/pom.xml
+++ b/examples/camel-example-openapi-cdi/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -94,7 +94,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-openapi-osgi/pom.xml b/examples/camel-example-openapi-osgi/pom.xml
index 000f03c..9cfd449 100644
--- a/examples/camel-example-openapi-osgi/pom.xml
+++ b/examples/camel-example-openapi-osgi/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-pojo-messaging/pom.xml b/examples/camel-example-pojo-messaging/pom.xml
index b41cb14..ecc5747 100644
--- a/examples/camel-example-pojo-messaging/pom.xml
+++ b/examples/camel-example-pojo-messaging/pom.xml
@@ -48,7 +48,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -170,7 +170,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
 
         </plugins>
diff --git a/examples/camel-example-pojo-messaging/src/main/resources/features.xml b/examples/camel-example-pojo-messaging/src/main/resources/features.xml
index 4600cb1..21f734d 100644
--- a/examples/camel-example-pojo-messaging/src/main/resources/features.xml
+++ b/examples/camel-example-pojo-messaging/src/main/resources/features.xml
@@ -18,9 +18,9 @@
 
 -->
 <features>
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
     
-    <feature name='activemq-feature' version='${project.version}'>
+    <feature name='activemq-feature' version='${camel.version}'>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
@@ -33,10 +33,10 @@
        <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
     </feature>
     
-    <feature name='camel-example-pojo-messaging' version='${project.version}'>
-        <feature version="${project.version}">camel</feature>
-        <feature version="${project.version}">camel-activemq</feature>
-        <bundle>mvn:org.apache.camel.example/camel-example-pojo-messaging/${project.version}</bundle>
+    <feature name='camel-example-pojo-messaging' version='${camel.version}'>
+        <feature version="${camel.version}">camel</feature>
+        <feature version="${camel.version}">camel-activemq</feature>
+        <bundle>mvn:org.apache.camel.example/camel-example-pojo-messaging/${camel.version}</bundle>
     </feature>
 
 </features>
diff --git a/examples/camel-example-reactive-executor-vertx/pom.xml b/examples/camel-example-reactive-executor-vertx/pom.xml
index 99157fa..0c72c7d 100644
--- a/examples/camel-example-reactive-executor-vertx/pom.xml
+++ b/examples/camel-example-reactive-executor-vertx/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -98,7 +98,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <mainClass>org.apache.camel.example.MyApplication</mainClass>
                 </configuration>
diff --git a/examples/camel-example-rest-karaf-osgi-activator/core-rest/pom.xml b/examples/camel-example-rest-karaf-osgi-activator/core-rest/pom.xml
index 6d9b0be..6d77fcb 100644
--- a/examples/camel-example-rest-karaf-osgi-activator/core-rest/pom.xml
+++ b/examples/camel-example-rest-karaf-osgi-activator/core-rest/pom.xml
@@ -54,7 +54,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
 
             <plugin>
diff --git a/examples/camel-example-rest-karaf-osgi-activator/distribution/pom.xml b/examples/camel-example-rest-karaf-osgi-activator/distribution/pom.xml
index a1a9573..91b0b25 100644
--- a/examples/camel-example-rest-karaf-osgi-activator/distribution/pom.xml
+++ b/examples/camel-example-rest-karaf-osgi-activator/distribution/pom.xml
@@ -61,7 +61,7 @@
          <dependency>
             <groupId>org.apache.camel.example</groupId>
             <artifactId>camel-example-rest-karaf-osgi-activator-provision</artifactId>
-            <version>${project.version}</version>
+            <version>${camel.version}</version>
             <type>kar</type>
             <scope>runtime</scope>
         </dependency>
diff --git a/examples/camel-example-rest-karaf-osgi-activator/pom.xml b/examples/camel-example-rest-karaf-osgi-activator/pom.xml
index 7a7919c..fb7c290 100644
--- a/examples/camel-example-rest-karaf-osgi-activator/pom.xml
+++ b/examples/camel-example-rest-karaf-osgi-activator/pom.xml
@@ -44,7 +44,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-rest-karaf-osgi-activator/provision/src/main/feature/feature.xml b/examples/camel-example-rest-karaf-osgi-activator/provision/src/main/feature/feature.xml
index 3d86c49..6365181 100644
--- a/examples/camel-example-rest-karaf-osgi-activator/provision/src/main/feature/feature.xml
+++ b/examples/camel-example-rest-karaf-osgi-activator/provision/src/main/feature/feature.xml
@@ -18,16 +18,16 @@
 
 -->
 <features xmlns="http://karaf.apache.org/xmlns/features/v1.5.0" name="provision">
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
-    <feature name="camel-example-rest-karaf-osgi-activator-provision" description="camel-example-rest-karaf-osgi-activator-provision" version="${project.version}">
-        <feature version='${project.version}'>camel-core</feature>
-        <feature version='${project.version}'>camel-jackson</feature>
-        <feature version='${project.version}'>camel-netty-http</feature>
-        <feature version='${project.version}'>camel-swagger-java</feature>
-        <feature version='${project.version}'>camel-tika</feature>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
+    <feature name="camel-example-rest-karaf-osgi-activator-provision" description="camel-example-rest-karaf-osgi-activator-provision" version="${camel.version}">
+        <feature version='${camel.version}'>camel-core</feature>
+        <feature version='${camel.version}'>camel-jackson</feature>
+        <feature version='${camel.version}'>camel-netty-http</feature>
+        <feature version='${camel.version}'>camel-swagger-java</feature>
+        <feature version='${camel.version}'>camel-tika</feature>
         <feature>webconsole</feature>
-        <bundle start-level='50'>mvn:org.apache.camel/camel-osgi-activator/${project.version}</bundle>
-        <bundle>mvn:org.apache.camel.example/camel-example-rest-karaf-osgi-activator-core-rest/${project.version}</bundle>
-        <bundle>mvn:org.apache.camel.example/camel-example-rest-karaf-osgi-activator-tika-detect/${project.version}</bundle>
+        <bundle start-level='50'>mvn:org.apache.camel/camel-osgi-activator/${camel.version}</bundle>
+        <bundle>mvn:org.apache.camel.example/camel-example-rest-karaf-osgi-activator-core-rest/${camel.version}</bundle>
+        <bundle>mvn:org.apache.camel.example/camel-example-rest-karaf-osgi-activator-tika-detect/${camel.version}</bundle>
     </feature>
 </features>
diff --git a/examples/camel-example-rest-karaf-osgi-activator/src/main/filtered-resources/README.adoc b/examples/camel-example-rest-karaf-osgi-activator/src/main/filtered-resources/README.adoc
index 76154d5..932aeb9 100644
--- a/examples/camel-example-rest-karaf-osgi-activator/src/main/filtered-resources/README.adoc
+++ b/examples/camel-example-rest-karaf-osgi-activator/src/main/filtered-resources/README.adoc
@@ -47,20 +47,20 @@ $ bin/karaf
 +
 [source,sh]
 ----
-curl http://localhost:8080/camel-rest-osgi-activator/tika/detect?filePath=system/org/apache/camel/example/camel-example-rest-karaf-osgi-activator-tika-detect/${project.version}/camel-example-rest-karaf-osgi-activator-tika-detect-${project.version}.jar
+curl http://localhost:8080/camel-rest-osgi-activator/tika/detect?filePath=system/org/apache/camel/example/camel-example-rest-karaf-osgi-activator-tika-detect/${camel.version}/camel-example-rest-karaf-osgi-activator-tika-detect-${camel.version}.jar
 ----
 +
 . Install a new bundle with it's own REST route
 +
 [source,sh]
 ----
-karaf@root()> install -s mvn:org.apache.camel.example/camel-example-rest-karaf-osgi-activator-tika-parse/${project.version}
+karaf@root()> install -s mvn:org.apache.camel.example/camel-example-rest-karaf-osgi-activator-tika-parse/${camel.version}
 ----
 . This will expose a new route that can be tested without restarting
 +
 [source,sh]
 ----
-curl http://localhost:8080/camel-rest-osgi-activator/tika/parse?filePath=system/org/apache/camel/example/camel-example-rest-karaf-osgi-activator-tika-detect/${project.version}/camel-example-rest-karaf-osgi-activator-tika-detect-${project.version}.jar
+curl http://localhost:8080/camel-rest-osgi-activator/tika/parse?filePath=system/org/apache/camel/example/camel-example-rest-karaf-osgi-activator-tika-detect/${camel.version}/camel-example-rest-karaf-osgi-activator-tika-detect-${camel.version}.jar
 ----
 
 === Help and contributions
diff --git a/examples/camel-example-rest-karaf-osgi-activator/tika-detect/pom.xml b/examples/camel-example-rest-karaf-osgi-activator/tika-detect/pom.xml
index 0153161..77ee06c 100644
--- a/examples/camel-example-rest-karaf-osgi-activator/tika-detect/pom.xml
+++ b/examples/camel-example-rest-karaf-osgi-activator/tika-detect/pom.xml
@@ -53,7 +53,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
 
             <plugin>
diff --git a/examples/camel-example-rest-karaf-osgi-activator/tika-parse/pom.xml b/examples/camel-example-rest-karaf-osgi-activator/tika-parse/pom.xml
index 675415a..77e3968 100644
--- a/examples/camel-example-rest-karaf-osgi-activator/tika-parse/pom.xml
+++ b/examples/camel-example-rest-karaf-osgi-activator/tika-parse/pom.xml
@@ -53,7 +53,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
 
             <plugin>
diff --git a/examples/camel-example-route-throttling/pom.xml b/examples/camel-example-route-throttling/pom.xml
index 8083149..52630c2 100644
--- a/examples/camel-example-route-throttling/pom.xml
+++ b/examples/camel-example-route-throttling/pom.xml
@@ -48,7 +48,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-route-throttling/src/main/resources/features.xml b/examples/camel-example-route-throttling/src/main/resources/features.xml
index 05c41f9..0ea388c 100644
--- a/examples/camel-example-route-throttling/src/main/resources/features.xml
+++ b/examples/camel-example-route-throttling/src/main/resources/features.xml
@@ -18,9 +18,9 @@
 
 -->
 <features>
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
     
-    <feature name='activemq-feature' version='${project.version}'>
+    <feature name='activemq-feature' version='${camel.version}'>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
@@ -33,10 +33,10 @@
        <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
     </feature>
     
-    <feature name='camel-example-route-throttling' version='${project.version}'>
-        <feature version="${project.version}">camel</feature>
-        <feature version="${project.version}">camel-activemq</feature>
-        <bundle>mvn:org.apache.camel.example/camel-example-route-throttling/${project.version}</bundle>
+    <feature name='camel-example-route-throttling' version='${camel.version}'>
+        <feature version="${camel.version}">camel</feature>
+        <feature version="${camel.version}">camel-activemq</feature>
+        <bundle>mvn:org.apache.camel.example/camel-example-route-throttling/${camel.version}</bundle>
     </feature>
 
 </features>
diff --git a/examples/camel-example-servlet-rest-blueprint/README.adoc b/examples/camel-example-servlet-rest-blueprint/README.adoc
index 1ba42b1..b400350 100644
--- a/examples/camel-example-servlet-rest-blueprint/README.adoc
+++ b/examples/camel-example-servlet-rest-blueprint/README.adoc
@@ -16,10 +16,10 @@ mvn install
 === Run
 
 To install Apache Camel in Karaf you type in the shell (we use version
-$\{project.version}):
+$\{camel.version}):
 
 ....
-feature:repo-add camel ${project.version}
+feature:repo-add camel ${camel.version}
 feature:install camel
 ....
 
@@ -35,7 +35,7 @@ feature:install war
 Then you can install the Camel example:
 
 ....
-install -s mvn:org.apache.camel.example/camel-example-servlet-rest-blueprint/${project.version}
+install -s mvn:org.apache.camel.example/camel-example-servlet-rest-blueprint/${camel.version}
 ....
 
 And you can see the application running by tailing the logs
diff --git a/examples/camel-example-servlet-rest-blueprint/pom.xml b/examples/camel-example-servlet-rest-blueprint/pom.xml
index ed9ccc6..c03ba8c 100644
--- a/examples/camel-example-servlet-rest-blueprint/pom.xml
+++ b/examples/camel-example-servlet-rest-blueprint/pom.xml
@@ -50,7 +50,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-servlet-tomcat/pom.xml b/examples/camel-example-servlet-tomcat/pom.xml
index 9badc66..8263a83 100644
--- a/examples/camel-example-servlet-tomcat/pom.xml
+++ b/examples/camel-example-servlet-tomcat/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-spark-rest/pom.xml b/examples/camel-example-spark-rest/pom.xml
index 24a053b..36ba536 100644
--- a/examples/camel-example-spark-rest/pom.xml
+++ b/examples/camel-example-spark-rest/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -104,7 +104,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <mainClass>org.apache.camel.example.spark.UserMain</mainClass>
                 </configuration>
diff --git a/examples/camel-example-splunk/pom.xml b/examples/camel-example-splunk/pom.xml
index 5a9ef82..3e7ef55 100644
--- a/examples/camel-example-splunk/pom.xml
+++ b/examples/camel-example-splunk/pom.xml
@@ -41,7 +41,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-spring-javaconfig/pom.xml b/examples/camel-example-spring-javaconfig/pom.xml
index 4b002fb..5805008 100644
--- a/examples/camel-example-spring-javaconfig/pom.xml
+++ b/examples/camel-example-spring-javaconfig/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-spring-jms/pom.xml b/examples/camel-example-spring-jms/pom.xml
index e6b9465..a804775 100644
--- a/examples/camel-example-spring-jms/pom.xml
+++ b/examples/camel-example-spring-jms/pom.xml
@@ -47,7 +47,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-spring-jms/src/main/resources/features.xml b/examples/camel-example-spring-jms/src/main/resources/features.xml
index 2cb74bc..fbfa01a 100644
--- a/examples/camel-example-spring-jms/src/main/resources/features.xml
+++ b/examples/camel-example-spring-jms/src/main/resources/features.xml
@@ -18,14 +18,14 @@
 
 -->
 <features>
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
     <repository>mvn:org.apache.activemq/activemq-karaf/${activemq-version}/xml/features</repository>
 
-    <feature name='camel-example-spring-jms' version='${project.version}'>
+    <feature name='camel-example-spring-jms' version='${camel.version}'>
         <feature>activemq-broker-noweb</feature>
-        <feature version="${project.version}">camel</feature>
-        <feature version="${project.version}">camel-activemq</feature>
-        <bundle>mvn:org.apache.camel.example/camel-example-spring-jms/${project.version}</bundle>
+        <feature version="${camel.version}">camel</feature>
+        <feature version="${camel.version}">camel-activemq</feature>
+        <bundle>mvn:org.apache.camel.example/camel-example-spring-jms/${camel.version}</bundle>
     </feature>
 
 </features>
diff --git a/examples/camel-example-spring-pulsar/pom.xml b/examples/camel-example-spring-pulsar/pom.xml
index 0abd9a3..81bac85 100644
--- a/examples/camel-example-spring-pulsar/pom.xml
+++ b/examples/camel-example-spring-pulsar/pom.xml
@@ -40,7 +40,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-spring-security/pom.xml b/examples/camel-example-spring-security/pom.xml
index 9f75bde..c48f2ad 100644
--- a/examples/camel-example-spring-security/pom.xml
+++ b/examples/camel-example-spring-security/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-spring-ws/pom.xml b/examples/camel-example-spring-ws/pom.xml
index aa64c1e..61d71c0 100644
--- a/examples/camel-example-spring-ws/pom.xml
+++ b/examples/camel-example-spring-ws/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -126,7 +126,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
 
             <!-- so we can run mvn jetty:run -->
diff --git a/examples/camel-example-spring-xquery/pom.xml b/examples/camel-example-spring-xquery/pom.xml
index fbca050..a0f2b03 100644
--- a/examples/camel-example-spring-xquery/pom.xml
+++ b/examples/camel-example-spring-xquery/pom.xml
@@ -47,7 +47,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -153,7 +153,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
         </plugins>
 
diff --git a/examples/camel-example-spring-xquery/src/main/resources/features.xml b/examples/camel-example-spring-xquery/src/main/resources/features.xml
index bea32d3..753431b 100644
--- a/examples/camel-example-spring-xquery/src/main/resources/features.xml
+++ b/examples/camel-example-spring-xquery/src/main/resources/features.xml
@@ -18,9 +18,9 @@
 
 -->
 <features>
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
     
-    <feature name='activemq-feature' version='${project.version}'>
+    <feature name='activemq-feature' version='${camel.version}'>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
@@ -33,11 +33,11 @@
        <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
     </feature>
     
-    <feature name='camel-example-spring-xquery' version='${project.version}'>
-        <feature version="${project.version}">camel</feature>
-        <feature version="${project.version}">camel-activemq</feature>
-        <feature version="${project.version}">camel-saxon</feature>
-        <bundle>mvn:org.apache.camel.example/camel-example-spring-xquery/${project.version}</bundle>
+    <feature name='camel-example-spring-xquery' version='${camel.version}'>
+        <feature version="${camel.version}">camel</feature>
+        <feature version="${camel.version}">camel-activemq</feature>
+        <feature version="${camel.version}">camel-saxon</feature>
+        <bundle>mvn:org.apache.camel.example/camel-example-spring-xquery/${camel.version}</bundle>
     </feature>
 
 </features>
diff --git a/examples/camel-example-spring/pom.xml b/examples/camel-example-spring/pom.xml
index 07cba75..8f1cc03 100644
--- a/examples/camel-example-spring/pom.xml
+++ b/examples/camel-example-spring/pom.xml
@@ -46,7 +46,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -146,7 +146,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
 
         </plugins>
diff --git a/examples/camel-example-spring/src/main/resources/features.xml b/examples/camel-example-spring/src/main/resources/features.xml
index 7b696f3..0475216 100644
--- a/examples/camel-example-spring/src/main/resources/features.xml
+++ b/examples/camel-example-spring/src/main/resources/features.xml
@@ -18,9 +18,9 @@
 
 -->
 <features>
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
     
-    <feature name='activemq-feature' version='${project.version}'>
+    <feature name='activemq-feature' version='${camel.version}'>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
@@ -33,10 +33,10 @@
        <bundle>mvn:org.apache.activemq/activemq-pool/${activemq-version}</bundle>
     </feature>
     
-    <feature name='camel-example-spring' version='${project.version}'>
-        <feature version="${project.version}">camel</feature>
-        <feature version="${project.version}">camel-activemq</feature>
-        <bundle>mvn:org.apache.camel.example/camel-example-spring/${project.version}</bundle>
+    <feature name='camel-example-spring' version='${camel.version}'>
+        <feature version="${camel.version}">camel</feature>
+        <feature version="${camel.version}">camel-activemq</feature>
+        <bundle>mvn:org.apache.camel.example/camel-example-spring/${camel.version}</bundle>
     </feature>
 
 </features>
diff --git a/examples/camel-example-sql-blueprint/pom.xml b/examples/camel-example-sql-blueprint/pom.xml
index a101f42..13cffab 100644
--- a/examples/camel-example-sql-blueprint/pom.xml
+++ b/examples/camel-example-sql-blueprint/pom.xml
@@ -48,7 +48,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -115,7 +115,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
diff --git a/examples/camel-example-sql-blueprint/src/main/resources/features.xml b/examples/camel-example-sql-blueprint/src/main/resources/features.xml
index a069cfc..8ef41c1 100644
--- a/examples/camel-example-sql-blueprint/src/main/resources/features.xml
+++ b/examples/camel-example-sql-blueprint/src/main/resources/features.xml
@@ -18,16 +18,16 @@
 
 -->
 <features>
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
 
-    <feature name="camel-example-sql-blueprint" version="${project.version}">
-        <feature version="${project.version}">camel</feature>
-        <feature version="${project.version}">camel-blueprint</feature>
-        <feature version="${project.version}">camel-sql</feature>
+    <feature name="camel-example-sql-blueprint" version="${camel.version}">
+        <feature version="${camel.version}">camel</feature>
+        <feature version="${camel.version}">camel-blueprint</feature>
+        <feature version="${camel.version}">camel-sql</feature>
         <bundle>mvn:org.apache.derby/derby/${derby-version}</bundle>
         <bundle>mvn:org.apache.commons/commons-pool2/${commons-pool2-version}</bundle>
         <bundle>wrap:mvn:org.apache.commons/commons-dbcp2/${commons-dbcp2-version}$overwrite=merge&amp;DynamicImport-Package=*</bundle>
-        <bundle>mvn:org.apache.camel.example/camel-example-sql-blueprint/${project.version}</bundle>
+        <bundle>mvn:org.apache.camel.example/camel-example-sql-blueprint/${camel.version}</bundle>
     </feature>
 
 </features>
diff --git a/examples/camel-example-ssh-security/pom.xml b/examples/camel-example-ssh-security/pom.xml
index 95bd880..5a2135d 100644
--- a/examples/camel-example-ssh-security/pom.xml
+++ b/examples/camel-example-ssh-security/pom.xml
@@ -46,7 +46,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -188,7 +188,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
         </plugins>
     </build>
diff --git a/examples/camel-example-ssh-security/src/main/resources/META-INF/feature/features.xml b/examples/camel-example-ssh-security/src/main/resources/META-INF/feature/features.xml
index 25def80..ca233e0 100644
--- a/examples/camel-example-ssh-security/src/main/resources/META-INF/feature/features.xml
+++ b/examples/camel-example-ssh-security/src/main/resources/META-INF/feature/features.xml
@@ -17,15 +17,15 @@
     limitations under the License.
 
 -->
-<features name="camel-example-ssh-security-${project.version}"
+<features name="camel-example-ssh-security-${camel.version}"
           xmlns="http://karaf.apache.org/xmlns/features/v1.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.0.0 http://karaf.apache.org/xmlns/features/v1.0.0">
-  <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+  <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
 
-  <feature name="camel-example-ssh-security" version="${project.version}">
-    <feature version="${project.version}">camel-ssh</feature>
-    <feature version="${project.version}">camel-spring</feature>
-    <bundle>mvn:org.apache.camel.example/camel-example-ssh-security/${project.version}</bundle>
+  <feature name="camel-example-ssh-security" version="${camel.version}">
+    <feature version="${camel.version}">camel-ssh</feature>
+    <feature version="${camel.version}">camel-spring</feature>
+    <bundle>mvn:org.apache.camel.example/camel-example-ssh-security/${camel.version}</bundle>
   </feature>
 </features>
diff --git a/examples/camel-example-ssh/pom.xml b/examples/camel-example-ssh/pom.xml
index 290d227..9fba513 100644
--- a/examples/camel-example-ssh/pom.xml
+++ b/examples/camel-example-ssh/pom.xml
@@ -45,7 +45,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -170,7 +170,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
         </plugins>
     </build>
diff --git a/examples/camel-example-ssh/src/main/resources/META-INF/feature/features.xml b/examples/camel-example-ssh/src/main/resources/META-INF/feature/features.xml
index d814df2..19bb8f3 100644
--- a/examples/camel-example-ssh/src/main/resources/META-INF/feature/features.xml
+++ b/examples/camel-example-ssh/src/main/resources/META-INF/feature/features.xml
@@ -17,15 +17,15 @@
     limitations under the License.
 
 -->
-<features name="camel-example-ssh-${project.version}"
+<features name="camel-example-ssh-${camel.version}"
           xmlns="http://karaf.apache.org/xmlns/features/v1.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.0.0 http://karaf.apache.org/xmlns/features/v1.0.0">
-  <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+  <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
 
-  <feature name="camel-example-ssh" version="${project.version}">
-    <feature version="${project.version}">camel-ssh</feature>
-    <feature version="${project.version}">camel-spring</feature>
-    <bundle>mvn:org.apache.camel.example/camel-example-ssh/${project.version}</bundle>
+  <feature name="camel-example-ssh" version="${camel.version}">
+    <feature version="${camel.version}">camel-ssh</feature>
+    <feature version="${camel.version}">camel-spring</feature>
+    <bundle>mvn:org.apache.camel.example/camel-example-ssh/${camel.version}</bundle>
   </feature>
 </features>
diff --git a/examples/camel-example-swagger-cdi/pom.xml b/examples/camel-example-swagger-cdi/pom.xml
index 133591c..f410446 100644
--- a/examples/camel-example-swagger-cdi/pom.xml
+++ b/examples/camel-example-swagger-cdi/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -100,7 +100,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-swagger-osgi/pom.xml b/examples/camel-example-swagger-osgi/pom.xml
index f64e073..cfef2ad 100644
--- a/examples/camel-example-swagger-osgi/pom.xml
+++ b/examples/camel-example-swagger-osgi/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-telegram/pom.xml b/examples/camel-example-telegram/pom.xml
index 5ba4862..1746dd5 100644
--- a/examples/camel-example-telegram/pom.xml
+++ b/examples/camel-example-telegram/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-transformer-blueprint/pom.xml b/examples/camel-example-transformer-blueprint/pom.xml
index 6f92cab..b79ac4f 100644
--- a/examples/camel-example-transformer-blueprint/pom.xml
+++ b/examples/camel-example-transformer-blueprint/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -51,7 +51,7 @@
             <dependency>
                 <groupId>org.apache.camel.karaf</groupId>
                 <artifactId>camel-karaf-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -149,7 +149,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
             </plugin>
 
         </plugins>
diff --git a/examples/camel-example-transformer-blueprint/src/main/resources/features.xml b/examples/camel-example-transformer-blueprint/src/main/resources/features.xml
index 7dad5a5..47890d3 100644
--- a/examples/camel-example-transformer-blueprint/src/main/resources/features.xml
+++ b/examples/camel-example-transformer-blueprint/src/main/resources/features.xml
@@ -18,11 +18,11 @@
 
 -->
 <features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0" name="camel-example-transformer-blueprint">
-    <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository>
+    <repository>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</repository>
 
-    <feature name='camel-example-transformer-blueprint' version='${project.version}'>
-        <feature version="${project.version}">camel</feature>
-        <bundle>mvn:org.apache.camel.example/camel-example-transformer-blueprint/${project.version}</bundle>
+    <feature name='camel-example-transformer-blueprint' version='${camel.version}'>
+        <feature version="${camel.version}">camel</feature>
+        <bundle>mvn:org.apache.camel.example/camel-example-transformer-blueprint/${camel.version}</bundle>
     </feature>
 
 </features>
diff --git a/examples/camel-example-transformer-cdi/pom.xml b/examples/camel-example-transformer-cdi/pom.xml
index fd93fce..ddae1a1 100644
--- a/examples/camel-example-transformer-cdi/pom.xml
+++ b/examples/camel-example-transformer-cdi/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -94,7 +94,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-transformer-demo/pom.xml b/examples/camel-example-transformer-demo/pom.xml
index d20051e..55eeb50 100644
--- a/examples/camel-example-transformer-demo/pom.xml
+++ b/examples/camel-example-transformer-demo/pom.xml
@@ -44,7 +44,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-twitter-websocket-blueprint/pom.xml b/examples/camel-example-twitter-websocket-blueprint/pom.xml
index 1318e05..1c267d1 100644
--- a/examples/camel-example-twitter-websocket-blueprint/pom.xml
+++ b/examples/camel-example-twitter-websocket-blueprint/pom.xml
@@ -49,7 +49,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-twitter-websocket/pom.xml b/examples/camel-example-twitter-websocket/pom.xml
index 73514df..a8ca115 100644
--- a/examples/camel-example-twitter-websocket/pom.xml
+++ b/examples/camel-example-twitter-websocket/pom.xml
@@ -42,7 +42,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -96,7 +96,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <configuration>
                     <mainClass>org.apache.camel.example.websocket.CamelTwitterWebSocketMain</mainClass>
                 </configuration>
diff --git a/examples/camel-example-widget-gadget-cdi/pom.xml b/examples/camel-example-widget-gadget-cdi/pom.xml
index 768dbf6..846aab2 100644
--- a/examples/camel-example-widget-gadget-cdi/pom.xml
+++ b/examples/camel-example-widget-gadget-cdi/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -125,7 +125,7 @@
             <plugin>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-maven-plugin</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.apache.deltaspike.cdictrl</groupId>
diff --git a/examples/camel-example-widget-gadget-java/pom.xml b/examples/camel-example-widget-gadget-java/pom.xml
index bb65cd5..856b084 100644
--- a/examples/camel-example-widget-gadget-java/pom.xml
+++ b/examples/camel-example-widget-gadget-java/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
diff --git a/examples/camel-example-widget-gadget-xml/pom.xml b/examples/camel-example-widget-gadget-xml/pom.xml
index f198423..da77988 100644
--- a/examples/camel-example-widget-gadget-xml/pom.xml
+++ b/examples/camel-example-widget-gadget-xml/pom.xml
@@ -43,7 +43,7 @@
             <dependency>
                 <groupId>org.apache.camel</groupId>
                 <artifactId>camel-bom</artifactId>
-                <version>${project.version}</version>
+                <version>${camel.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>


[camel-examples] 04/04: Removed camel.version from telegram example

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.2.x
in repository https://gitbox.apache.org/repos/asf/camel-examples.git

commit cf23a76e38b79774e9c0e003c739464f70d0f298
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Apr 6 13:18:30 2020 +0200

    Removed camel.version from telegram example
---
 examples/README.adoc                    | 4 +---
 examples/camel-example-telegram/pom.xml | 1 -
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/examples/README.adoc b/examples/README.adoc
index 8d450d3..9c80980 100644
--- a/examples/README.adoc
+++ b/examples/README.adoc
@@ -11,7 +11,7 @@ View the individual example READMEs for details.
 == Examples
 
 // examples: START
-Number of Examples: 84 (0 deprecated)
+Number of Examples: 83 (0 deprecated)
 
 [width="100%",cols="4,2,4",options="header"]
 |===
@@ -175,8 +175,6 @@ Number of Examples: 84 (0 deprecated)
 
 | link:camel-example-openapi-cdi/README.adoc[OpenApi CDI] (camel-example-openapi-cdi) | Rest | An example using REST DSL and OpenApi Java with CDI
 
-| link:camel-example-spark-rest/README.adoc[Spark Rest] (camel-example-spark-rest) | Rest | An example using Spark Rest
-
 | link:camel-example-swagger-cdi/README.adoc[Swagger CDI] (camel-example-swagger-cdi) | Rest | An example using REST DSL and Swagger Java with CDI
 
 | link:camel-example-spring-security/README.adoc[Spring Security] (camel-example-spring-security) | Security | An example showing how to work with Camel and Spring Security
diff --git a/examples/camel-example-telegram/pom.xml b/examples/camel-example-telegram/pom.xml
index 1746dd5..556fb55 100644
--- a/examples/camel-example-telegram/pom.xml
+++ b/examples/camel-example-telegram/pom.xml
@@ -33,7 +33,6 @@
 
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <camel.version>3.0.0-SNAPSHOT</camel.version>
         <category>Social</category>
     </properties>