You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/10/07 07:48:24 UTC

[camel-examples] branch main updated (d8a25e7e -> e889fc5d)

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

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


    from d8a25e7e CAMEL-19757 - Move examples folder to root location (#129)
     new a4509486 CAMEL-19757 - Move examples folder to root location
     new 151329cf Regen
     new e889fc5d Upgrade to maven wrapper 3.9.5

The 3 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.


Summary of changes:
 .mvn/wrapper/MavenWrapperDownloader.java | 117 -------
 .mvn/wrapper/maven-wrapper.properties    |   2 +-
 README.adoc                              |  16 +-
 examples/README.adoc                     | 182 -----------
 examples/pom.xml                         | 524 -------------------------------
 5 files changed, 9 insertions(+), 832 deletions(-)
 delete mode 100644 .mvn/wrapper/MavenWrapperDownloader.java
 delete mode 100644 examples/README.adoc
 delete mode 100644 examples/pom.xml


[camel-examples] 02/03: Regen

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

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

commit 151329cfc45bb3fc7dbe3c2d3ca20a72c56b26c3
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Oct 7 09:46:34 2023 +0200

    Regen
---
 README.adoc | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/README.adoc b/README.adoc
index ac07f360..e6dce022 100644
--- a/README.adoc
+++ b/README.adoc
@@ -34,17 +34,17 @@ Number of Examples: 75 (0 deprecated)
 |===
 | Example | Category | Description
 
-| link:resume-api/resume-api-aws2-kinesis/README.md[Resume Api Aws2 Kinesis] (resume-api-aws2-kinesis) |  |
+| link:resume-api/resume-api-aws2-kinesis/README.md[Resume Api Aws2 Kinesis] (resume-api-aws2-kinesis) |  | 
 
-| link:resume-api/resume-api-cassandraql/README.md[Resume Api Cassandraql] (resume-api-cassandraql) |  |
+| link:resume-api/resume-api-cassandraql/README.md[Resume Api Cassandraql] (resume-api-cassandraql) |  | 
 
-| link:resume-api/resume-api-file-offset/README.md[Resume Api File Offset] (resume-api-file-offset) |  |
+| link:resume-api/resume-api-file-offset/README.md[Resume Api File Offset] (resume-api-file-offset) |  | 
 
-| link:resume-api/resume-api-fileset/README.md[Resume Api Fileset] (resume-api-fileset) |  |
+| link:resume-api/resume-api-fileset/README.md[Resume Api Fileset] (resume-api-fileset) |  | 
 
-| link:resume-api/resume-api-fileset-clusterized/README.md[Resume Api Fileset Clusterized] (resume-api-fileset-clusterized) |  |
+| link:resume-api/resume-api-fileset-clusterized/README.md[Resume Api Fileset Clusterized] (resume-api-fileset-clusterized) |  | 
 
-| link:resume-api/resume-api-fileset-wal/README.md[Resume Api Fileset Wal] (resume-api-fileset-wal) |  |
+| link:resume-api/resume-api-fileset-wal/README.md[Resume Api Fileset Wal] (resume-api-fileset-wal) |  | 
 
 | link:as2/README.adoc[AS2 Example] (as2) | Beginner | An example which demonstrates the use of the Camel AS2 component
 
@@ -157,8 +157,8 @@ Number of Examples: 75 (0 deprecated)
 | link:loadbalancing/README.adoc[Load Balancing] (loadbalancing) | EIP | An example that demonstrate load balancing messaging with mina servers (TCP/IP)
 
 | link:transformer-demo/README.adoc[Transformer and Validator Spring XML] (transformer-demo) | Input/Output Type Contract | An example demonstrating declarative transformation and validation along data type declaration using
-Spring DSL
-
+        Spring DSL
+    
 
 | link:flight-recorder/README.adoc[Flight Recorder] (flight-recorder) | Management and Monitoring | Diagnosing Camel with Java Flight Recorder
 


[camel-examples] 01/03: CAMEL-19757 - Move examples folder to root location

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

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

commit a4509486cfa535c76469184fde5e44573d61d19f
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Oct 7 09:45:30 2023 +0200

    CAMEL-19757 - Move examples folder to root location
---
 examples/README.adoc | 182 ------------------
 examples/pom.xml     | 524 ---------------------------------------------------
 2 files changed, 706 deletions(-)

diff --git a/examples/README.adoc b/examples/README.adoc
deleted file mode 100644
index 4e5ce927..00000000
--- a/examples/README.adoc
+++ /dev/null
@@ -1,182 +0,0 @@
-= Welcome to the Apache Camel Examples
-
-== Introduction
-
-This directory contains the various examples for working with Apache
-Camel. The examples can be run using Maven. When using the Maven
-command, Maven will attempt to download the required dependencies from a
-central repository to your local repository.
-View the individual example READMEs for details.
-
-== Examples
-
-// examples: START
-Number of Examples: 75 (0 deprecated)
-
-[width="100%",cols="4,2,4",options="header"]
-|===
-| Example | Category | Description
-
-| link:resume-api/resume-api-aws2-kinesis/README.md[Resume Api Aws2 Kinesis] (resume-api-aws2-kinesis) |  | 
-
-| link:resume-api/resume-api-cassandraql/README.md[Resume Api Cassandraql] (resume-api-cassandraql) |  | 
-
-| link:resume-api/resume-api-file-offset/README.md[Resume Api File Offset] (resume-api-file-offset) |  | 
-
-| link:resume-api/resume-api-fileset/README.md[Resume Api Fileset] (resume-api-fileset) |  | 
-
-| link:resume-api/resume-api-fileset-clusterized/README.md[Resume Api Fileset Clusterized] (resume-api-fileset-clusterized) |  | 
-
-| link:resume-api/resume-api-fileset-wal/README.md[Resume Api Fileset Wal] (resume-api-fileset-wal) |  | 
-
-| link:as2/README.adoc[AS2 Example] (as2) | Beginner | An example which demonstrates the use of the Camel AS2 component
-
-| link:vault/aws-secrets-manager/README.adoc[Aws Secrets Manager] (aws-secrets-manager) | Beginner | An example for showing AWS Secrets Manager Camel component
-
-| link:vault/aws-secrets-manager-reloading/README.adoc[Aws Secrets Manager Reloading] (aws-secrets-manager-reloading) | Beginner | An example for showing AWS Secrets Manager Camel component with reloading
-
-| link:azure/azure-eventhubs/README.adoc[Azure Eventhubs] (azure-eventhubs) | Beginner | Azure Eventhubs example
-
-| link:vault/azure-key-vault-reloading/README.adoc[Azure Key Vault Reloading] (azure-key-vault-reloading) | Beginner | An example for showing Azure Key Vault Camel component with reloading
-
-| link:azure/azure-storage-blob/README.adoc[Azure Storage Blob] (azure-storage-blob) | Beginner | Azure Storage Blob example
-
-| link:basic/README.adoc[Basic] (basic) | Beginner | Basic example
-
-| link:console/README.adoc[Console] (console) | Beginner | An example that reads input from the console
-
-| link:couchbase-log/README.adoc[Couchbase Log] (couchbase-log) | Beginner | An example for showing standalone Camel with Couchbase
-
-| link:csimple/README.adoc[Csimple] (csimple) | Beginner | Shows using compiled simple language
-
-| link:csimple-joor/README.adoc[Csimple Joor] (csimple-joor) | Beginner | Shows using compiled simple language with jOOR compiler
-
-| link:ftp/README.adoc[FTP] (ftp) | Beginner | An example for showing Camel FTP integration
-
-| link:google/google-pubsub/README.adoc[Google Pubsub] (google-pubsub) | Beginner | Google Pubsub example
-
-| link:vault/google-secret-manager-reloading/README.adoc[Google Secret Manager Reloading] (google-secret-manager-reloading) | Beginner | An example for showing Google Secret Manager Camel component with reloading
-
-| link:java8/README.adoc[Java8] (java8) | Beginner | An example for showing Camel DSL for Java 8
-
-| link:azure/kafka-azure/README.adoc[Kafka Azure] (kafka-azure) | Beginner | An example for showing standalone Camel with Kafka and Azure Storage Blob
-
-| link:kamelet/README.adoc[Kamelet] (kamelet) | Beginner | How to use Kamelets
-
-| link:kamelet-chucknorris/README.adoc[Kamelet Chucknorris] (kamelet-chucknorris) | Beginner | How easy it is to create your own Kamelets
-
-| link:kamelet-main/README.adoc[Kamelet Main] (kamelet-main) | Beginner | How to easily run Kamelets
-
-| link:kamelet-sql/README.adoc[Kamelet Sql] (kamelet-sql) | Beginner | Consume from PostgreSQL database connected through an AWS Secrets Manager Secret
-
-| link:main/README.adoc[Main] (main) | Beginner | An example for showing standalone Camel
-
-| link:main-endpointdsl/README.adoc[Main Endpointdsl] (main-endpointdsl) | Beginner | An example for showing standalone Camel with Endpoint DSL
-
-| link:aws/main-endpointdsl-aws2-s3/README.adoc[Main Endpointdsl Aws2 S3] (main-endpointdsl-aws2-s3) | Beginner | An example for showing standalone Camel with Endpoint DSL and AWS2-S3
-
-| link:aws/main-endpointdsl-aws2-s3-kafka/README.adoc[Main Endpointdsl Aws2 S3 Kafka] (main-endpointdsl-aws2-s3-kafka) | Beginner | An example for showing standalone Camel with Endpoint DSL and AWS2-S3 and Kafka
-
-| link:aws/main-endpointdsl-kafka-aws2-s3/README.adoc[Main Endpointdsl Kafka Aws2 S3] (main-endpointdsl-kafka-aws2-s3) | Beginner | An example for showing standalone Camel with Endpoint DSL and Kafka and AWS2 S3
-
-| link:aws/main-endpointdsl-kafka-aws2-s3-restarting-policy/README.adoc[Main Endpointdsl Kafka Aws2 S3 Restarting Policy] (main-endpointdsl-kafka-aws2-s3-restarting-policy) | Beginner | An example for showing standalone Camel with Endpoint DSL and Kafka, AWS2-S3 streaming upload mode with restarting policy
-
-| link:main-health/README.adoc[Main Health] (main-health) | Beginner | An example for showing standalone Camel with Health Checks
-
-| link:main-joor/README.adoc[Main Joor] (main-joor) | Beginner | An example for showing standalone Camel with jOOR runtime Java compiled
-
-| link:main-lambda/README.adoc[Main Lambda] (main-lambda) | Beginner | Camel routes lambda style
-
-| link:main-tiny/README.adoc[Main Tiny] (main-tiny) | Beginner | An example for showing standalone Camel with as few JARs on classpath as possible
-
-| link:main-xml/README.adoc[Main Xml] (main-xml) | Beginner | An example for showing standalone Camel using XML
-
-| link:main-yaml/README.adoc[Main Yaml] (main-yaml) | Beginner | An example for showing standalone Camel using YAML
-
-| link:minio/README.adoc[Minio] (minio) | Beginner | An example for showing Camel using MinIO Component
-
-| link:oaipmh/README.adoc[OAIPMH example] (oaipmh) | Beginner | An example with OAIPMH component
-
-| link:routeloader/README.adoc[Routeloader] (routeloader) | Beginner | Example loading and compiling Java routes on startup
-
-| link:routes-configuration/README.adoc[Routes Configuration] (routes-configuration) | Beginner | Example with global routes configuration for error handling
-
-| link:routetemplate/README.adoc[Routetemplate] (routetemplate) | Beginner | How to use route templates (parameterized routes)
-
-| link:routetemplate-xml/README.adoc[Routetemplate Xml] (routetemplate-xml) | Beginner | How to use route templates (parameterized routes) in XML
-
-| link:spring/README.adoc[Spring] (spring) | Beginner | An example showing how to work with Camel and Spring
-
-| link:spring-xquery/README.adoc[Spring XQuery] (spring-xquery) | Beginner | An example using Spring XML to transform a message using XQuery
-
-| link:cassandra-kubernetes/README.adoc[Cassandra Kubernetes] (cassandra-kubernetes) | Cloud | An example with Camel and Cassandra running on Kubernetes
-
-| link:hazelcast-kubernetes/README.adoc[Hazelcast Kubernetes] (hazelcast-kubernetes) | Cloud | An example with Camel and Hazelcast running on Kubernetes
-
-| link:aws/main-endpointdsl-aws2/README.adoc[Main Endpointdsl Aws2] (main-endpointdsl-aws2) | Cloud | An example for showing standalone Camel with multiple AWS2 components
-
-| link:debezium/README.adoc[Debezium] (debezium) | Database | An example for Debezium Component
-
-| link:debezium-eventhubs-blob/README.adoc[Debezium Eventhubs Blob] (debezium-eventhubs-blob) | Database | An example for Debezium Component with Azure Event Hubs and Azure Storage Blob
-
-| link:jdbc/README.adoc[JDBC] (jdbc) | Database | An example for showing Camel using JDBC component
-
-| link:jooq/README.adoc[JOOQ] (jooq) | Database | An example for showing Camel using JOOQ component
-
-| link:mongodb/README.adoc[Mongodb] (mongodb) | Database | An example that uses Camel MongoDB component
-
-| link:aggregate/README.adoc[Aggregate] (aggregate) | EIP | Demonstrates the persistent support for the Camel aggregator
-
-| link:aggregate-dist/README.adoc[Aggregate Dist] (aggregate-dist) | EIP | How to use the JdbcAggregationRepository in a distributed environment
-
-| link:bigxml-split/README.adoc[Bigxml Split] (bigxml-split) | EIP | How to deal with big XML files in Camel
-
-| link:billboard-aggregate/README.adoc[Billboard Aggregate] (billboard-aggregate) | EIP | Billboard aggregation example
-
-| link:cafe/README.adoc[Cafe] (cafe) | EIP | A cafe example showing how to work with Camel
-
-| link:cafe-endpointdsl/README.adoc[Cafe Endpointdsl] (cafe-endpointdsl) | EIP | A cafe example showing how to work with Camel and the Endpoint DSL
-
-| link:loadbalancing/README.adoc[Load Balancing] (loadbalancing) | EIP | An example that demonstrate load balancing messaging with mina servers (TCP/IP)
-
-| link:transformer-demo/README.adoc[Transformer and Validator Spring XML] (transformer-demo) | Input/Output Type Contract | An example demonstrating declarative transformation and validation along data type declaration using
-        Spring DSL
-    
-
-| link:flight-recorder/README.adoc[Flight Recorder] (flight-recorder) | Management and Monitoring | Diagnosing Camel with Java Flight Recorder
-
-| link:jmx/README.adoc[JMX] (jmx) | Management and Monitoring | An example showing how to work with Camel and JMX
-
-| link:splunk/README.adoc[Splunk] (splunk) | Management and Monitoring | An example using Splunk
-
-| link:kafka/README.adoc[Kafka] (kafka) | Messaging | An example for Kafka
-
-| link:netty-custom-correlation/README.adoc[Netty Custom Correlation] (netty-custom-correlation) | Messaging | An example for showing Camel Netty with custom codec and correlation id
-
-| link:spring-pulsar/README.adoc[Spring Pulsar] (spring-pulsar) | Messaging | An example using Spring XML to talk to the Pulsar server from different kind of client techniques
-
-| link:kotlin/README.adoc[Kotlin] (kotlin) | Other Languages | A Camel route using Kotlin
-
-| link:reactive-executor-vertx/README.adoc[Reactive Executor Vertx] (reactive-executor-vertx) | Reactive | An example for showing using VertX as reactive executor with standalone Camel
-
-| link:spring-security/README.adoc[Spring Security] (spring-security) | Security | An example showing how to work with Camel and Spring Security
-
-| link:salesforce-consumer/README.adoc[Salesforce Consumer] (salesforce-consumer) | Social | An example that uses Salesforce Rest Streaming API
-
-| link:telegram/README.adoc[Telegram] (telegram) | Social | An example that uses Telegram API
-
-| link:whatsapp/README.adoc[Whatsapp] (whatsapp) | Social | An example that uses Whatsapp API
-
-| link:mapstruct/README.adoc[Mapstruct] (mapstruct) | Transformation | How to use MapStruct for POJO data mapping
-|===
-// examples: END
-
-== Help and contributions
-
-If you hit any problem using Camel or have some feedback, 
-then please https://camel.apache.org/community/support/[let us know].
-
-We also love contributors, 
-so https://camel.apache.org/community/contributing/[get involved] :-)
-
-The Camel riders!
diff --git a/examples/pom.xml b/examples/pom.xml
deleted file mode 100644
index 9a0a2847..00000000
--- a/examples/pom.xml
+++ /dev/null
@@ -1,524 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
-    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</groupId>
-        <artifactId>camel-dependencies</artifactId>
-        <version>4.1.0-SNAPSHOT</version>
-    </parent>
-
-    <groupId>org.apache.camel.example</groupId>
-    <artifactId>camel-examples</artifactId>
-    <version>4.1.0-SNAPSHOT</version>
-    <packaging>pom</packaging>
-
-    <name>Camel Examples</name>
-    <description>Examples for Camel</description>
-    <url>https://camel.apache.org</url>
-
-    <developers>
-        <developer>
-            <name>The Apache Camel Team</name>
-            <email>dev@camel.apache.org</email>
-            <url>https://camel.apache.org</url>
-            <organization>Apache Software Foundation</organization>
-            <organizationUrl>http://apache.org/</organizationUrl>
-        </developer>
-    </developers>
-
-    <mailingLists>
-        <mailingList>
-            <name>Development List</name>
-            <subscribe>dev-subscribe@camel.apache.org</subscribe>
-            <unsubscribe>dev-unsubscribe@camel.apache.org</unsubscribe>
-            <post>dev@camel.apache.org</post>
-        </mailingList>
-        <mailingList>
-            <name>User List</name>
-            <subscribe>users-subscribe@camel.apache.org</subscribe>
-            <unsubscribe>users-unsubscribe@camel.apache.org</unsubscribe>
-            <post>users@camel.apache.org</post>
-        </mailingList>
-        <mailingList>
-            <name>Commits List</name>
-            <subscribe>commits-subscribe@camel.apache.org</subscribe>
-            <unsubscribe>commits-unsubscribe@camel.apache.org</unsubscribe>
-            <post>commits@camel.apache.org</post>
-        </mailingList>
-    </mailingLists>
-
-    <issueManagement>
-        <system>jira</system>
-        <url>https://issues.apache.org/jira/browse/CAMEL</url>
-    </issueManagement>
-
-    <distributionManagement>
-        <site>
-            <id>apache.website</id>
-            <url>${site-repo-url}</url>
-        </site>
-    </distributionManagement>
-
-    <modules>
-        <module>aggregate</module>
-        <module>aggregate-dist</module>
-        <module>as2</module>
-        <module>aws</module>
-        <module>azure</module>
-        <module>basic</module>
-        <module>billboard-aggregate</module>
-        <module>bigxml-split</module>
-        <module>cafe</module>
-        <module>cafe-endpointdsl</module>
-        <module>cassandra-kubernetes</module>
-        <module>console</module>
-        <module>couchbase-log</module>
-        <module>csimple</module>
-        <module>csimple-joor</module>
-        <module>debezium</module>
-        <module>debezium-eventhubs-blob</module>
-        <module>flight-recorder</module>
-        <module>ftp</module>
-        <module>google</module>
-        <module>hazelcast-kubernetes</module>
-        <module>java8</module>
-        <module>jdbc</module>
-        <module>jmx</module>
-        <module>jooq</module>
-        <module>kafka</module>
-        <module>kamelet</module>
-        <module>kamelet-chucknorris</module>
-        <module>kamelet-main</module>
-        <module>kamelet-sql</module>
-        <module>kotlin</module>
-        <module>loadbalancing</module>
-        <module>main</module>
-        <module>main-endpointdsl</module>
-        <module>main-health</module>
-        <module>main-joor</module>
-        <module>main-lambda</module>
-        <module>main-tiny</module>
-        <module>main-xml</module>
-        <module>main-yaml</module>
-        <module>mapstruct</module>
-        <module>minio</module>
-        <module>mongodb</module>
-        <module>netty-custom-correlation</module>
-        <module>oaipmh</module>
-        <module>reactive-executor-vertx</module>
-        <module>resume-api</module>
-        <module>routeloader</module>
-        <module>routetemplate</module>
-        <module>routetemplate-xml</module>
-        <module>routes-configuration</module>
-        <module>salesforce-consumer</module>
-        <module>splunk</module>
-        <module>spring</module>
-        <module>spring-pulsar</module>
-        <module>spring-security</module>
-        <module>spring-xquery</module>
-        <module>telegram</module>
-        <module>transformer-demo</module>
-        <module>vault</module>
-        <module>whatsapp</module>
-    </modules>
-
-    <properties>
-        <!-- unify the encoding for all the modules -->
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-
-        <site-repo-url>scpexe://people.apache.org/www/camel.apache.org/maven/</site-repo-url>
-        <jdk.version>17</jdk.version>
-        <compiler.fork>false</compiler.fork>
-
-        <camel.version>${project.version}</camel.version>
-
-        <arquillian-version>1.7.0.Alpha10</arquillian-version>
-        <arquillian-tomcat-version>1.2.0.Final</arquillian-tomcat-version>
-        <arquillian-jetty-version>1.0.0.CR4</arquillian-jetty-version>
-        <asciidoctorj-version>2.1.0</asciidoctorj-version>
-        <cdi-api-1.2-version>1.2</cdi-api-1.2-version>
-        <groovy-version>3.0.2</groovy-version>
-        <pax-exam-version>4.13.2</pax-exam-version>
-        <pax-url-aether>2.6.2</pax-url-aether>
-        <jaxb-version>2.3.0</jaxb-version>
-        <!-- These are not inherited from Camel via camel-dependencies -->
-        <maven-compiler-plugin-version>3.11.0</maven-compiler-plugin-version>
-        <maven-surefire-plugin-version>3.1.2</maven-surefire-plugin-version>
-        <maven-javadoc-plugin-version>3.5.0</maven-javadoc-plugin-version>
-        <maven-release-plugin-version>3.0.1</maven-release-plugin-version>
-        <flatten-maven-plugin-version>1.5.0</flatten-maven-plugin-version>
-        <metrics-cdi-version>1.3.3</metrics-cdi-version>
-        <mycila-license-version>3.0</mycila-license-version>
-        <pax-cdi-version>1.0.0</pax-cdi-version>
-        <surefire.version>${maven-surefire-plugin-version}</surefire.version>
-        <tomcat-version>10.1.13</tomcat-version>
-        <jkube-version>1.14.0</jkube-version>
-        <wsdl4j-version>1.6.3</wsdl4j-version>
-        <fabric8-maven-plugin-version>4.4.1</fabric8-maven-plugin-version>
-    </properties>
-
-    <repositories>
-        <repository>
-            <id>apache.snapshots</id>
-            <url>https://repository.apache.org/snapshots/</url>
-            <name>Apache Snapshot Repo</name>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-        </repository>
-    </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache.snapshots</id>
-            <url>https://repository.apache.org/snapshots/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-        </pluginRepository>
-    </pluginRepositories>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-
-            <!-- update readme file -->
-            <plugin>
-                <groupId>org.apache.camel</groupId>
-                <artifactId>camel-package-maven-plugin</artifactId>
-                <version>${camel.version}</version>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>prepare-example</goal>
-                        </goals>
-                        <phase>process-resources</phase>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <!-- to validate Camel endpoints: mvn camel-report:validate -->
-            <plugin>
-                <groupId>org.apache.camel</groupId>
-                <artifactId>camel-report-maven-plugin</artifactId>
-                <version>${camel.version}</version>
-                <configuration>
-                    <failOnError>false</failOnError>
-                    <includeTest>true</includeTest>
-                    <includeXml>true</includeXml>
-                    <ignoreLenientProperties>false</ignoreLenientProperties>
-                </configuration>
-            </plugin>
-
-            <plugin>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <configuration>
-                    <forkCount>1</forkCount>
-                    <reuseForks>false</reuseForks>
-                    <systemPropertyVariables>
-                        <skipStartingCamelContext>${skip.starting.camel.context}</skipStartingCamelContext>
-                    </systemPropertyVariables>
-                </configuration>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>${maven-compiler-plugin-version}</version>
-                <configuration>
-                    <source>${jdk.version}</source>
-                    <target>${jdk.version}</target>
-                    <maxmem>512M</maxmem>
-                    <fork>${compiler.fork}</fork>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <configuration>
-                    <attach>true</attach>
-                    <source>${jdk.version}</source>
-                    <quiet>true</quiet>
-                    <bottom>Apache Camel</bottom>
-                    <detectOfflineLinks>false</detectOfflineLinks>
-                    <javadocVersion>1.8.0</javadocVersion>
-                    <encoding>UTF-8</encoding>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-resources-plugin</artifactId>
-                <configuration>
-                    <encoding>UTF-8</encoding>
-                </configuration>
-            </plugin>
-        </plugins>
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-javadoc-plugin</artifactId>
-                    <version>${maven-javadoc-plugin-version}</version>
-                </plugin>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-eclipse-plugin</artifactId>
-                    <version>2.10</version>
-                    <dependencies>
-                        <dependency>
-                            <groupId>org.apache.camel</groupId>
-                            <artifactId>camel-buildtools</artifactId>
-                            <version>${camel.version}</version>
-                        </dependency>
-                    </dependencies>
-                    <configuration>
-                        <downloadSources>true</downloadSources>
-                        <downloadJavadocs>false</downloadJavadocs>
-                    </configuration>
-                </plugin>
-
-                <plugin>
-                    <groupId>org.apache.rat</groupId>
-                    <artifactId>apache-rat-plugin</artifactId>
-                    <configuration>
-                        <excludeSubProjects>false</excludeSubProjects>
-                        <excludes>
-                            <exclude>**/generated.txt</exclude>
-                            <exclude>**/*.json</exclude>
-                            <exclude>**/README</exclude>
-                            <exclude>**/README.txt</exclude>
-                            <exclude>**/README.md</exclude>
-                            <exclude>**/ReadMe.md</exclude>
-                            <exclude>**/resources/**/*.xsd</exclude>
-                            <exclude>**/webapp/js/**/*</exclude>
-                            <exclude>**/test/resources/**/*</exclude>
-                            <exclude>**/test/data*/**/*</exclude>
-                            <exclude>.gitignore</exclude>
-                            <exclude>.git/**/*</exclude>
-                            <exclude>**/*.adoc</exclude>
-                            <exclude>**/*.adoc.template</exclude>
-                            <exclude>**/*.md</exclude>
-                            <exclude>**/*.sh</exclude>
-                            <exclude>**/*.bat</exclude>
-                            <exclude>**/java9-maven-settings</exclude>
-                            <exclude>**/*.pfx</exclude>
-                            <!-- tooling json-simple parser -->
-                            <exclude>**/src/main/java/org/json/simple/**</exclude>
-                            <!-- tooling/camel-manual/src/styles/print.css use a different license -->
-                            <exclude>**/src/styles/print.css</exclude>
-                            <!-- tooling for component docs -->
-                            <exclude>**/component-header.mvel</exclude>
-                            <exclude>**/component-options.mvel</exclude>
-                            <exclude>**/endpoint-options.mvel</exclude>
-                            <exclude>**/dataformat-options.mvel</exclude>
-                            <exclude>**/eip-options.mvel</exclude>
-                            <exclude>**/language-options.mvel</exclude>
-                            <exclude>**/website-components-list.mvel</exclude>
-                            <exclude>**/website-languages-list.mvel</exclude>
-                            <exclude>**/website-others-list.mvel</exclude>
-                            <exclude>**/website-dataformats-list.mvel</exclude>
-                            <exclude>**/readme-examples.mvel</exclude>
-                            <exclude>**/spring-boot-auto-configure-options.mvel</exclude>
-                            <exclude>**/camel-NOTICE.txt</exclude>
-                            <exclude>**/spring-boot-starter-NOTICE.txt</exclude>
-                            <!-- cxf does not handle comments here -->
-                            <exclude>**/src/main/resources/META-INF/cxf/cxf.extension</exclude>
-                            <exclude>**/src/main/resources/META-INF/cxf/bus-extensions.txt</exclude>
-                            <!-- ignore the api signatures files -->
-                            <exclude>**/src/signatures/*.txt</exclude>
-                            <!-- camel-salesforce BSD license from salesforce developers -->
-                            <exclude>**/CometDReplayExtension.java</exclude>
-                            <exclude>**/LICENSE-SALESFORCE.txt</exclude>
-                            <!-- camel-as2 -->
-                            <exclude>**/mdnDescription.vm</exclude>
-                            <!-- camel-jbpm -->
-                            <exclude>**/src/main/resources/*.wid</exclude>
-                            <!-- camel website and user-manual -->
-                            <exclude>**/node/**</exclude>
-                            <exclude>**/node_modules/**</exclude>
-                            <exclude>**/user-manual/**</exclude>
-                            <exclude>**/yarn.lock</exclude>
-                            <!-- examples -->
-                            <exclude>**/fabric8/*.yaml</exclude>
-                            <exclude>**/src/main/data/*.patient</exclude>
-                            <exclude>**/src/main/data/*.csv</exclude>
-                            <exclude>**/src/main/resources/avro/*.avsc</exclude>
-                            <!-- generated files -->
-                            <exclude>**/target/**/*</exclude>
-                            <exclude>**/eclipse-classes/**/*</exclude>
-                            <exclude>**/.*</exclude>
-                            <exclude>**/.settings/**/*</exclude>
-                            <exclude>**/*.iml</exclude>
-                            <exclude>**/.idea/**/*</exclude>
-                            <exclude>**/avro/**/*.avpr</exclude>
-                            <exclude>**/test_rsa*</exclude>
-                            <exclude>**/data*/**/*.xml</exclude>
-                            <exlucde>**/*.log</exlucde>
-                            <exclude>**/id_file</exclude>
-                            <exclude>**/dependency-reduced-pom.xml</exclude>
-                            <exclude>**/Dropbox_API_Terms_and_Conditions.txt</exclude>
-                            <exclude>**/MerchandiseRestResource.apxc</exclude>
-                            <exclude>**/file-sig-api.txt</exclude>
-                            <exclude>**/Tasks__c.java</exclude>
-                            <exclude>**/*.proto</exclude>
-                            <exclude>
-                                **/src/main/resources/META-INF/services/org.kie.server.services.api.KieServerExtension
-                            </exclude>
-                            <!-- Maven Wrapper -->
-                            <exclude>.mvn/**/*</exclude>
-                        </excludes>
-                    </configuration>
-                </plugin>
-
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-release-plugin</artifactId>
-                    <version>${maven-release-plugin-version}</version>
-                    <dependencies>
-                        <dependency>
-                            <groupId>org.apache.maven.scm</groupId>
-                            <artifactId>maven-scm-provider-gitexe</artifactId>
-                            <version>1.9</version>
-                        </dependency>
-                    </dependencies>
-                    <configuration>
-                        <localCheckout>true</localCheckout>
-                        <pushChanges>true</pushChanges>
-                        <tagNameFormat>@{project.artifactId}-@{project.version}</tagNameFormat>
-                        <useReleaseProfile>false</useReleaseProfile>
-                        <preparationGoals>clean install</preparationGoals>
-                        <goals>deploy</goals>
-                        <!-- The profile we want to use when doing the release -->
-                        <arguments>-Prelease,apache-release,enable-schemagen,apt,sourcecheck,hibernate</arguments>
-                        <autoVersionSubmodules>true</autoVersionSubmodules>
-                    </configuration>
-                </plugin>
-
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-remote-resources-plugin</artifactId>
-                    <executions>
-                        <execution>
-                            <id>process-resource-bundles</id>
-                            <phase>disabled</phase>
-                        </execution>
-                    </executions>
-                </plugin>
-
-                <plugin>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>flatten-maven-plugin</artifactId>
-                    <version>${flatten-maven-plugin-version}</version>
-                    <executions>
-                        <execution>
-                            <id>default-cli</id>
-                            <phase>process-resources</phase>
-                            <goals>
-                                <goal>flatten</goal>
-                            </goals>
-                            <configuration>
-                                <updatePomFile>true</updatePomFile>
-                                <pomElements>
-                                    <build>keep</build>
-                                    <dependencyManagement>keep</dependencyManagement>
-                                    <description>keep</description>
-                                    <name>keep</name>
-                                    <parent>expand</parent>
-                                    <pluginManagement>keep</pluginManagement>
-                                    <profiles>remove</profiles>
-                                    <properties>keep</properties>
-                                </pomElements>
-                            </configuration>
-                        </execution>
-                    </executions>
-                </plugin>
-
-                <plugin>
-                    <artifactId>maven-invoker-plugin</artifactId>
-                    <configuration>
-                        <skipInstallation>${invoker.skip}</skipInstallation>
-                        <skipInvocation>${invoker.skip}</skipInvocation>
-                        <mavenOpts>-Xmx64m -XshowSettings</mavenOpts>
-                        <showVersion>true</showVersion>
-                    </configuration>
-                </plugin>
-
-                <plugin>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>exec-maven-plugin</artifactId>
-                    <version>${exec-maven-plugin-version}</version>
-                </plugin>
-            </plugins>
-        </pluginManagement>
-    </build>
-
-    <profiles>
-        <profile>
-            <id>container-test</id>
-            <properties>
-                <skip.starting.camel.context>true</skip.starting.camel.context>
-            </properties>
-        </profile>
-        <!--
-          This profile allows you to add a repository to the repo list so that
-          you can test the examples out against a staged version of the camel distribution
-        -->
-        <profile>
-            <id>add-remote-repo</id>
-            <activation>
-                <property>
-                    <name>remoteRepo</name>
-                </property>
-            </activation>
-
-            <repositories>
-                <repository>
-                    <id>dynamic.repo</id>
-                    <name>Repository Dynamically Added Via the Command Line</name>
-                    <url>$remoteRepo</url>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>dynamic.repo</id>
-                    <name>Repository Dynamically Added Via the Command Line</name>
-                    <url>$remoteRepo</url>
-                </pluginRepository>
-            </pluginRepositories>
-
-        </profile>
-    </profiles>
-
-</project>


[camel-examples] 03/03: Upgrade to maven wrapper 3.9.5

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

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

commit e889fc5dfac2fb5f61513cea6740b9d1bcb86eb7
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Oct 7 09:47:07 2023 +0200

    Upgrade to maven wrapper 3.9.5
---
 .mvn/wrapper/MavenWrapperDownloader.java | 117 -------------------------------
 .mvn/wrapper/maven-wrapper.properties    |   2 +-
 2 files changed, 1 insertion(+), 118 deletions(-)

diff --git a/.mvn/wrapper/MavenWrapperDownloader.java b/.mvn/wrapper/MavenWrapperDownloader.java
deleted file mode 100644
index b901097f..00000000
--- a/.mvn/wrapper/MavenWrapperDownloader.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * Copyright 2007-present the original author or authors.
- *
- * 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.
- */
-import java.net.*;
-import java.io.*;
-import java.nio.channels.*;
-import java.util.Properties;
-
-public class MavenWrapperDownloader {
-
-    private static final String WRAPPER_VERSION = "0.5.6";
-    /**
-     * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
-     */
-    private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/"
-        + WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar";
-
-    /**
-     * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to
-     * use instead of the default one.
-     */
-    private static final String MAVEN_WRAPPER_PROPERTIES_PATH =
-            ".mvn/wrapper/maven-wrapper.properties";
-
-    /**
-     * Path where the maven-wrapper.jar will be saved to.
-     */
-    private static final String MAVEN_WRAPPER_JAR_PATH =
-            ".mvn/wrapper/maven-wrapper.jar";
-
-    /**
-     * Name of the property which should be used to override the default download url for the wrapper.
-     */
-    private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl";
-
-    public static void main(String args[]) {
-        System.out.println("- Downloader started");
-        File baseDirectory = new File(args[0]);
-        System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
-
-        // If the maven-wrapper.properties exists, read it and check if it contains a custom
-        // wrapperUrl parameter.
-        File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
-        String url = DEFAULT_DOWNLOAD_URL;
-        if(mavenWrapperPropertyFile.exists()) {
-            FileInputStream mavenWrapperPropertyFileInputStream = null;
-            try {
-                mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
-                Properties mavenWrapperProperties = new Properties();
-                mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
-                url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
-            } catch (IOException e) {
-                System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
-            } finally {
-                try {
-                    if(mavenWrapperPropertyFileInputStream != null) {
-                        mavenWrapperPropertyFileInputStream.close();
-                    }
-                } catch (IOException e) {
-                    // Ignore ...
-                }
-            }
-        }
-        System.out.println("- Downloading from: " + url);
-
-        File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
-        if(!outputFile.getParentFile().exists()) {
-            if(!outputFile.getParentFile().mkdirs()) {
-                System.out.println(
-                        "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'");
-            }
-        }
-        System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
-        try {
-            downloadFileFromURL(url, outputFile);
-            System.out.println("Done");
-            System.exit(0);
-        } catch (Throwable e) {
-            System.out.println("- Error downloading");
-            e.printStackTrace();
-            System.exit(1);
-        }
-    }
-
-    private static void downloadFileFromURL(String urlString, File destination) throws Exception {
-        if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) {
-            String username = System.getenv("MVNW_USERNAME");
-            char[] password = System.getenv("MVNW_PASSWORD").toCharArray();
-            Authenticator.setDefault(new Authenticator() {
-                @Override
-                protected PasswordAuthentication getPasswordAuthentication() {
-                    return new PasswordAuthentication(username, password);
-                }
-            });
-        }
-        URL website = new URL(urlString);
-        ReadableByteChannel rbc;
-        rbc = Channels.newChannel(website.openStream());
-        FileOutputStream fos = new FileOutputStream(destination);
-        fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
-        fos.close();
-        rbc.close();
-    }
-
-}
diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties
index 70f4f50f..eacdc9ed 100644
--- a/.mvn/wrapper/maven-wrapper.properties
+++ b/.mvn/wrapper/maven-wrapper.properties
@@ -14,5 +14,5 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.8/apache-maven-3.8.8-bin.zip
+distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip
 wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar