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/10/06 13:13:54 UTC

[camel-kafka-connector] 05/05: Added a camel-kafka-connector-catalog to collect all the json descriptor - use property placeholder for maven resources plugin version

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

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

commit 7f9941ff9f991adf8ebd612044e775bf33a77902
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 6 14:38:48 2020 +0200

    Added a camel-kafka-connector-catalog to collect all the json descriptor - use property placeholder for maven resources plugin version
---
 connectors/pom.xml | 38 +++++++++++++++++++-------------------
 parent/pom.xml     |  2 +-
 2 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/connectors/pom.xml b/connectors/pom.xml
index d71d5a3..9cf04ee 100644
--- a/connectors/pom.xml
+++ b/connectors/pom.xml
@@ -152,25 +152,25 @@
             <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
-               <version>3.2.0</version>
-        <executions>
-          <execution>
-            <id>copy-resources</id>
-           <phase>install</phase>
-            <goals>
-              <goal>copy-resources</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${project.basedir}/../../camel-kafka-connector-catalog/src/generated/resources/connectors/</outputDirectory>
-              <resources>          
-                <resource>
-                  <directory>src/generated/resources</directory>
-                  <filtering>true</filtering>
-                </resource>
-              </resources>              
-            </configuration>            
-          </execution>
-        </executions>
+               <version>${version.maven.resources}</version>
+               <executions>
+                   <execution>
+                   <id>copy-resources</id>
+                   <phase>install</phase>
+                   <goals>
+                       <goal>copy-resources</goal>
+                   </goals>
+                   <configuration>
+                       <outputDirectory>${project.basedir}/../../camel-kafka-connector-catalog/src/generated/resources/connectors/</outputDirectory>
+                       <resources>          
+                           <resource>
+                               <directory>src/generated/resources</directory>
+                               <filtering>true</filtering>
+                           </resource>
+                       </resources>              
+                  </configuration>            
+                  </execution>
+            </executions>
             </plugin>
             <plugin>
                 <groupId>org.apache.camel.kafkaconnector</groupId>
diff --git a/parent/pom.xml b/parent/pom.xml
index 323e1e5..35e0d1b 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -37,7 +37,7 @@
         <version.maven.compiler>3.8.1</version.maven.compiler>
         <version.maven.javadoc>3.1.1</version.maven.javadoc>
         <version.maven.source>3.0.1</version.maven.source>
-        <version.maven.resources>3.0.1</version.maven.resources>
+        <version.maven.resources>3.2.0</version.maven.resources>
         <version.maven.antrun>1.8</version.maven.antrun>
         <version.maven.nexus-staging>1.6.7</version.maven.nexus-staging>
         <version.maven.buildhelper>1.12</version.maven.buildhelper>