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 2021/11/24 14:20:19 UTC

[camel-performance-tests] 25/33: Use a single point of parent POM for build, properties and BOMs

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

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

commit 713ec75b44433c208ca72f680166d38688d44010
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 24 15:04:13 2021 +0100

    Use a single point of parent POM for build, properties and BOMs
---
 .../postgresql-kafka-exchange-pooling/pom.xml      | 56 ++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/profiling/kafka/postgresql-kafka-exchange-pooling/pom.xml b/profiling/kafka/postgresql-kafka-exchange-pooling/pom.xml
index d681ebf..ad6467c 100644
--- a/profiling/kafka/postgresql-kafka-exchange-pooling/pom.xml
+++ b/profiling/kafka/postgresql-kafka-exchange-pooling/pom.xml
@@ -34,6 +34,37 @@
     <name>Camel Performance :: Profiling :: PostgreSQL Kafka Exchange Pooling</name>
     <description>A PostgreSQL to Kafka with Exchange Pooling containeraized application to show profiling practices</description>
 
+    <properties>
+        <postgresql-driver-version>42.2.14</postgresql-driver-version>
+        <commons-dbcp2-version>2.8.0</commons-dbcp2-version>
+    </properties>
+
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>io.quarkus</groupId>
+                <artifactId>quarkus-bom</artifactId>
+                <version>${quarkus.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.camel.k</groupId>
+                <artifactId>camel-k-runtime-bom</artifactId>
+                <version>${camel-k-runtime.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.camel.quarkus</groupId>
+                <artifactId>camel-quarkus-bom</artifactId>
+                <version>${camel-quarkus.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
     <dependencies>
         <dependency>
             <groupId>io.quarkus</groupId>
@@ -80,6 +111,31 @@
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>io.quarkus</groupId>
+                <artifactId>quarkus-maven-plugin</artifactId>
+                <version>${quarkus.version}</version>
+                <extensions>true</extensions>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>build</goal>
+                            <goal>generate-code</goal>
+                            <goal>generate-code-tests</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>${maven-compiler-plugin.version}</version>
+            </plugin>
+        </plugins>
+    </build>
+
     <profiles>
         <profile>
             <id>jvm</id>