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/09/04 06:27:52 UTC

[camel-kafka-connector] branch archetype-impr created (now 09d6ca2)

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

acosentino pushed a change to branch archetype-impr
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git.


      at 09d6ca2  Archetype: Add a parameter to the archetype generator to be able to specify what connector we want to extend

This branch includes the following new commits:

     new 09d6ca2  Archetype: Add a parameter to the archetype generator to be able to specify what connector we want to extend

The 1 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-kafka-connector] 01/01: Archetype: Add a parameter to the archetype generator to be able to specify what connector we want to extend

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

acosentino pushed a commit to branch archetype-impr
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit 09d6ca2438b752475fd5d00315fe29b29c163377
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Sep 4 08:27:24 2020 +0200

    Archetype: Add a parameter to the archetype generator to be able to specify what connector we want to extend
---
 .../main/resources-filtered/META-INF/maven/archetype-metadata.xml    | 2 ++
 .../src/main/resources/archetype-resources/pom.xml                   | 5 ++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/archetypes/camel-kafka-connector-extensible-archetype/src/main/resources-filtered/META-INF/maven/archetype-metadata.xml b/archetypes/camel-kafka-connector-extensible-archetype/src/main/resources-filtered/META-INF/maven/archetype-metadata.xml
index 1cdc20b..b7f9838 100644
--- a/archetypes/camel-kafka-connector-extensible-archetype/src/main/resources-filtered/META-INF/maven/archetype-metadata.xml
+++ b/archetypes/camel-kafka-connector-extensible-archetype/src/main/resources-filtered/META-INF/maven/archetype-metadata.xml
@@ -24,6 +24,8 @@
     <requiredProperty key="camel-kafka-connector-version">
       <defaultValue>${project.version}</defaultValue>
     </requiredProperty>
+    <requiredProperty key="camel-kafka-connector-name">
+    </requiredProperty>
   </requiredProperties>
   <fileSets>
     <fileSet filtered="true" packaged="true" encoding="UTF-8">
diff --git a/archetypes/camel-kafka-connector-extensible-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/camel-kafka-connector-extensible-archetype/src/main/resources/archetype-resources/pom.xml
index 7d1afe2..193eac7 100644
--- a/archetypes/camel-kafka-connector-extensible-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/camel-kafka-connector-extensible-archetype/src/main/resources/archetype-resources/pom.xml
@@ -57,13 +57,12 @@
       <artifactId>camel-kafka-connector</artifactId>
       <version>${camel-kafka-connector-version}</version>
     </dependency>
-    <!-- Add your base camel-connector and/or dependencies here like the example
     <dependency>
       <groupId>org.apache.camel.kafkaconnector</groupId>
-      <artifactId>camel-aws2-s3-kafka-connector</artifactId>
+      <artifactId>${camel-kafka-connector-name}</artifactId>
       <version>${camel-kafka-connector-version}</version>
     </dependency>
-    -->
+    <!-- Add your optional dependencies here -->
   </dependencies>
   <build>
     <plugins>