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

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


The following commit(s) were added to refs/heads/main by this push:
     new 63dd58c44 Remove hardcoded versions from kamelets-maven-plugin, add 
versions to root pom.xml (#2801)
63dd58c44 is described below

commit 63dd58c44c115db458dab4dccb258a50a7aefb00
Author: Tom Cunningham <[email protected]>
AuthorDate: Wed Apr 29 04:52:56 2026 -0400

    Remove hardcoded versions from kamelets-maven-plugin, add versions to root 
pom.xml (#2801)
    
    Co-authored-by: Andrea Cosentino <[email protected]>
---
 library/kamelets-maven-plugin/pom.xml | 16 ++++++++--------
 pom.xml                               | 11 +++++++++++
 2 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/library/kamelets-maven-plugin/pom.xml 
b/library/kamelets-maven-plugin/pom.xml
index cbb7df536..b050058ee 100644
--- a/library/kamelets-maven-plugin/pom.xml
+++ b/library/kamelets-maven-plugin/pom.xml
@@ -46,46 +46,46 @@
         <dependency>
             <groupId>org.apache.maven.resolver</groupId>
             <artifactId>maven-resolver-api</artifactId>
-            <version>2.0.16</version>
+            <version>${maven-resolver-api.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.maven</groupId>
             <artifactId>maven-core</artifactId>
-            <version>3.9.15</version>
+            <version>${maven-core.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.maven</groupId>
             <artifactId>maven-artifact</artifactId>
-            <version>3.9.15</version>
+            <version>${maven-core.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.maven</groupId>
             <artifactId>maven-plugin-api</artifactId>
-            <version>3.9.15</version>
+            <version>${maven-core.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.maven.plugin-tools</groupId>
             <artifactId>maven-plugin-annotations</artifactId>
-            <version>3.15.2</version>
+            <version>${maven-plugin-annotations.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.maven</groupId>
             <artifactId>maven-compat</artifactId>
-            <version>3.9.15</version>
+            <version>${maven-compat.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.codehaus.plexus</groupId>
             <artifactId>plexus-container-default</artifactId>
-            <version>2.1.1</version>
+            <version>${plexus-container-default.version}</version>
         </dependency>
         <dependency>
             <groupId>org.codehaus.plexus</groupId>
             <artifactId>plexus-utils</artifactId>
-            <version>4.0.3</version>
+            <version>${plexus-utils.version}</version>
         </dependency>
         <dependency>
             <groupId>commons-io</groupId>
diff --git a/pom.xml b/pom.xml
index dd4012881..607b39845 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,6 +49,17 @@
 
         <failIfNoTests>false</failIfNoTests>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
+        <!-- versions for kamelets-maven-plugin -->
+        <commons-io.version>2.21.0</commons-io.version>
+        
<plexus-container-default.version>2.1.1</plexus-container-default.version>
+        <plexus-utils.version>4.0.3</plexus-utils.version>
+        <maven-compat.version>3.9.14</maven-compat.version>
+        
<maven-plugin-annotations.version>3.15.2</maven-plugin-annotations.version>
+        <maven-core.version>3.9.14</maven-core.version>
+        <maven-resolver-api.version>2.0.16</maven-resolver-api.version>
+
+        <!-- maven plugin versions -->
         <maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
         <maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
         <maven-failsafe-plugin.version>3.5.5</maven-failsafe-plugin.version>

Reply via email to