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

nfilotto pushed a commit to branch remove-hard-coded-versions-in-poms
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git

commit cf322fbac48985035926465acc81ebc4a899182a
Author: Nicolas Filotto <nfilo...@talend.com>
AuthorDate: Mon Jul 1 09:50:20 2024 +0200

    chores(pom): Remove hard coded versions
---
 components/camel-blueprint/pom.xml     | 6 +++---
 features/pom.xml                       | 4 ++--
 pom.xml                                | 4 ++++
 tests/features/camel-influxdb2/pom.xml | 2 +-
 4 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/components/camel-blueprint/pom.xml 
b/components/camel-blueprint/pom.xml
index 8f8bb8e8..c37ff1c1 100644
--- a/components/camel-blueprint/pom.xml
+++ b/components/camel-blueprint/pom.xml
@@ -158,7 +158,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-resources-plugin</artifactId>
-                <version>3.3.1</version>
+                <version>${maven-resources-plugin-version}</version>
                 <executions>
                     <execution>
                         <id>copy-generated-resources-jaxb</id>
@@ -199,7 +199,7 @@
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>jaxb2-maven-plugin</artifactId>
-                <version>3.2.0</version>
+                <version>${maven-jaxb2-plugin-version}</version>
                 <executions>
                     <execution>
                         <id>generate-schema</id>
@@ -306,7 +306,7 @@
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-antrun-plugin</artifactId>
-                        <version>3.1.0</version>
+                        <version>${maven-antrun-plugin-version}</version>
                         <inherited>true</inherited>
                         <executions>
                             <execution>
diff --git a/features/pom.xml b/features/pom.xml
index 6a4bba14..fe8aadbd 100644
--- a/features/pom.xml
+++ b/features/pom.xml
@@ -58,7 +58,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-resources-plugin</artifactId>
-                <version>3.3.1</version>
+                <version>${maven-resources-plugin-version}</version>
                 <executions>
                     <execution>
                         <goals>
@@ -116,7 +116,7 @@
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>
-                <version>3.6.0</version>
+                <version>${maven-build-helper-plugin-version}</version>
                 <executions>
                     <execution>
                         <id>attach-artifact</id>
diff --git a/pom.xml b/pom.xml
index b8591dc7..18ba0836 100644
--- a/pom.xml
+++ b/pom.xml
@@ -562,10 +562,14 @@
         <spring-amqp-version>3.1.6</spring-amqp-version>
 
         <!-- Plugin versions -->
+        <maven-antrun-plugin-version>3.1.0</maven-antrun-plugin-version>
+        
<maven-build-helper-plugin-version>3.6.0</maven-build-helper-plugin-version>
         <maven-bundle-plugin-version>5.1.9</maven-bundle-plugin-version>
         <maven-compiler-plugin-version>3.13.0</maven-compiler-plugin-version>
         
<maven-dependency-plugin-version>3.7.1</maven-dependency-plugin-version>
         <maven-jar-plugin-version>3.4.2</maven-jar-plugin-version>
+        <maven-jaxb2-plugin-version>3.2.0</maven-jaxb2-plugin-version>
+        <maven-resources-plugin-version>3.3.1</maven-resources-plugin-version>
         <maven-shade-plugin-version>3.6.0</maven-shade-plugin-version>
     </properties>
 
diff --git a/tests/features/camel-influxdb2/pom.xml 
b/tests/features/camel-influxdb2/pom.xml
index 22a789fe..b9a222db 100644
--- a/tests/features/camel-influxdb2/pom.xml
+++ b/tests/features/camel-influxdb2/pom.xml
@@ -40,7 +40,7 @@
         <dependency>
             <groupId>com.influxdb</groupId>
             <artifactId>influxdb-client-java</artifactId>
-            <version>7.0.0</version>
+            <version>${influx-client-java-driver-version}</version>
             <scope>compile</scope>
         </dependency>
     </dependencies>

Reply via email to