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:20 UTC

[camel-performance-tests] 26/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 4ee75d49d6f08a3512e9cb05dc99a07f0362a096
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 24 15:04:44 2021 +0100

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

diff --git a/profiling/kafka/postgresql-kafka/pom.xml b/profiling/kafka/postgresql-kafka/pom.xml
index 6d93dda..7c2b20f 100644
--- a/profiling/kafka/postgresql-kafka/pom.xml
+++ b/profiling/kafka/postgresql-kafka/pom.xml
@@ -34,6 +34,11 @@
     <name>Camel Performance :: Profiling :: PostgreSQL Kafka</name>
     <description>A PostgreSQL to Kafka 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>
+
     <dependencies>
         <dependency>
             <groupId>io.quarkus</groupId>
@@ -80,6 +85,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>