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

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


The following commit(s) were added to refs/heads/main by this push:
     new 7bbdbb4e981 Test Oracle and DB2 JDBC drivers outside of grouped native 
builds
7bbdbb4e981 is described below

commit 7bbdbb4e981fc9960dea6479aa60cdc483149a61
Author: James Netherton <[email protected]>
AuthorDate: Thu Nov 26 14:09:52 2026 +0000

    Test Oracle and DB2 JDBC drivers outside of grouped native builds
    
    quarkus-jdbc-oracle and quarkus-jdbc-db2 produce
    NativeImageAllowIncompleteClasspathBuildItem, which drops
    --link-at-build-time for the whole native image. Grouping them with other
    modules meant debezium-grouped and jdbc-grouped never built with strict
    linking, which hid a native failure for any Debezium application without
    the Oracle driver: io.debezium.rest.MetricsResource was initialized at
    build time and put the platform MBeanServer into the image heap.
    
    * Initialize io.debezium.rest.MetricsResource at runtime
    * Exclude oracle from debezium-grouped, and db2 and oracle from jdbc-grouped
    * Add debezium-oracle, jdbc-oracle and jdbc-db2 modules that copy their
      sources from integration-test-groups via copy-tests.groovy
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
---
 .../deployment/DebeziumSupportProcessor.java       |   7 +
 integration-tests/debezium-grouped/pom.xml         |  24 +---
 .../{debezium-grouped => debezium-oracle}/pom.xml  | 157 ++++++---------------
 .../{jdbc-grouped => jdbc-db2}/pom.xml             | 125 ++++++----------
 integration-tests/jdbc-grouped/pom.xml             |   9 +-
 .../{jdbc-grouped => jdbc-oracle}/pom.xml          | 125 ++++++----------
 integration-tests/pom.xml                          |   3 +
 tooling/scripts/test-categories.yaml               |   3 +
 8 files changed, 153 insertions(+), 300 deletions(-)

diff --git 
a/extensions-support/debezium/deployment/src/main/java/org/apache/camel/quarkus/support/debezium/deployment/DebeziumSupportProcessor.java
 
b/extensions-support/debezium/deployment/src/main/java/org/apache/camel/quarkus/support/debezium/deployment/DebeziumSupportProcessor.java
index 96b99d9b933..ef1a8b890f4 100644
--- 
a/extensions-support/debezium/deployment/src/main/java/org/apache/camel/quarkus/support/debezium/deployment/DebeziumSupportProcessor.java
+++ 
b/extensions-support/debezium/deployment/src/main/java/org/apache/camel/quarkus/support/debezium/deployment/DebeziumSupportProcessor.java
@@ -35,6 +35,7 @@ import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
 import io.quarkus.deployment.builditem.IndexDependencyBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
+import 
io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ServiceProviderBuildItem;
 import io.quarkus.deployment.pkg.builditem.CurateOutcomeBuildItem;
 import io.quarkus.maven.dependency.ResolvedDependency;
@@ -147,6 +148,12 @@ public class DebeziumSupportProcessor {
                 .build());
     }
 
+    @BuildStep
+    RuntimeInitializedClassBuildItem runtimeInitializedClasses() {
+        // Obtains the platform MBeanServer in its static initializer
+        return new 
RuntimeInitializedClassBuildItem("io.debezium.rest.MetricsResource");
+    }
+
     @BuildStep
     void registerServiceProviders(
             CurateOutcomeBuildItem curateOutcome,
diff --git a/integration-tests/debezium-grouped/pom.xml 
b/integration-tests/debezium-grouped/pom.xml
index 4be16a6a0e4..ae76eef976e 100644
--- a/integration-tests/debezium-grouped/pom.xml
+++ b/integration-tests/debezium-grouped/pom.xml
@@ -49,10 +49,6 @@
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-debezium-mysql</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-debezium-oracle</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-debezium-postgres</artifactId>
@@ -116,11 +112,6 @@
             <artifactId>testcontainers-mongodb</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.testcontainers</groupId>
-            <artifactId>testcontainers-oracle-xe</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             
<artifactId>camel-quarkus-integration-tests-support-mongodb</artifactId>
@@ -164,7 +155,7 @@
                                 
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/debezium</group-tests.source.dir>
                                 
<group-tests.dest.module.dir>${project.basedir}</group-tests.dest.module.dir>
                                 
<group-tests.concat.rel.paths>src/main/resources/application.properties</group-tests.concat.rel.paths>
-                                
<group-tests.files.excludes>${group-tests.files.excludes}</group-tests.files.excludes>
+                                
<group-tests.files.excludes>oracle,${group-tests.files.excludes}</group-tests.files.excludes>
                             </properties>
                         </configuration>
                     </execution>
@@ -249,19 +240,6 @@
                         </exclusion>
                     </exclusions>
                 </dependency>
-                <dependency>
-                    <groupId>org.apache.camel.quarkus</groupId>
-                    
<artifactId>camel-quarkus-debezium-oracle-deployment</artifactId>
-                    <version>${project.version}</version>
-                    <type>pom</type>
-                    <scope>test</scope>
-                    <exclusions>
-                        <exclusion>
-                            <groupId>*</groupId>
-                            <artifactId>*</artifactId>
-                        </exclusion>
-                    </exclusions>
-                </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
                     
<artifactId>camel-quarkus-debezium-sqlserver-deployment</artifactId>
diff --git a/integration-tests/debezium-grouped/pom.xml 
b/integration-tests/debezium-oracle/pom.xml
similarity index 54%
copy from integration-tests/debezium-grouped/pom.xml
copy to integration-tests/debezium-oracle/pom.xml
index 4be16a6a0e4..5a04b8cdcd6 100644
--- a/integration-tests/debezium-grouped/pom.xml
+++ b/integration-tests/debezium-oracle/pom.xml
@@ -26,41 +26,15 @@
         <relativePath>../../poms/build-parent-it/pom.xml</relativePath>
     </parent>
 
-    <artifactId>camel-quarkus-integration-test-debezium-grouped</artifactId>
-    <name>Camel Quarkus :: Integration Tests :: Debezium Grouped</name>
-    <description>Debezium tests ../integration-test-groups/debezium merged 
together</description>
-
-    <properties>
-        <sqlserver.EULA.accepted>true</sqlserver.EULA.accepted>
-        <!-- You need to download the driver yourself. We cannot add a compile 
scope dependency for legal reasons. -->
-        <!-- See 
https://camel.apache.org/camel-quarkus/latest/extensions/debezium-mysql.html#_usage
 for more details -->
-        
<mysql.driver.file>${settings.localRepository}/com/mysql/mysql-connector-j/${debezium-mysql-connector-version}/mysql-connector-j-${debezium-mysql-connector-version}.jar</mysql.driver.file>
-        <!-- You are required to accept an EULA for SQL container image. We 
cannot do it by default for legal reasons. -->
-        <!-- See 
https://camel.apache.org/camel-quarkus/latest/extensions/debezium-sqlserver.html#_integration-testing
 for more details -->
-        
<sqlserver.EULA>src/test/resources/container-license-acceptance.txt</sqlserver.EULA>
-    </properties>
+    <artifactId>camel-quarkus-integration-test-debezium-oracle</artifactId>
+    <name>Camel Quarkus :: Integration Tests :: Debezium Oracle 
Standalone</name>
+    <description>Debezium Oracle tests from 
../integration-test-groups/debezium/oracle</description>
 
     <dependencies>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-debezium-mongodb</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-debezium-mysql</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-debezium-oracle</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-debezium-postgres</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-debezium-sqlserver</artifactId>
-        </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-resteasy</artifactId>
@@ -71,12 +45,11 @@
         </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
-            
<artifactId>camel-quarkus-integration-tests-support-debezium</artifactId>
+            <artifactId>camel-quarkus-jdbc</artifactId>
         </dependency>
-        <!-- Required since it's excluded from the runtime classpath by 
default -->
         <dependency>
-            <groupId>com.mysql</groupId>
-            <artifactId>mysql-connector-j</artifactId>
+            <groupId>org.apache.camel.quarkus</groupId>
+            
<artifactId>camel-quarkus-integration-tests-support-debezium</artifactId>
         </dependency>
 
         <!-- test dependencies -->
@@ -96,80 +69,77 @@
             <artifactId>rest-assured</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.testcontainers</groupId>
-            <artifactId>testcontainers-postgresql</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.testcontainers</groupId>
-            <artifactId>testcontainers-mysql</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.testcontainers</groupId>
-            <artifactId>testcontainers-mssqlserver</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.testcontainers</groupId>
-            <artifactId>testcontainers-mongodb</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.testcontainers</groupId>
             <artifactId>testcontainers-oracle-xe</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            
<artifactId>camel-quarkus-integration-tests-support-mongodb</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.awaitility</groupId>
             <artifactId>awaitility</artifactId>
             <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>io.strimzi</groupId>
-            <artifactId>strimzi-test-container</artifactId>
-            <scope>test</scope>
+            <groupId>org.graalvm.sdk</groupId>
+            <artifactId>nativeimage</artifactId>
+            <scope>provided</scope>
         </dependency>
     </dependencies>
 
     <build>
-        <testResources>
-            <testResource>
-                <directory>src/test/resources</directory>
-                <filtering>true</filtering>
-            </testResource>
-        </testResources>
         <plugins>
             <plugin>
                 <groupId>org.codehaus.gmavenplus</groupId>
                 <artifactId>gmavenplus-plugin</artifactId>
                 <executions>
                     <execution>
-                        <id>group-sources</id>
+                        <id>copy-sources</id>
                         <goals>
                             <goal>execute</goal>
                         </goals>
                         <phase>generate-sources</phase>
                         <configuration>
                             <scripts>
-                                
<script>file:${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</script>
+                                
<script>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</script>
                             </scripts>
                             <properties>
-                                
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/debezium</group-tests.source.dir>
-                                
<group-tests.dest.module.dir>${project.basedir}</group-tests.dest.module.dir>
-                                
<group-tests.concat.rel.paths>src/main/resources/application.properties</group-tests.concat.rel.paths>
-                                
<group-tests.files.excludes>${group-tests.files.excludes}</group-tests.files.excludes>
+                                
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/debezium/oracle</copy-tests.source.dir>
+                                
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
                             </properties>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>add-sources</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                
<source>${basedir}/target/src/main/java</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>add-test-sources</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-test-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                
<source>${basedir}/target/src/test/java</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 
@@ -210,45 +180,6 @@
             </activation>
             <dependencies>
                 <!-- The following dependencies guarantee that this module is 
built after them. You can update them by running `mvn process-resources 
-Pformat -N` from the source tree root directory -->
-                <dependency>
-                    <groupId>org.apache.camel.quarkus</groupId>
-                    
<artifactId>camel-quarkus-debezium-mongodb-deployment</artifactId>
-                    <version>${project.version}</version>
-                    <type>pom</type>
-                    <scope>test</scope>
-                    <exclusions>
-                        <exclusion>
-                            <groupId>*</groupId>
-                            <artifactId>*</artifactId>
-                        </exclusion>
-                    </exclusions>
-                </dependency>
-                <dependency>
-                    <groupId>org.apache.camel.quarkus</groupId>
-                    
<artifactId>camel-quarkus-debezium-mysql-deployment</artifactId>
-                    <version>${project.version}</version>
-                    <type>pom</type>
-                    <scope>test</scope>
-                    <exclusions>
-                        <exclusion>
-                            <groupId>*</groupId>
-                            <artifactId>*</artifactId>
-                        </exclusion>
-                    </exclusions>
-                </dependency>
-                <dependency>
-                    <groupId>org.apache.camel.quarkus</groupId>
-                    
<artifactId>camel-quarkus-debezium-postgres-deployment</artifactId>
-                    <version>${project.version}</version>
-                    <type>pom</type>
-                    <scope>test</scope>
-                    <exclusions>
-                        <exclusion>
-                            <groupId>*</groupId>
-                            <artifactId>*</artifactId>
-                        </exclusion>
-                    </exclusions>
-                </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
                     
<artifactId>camel-quarkus-debezium-oracle-deployment</artifactId>
@@ -264,7 +195,7 @@
                 </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    
<artifactId>camel-quarkus-debezium-sqlserver-deployment</artifactId>
+                    <artifactId>camel-quarkus-jdbc-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
diff --git a/integration-tests/jdbc-grouped/pom.xml 
b/integration-tests/jdbc-db2/pom.xml
similarity index 77%
copy from integration-tests/jdbc-grouped/pom.xml
copy to integration-tests/jdbc-db2/pom.xml
index df0c04dcd35..87139018e89 100644
--- a/integration-tests/jdbc-grouped/pom.xml
+++ b/integration-tests/jdbc-db2/pom.xml
@@ -19,7 +19,6 @@
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
     <modelVersion>4.0.0</modelVersion>
-
     <parent>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-build-parent-it</artifactId>
@@ -27,9 +26,9 @@
         <relativePath>../../poms/build-parent-it/pom.xml</relativePath>
     </parent>
 
-    <artifactId>camel-quarkus-integration-test-jdbc-grouped</artifactId>
-    <name>Camel Quarkus :: Integration Tests :: JDBC Grouped</name>
-    <description>JDBC tests from ../integration-test-groups/jdbc merged 
together</description>
+    <artifactId>camel-quarkus-integration-test-jdbc-db2</artifactId>
+    <name>Camel Quarkus :: Integration Tests :: JDBC DB2 Standalone</name>
+    <description>JDBC DB2 tests from 
../integration-test-groups/jdbc/db2</description>
 
     <dependencies>
         <dependency>
@@ -56,30 +55,6 @@
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-jdbc-db2</artifactId>
         </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-h2</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-mariadb</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-mssql</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-mysql</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-oracle</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-postgresql</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-direct</artifactId>
@@ -96,14 +71,14 @@
             <groupId>org.apache.camel.quarkus</groupId>
             
<artifactId>camel-quarkus-integration-tests-support-jdbc</artifactId>
         </dependency>
+
+        <!-- test dependencies -->
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             
<artifactId>camel-quarkus-integration-tests-support-jdbc</artifactId>
             <type>test-jar</type>
             <scope>test</scope>
         </dependency>
-
-        <!-- test dependencies -->
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-junit</artifactId>
@@ -124,11 +99,6 @@
             <artifactId>camel-quarkus-integration-test-support</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.testcontainers</groupId>
-            <artifactId>testcontainers</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
     <build>
@@ -138,28 +108,56 @@
                 <artifactId>gmavenplus-plugin</artifactId>
                 <executions>
                     <execution>
-                        <id>group-sources</id>
+                        <id>copy-sources</id>
                         <goals>
                             <goal>execute</goal>
                         </goals>
                         <phase>generate-sources</phase>
                         <configuration>
                             <scripts>
-                                
<script>file:${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</script>
+                                
<script>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</script>
                             </scripts>
                             <properties>
-                                
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/jdbc</group-tests.source.dir>
-                                
<group-tests.dest.module.dir>${project.basedir}</group-tests.dest.module.dir>
-                                
<group-tests.concat.rel.paths>src/main/resources/application.properties</group-tests.concat.rel.paths>
+                                
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/jdbc/db2</copy-tests.source.dir>
+                                
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
                             </properties>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>add-sources</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                
<source>${basedir}/target/src/main/java</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>add-test-sources</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-test-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                
<source>${basedir}/target/src/test/java</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 
-
     <profiles>
         <profile>
             <id>native</id>
@@ -199,7 +197,7 @@
                 <!-- The following dependencies guarantee that this module is 
built after them. You can update them by running `mvn process-resources 
-Pformat -N` from the source tree root directory -->
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-direct-deployment</artifactId>
+                    <artifactId>camel-quarkus-bean-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
@@ -212,7 +210,7 @@
                 </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-jdbc-deployment</artifactId>
+                    <artifactId>camel-quarkus-direct-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
@@ -225,7 +223,7 @@
                 </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-log-deployment</artifactId>
+                    <artifactId>camel-quarkus-jdbc-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
@@ -238,7 +236,7 @@
                 </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-mock-deployment</artifactId>
+                    <artifactId>camel-quarkus-log-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
@@ -251,7 +249,7 @@
                 </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-timer-deployment</artifactId>
+                    <artifactId>camel-quarkus-mock-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
@@ -264,7 +262,7 @@
                 </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-bean-deployment</artifactId>
+                    <artifactId>camel-quarkus-timer-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
@@ -288,35 +286,6 @@
                 <skipTests>true</skipTests>
             </properties>
         </profile>
-        <profile>
-            <id>fips</id>
-            <activation>
-                <property>
-                    <name>fips</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <systemPropertyVariables>
-                                
<quarkus.datasource.mysql.devservices.enabled>false</quarkus.datasource.mysql.devservices.enabled>
-                            </systemPropertyVariables>
-                        </configuration>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-failsafe-plugin</artifactId>
-                        <configuration>
-                            <systemPropertyVariables>
-                                
<quarkus.datasource.mysql.devservices.enabled>false</quarkus.datasource.mysql.devservices.enabled>
-                            </systemPropertyVariables>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
     </profiles>
-</project>
\ No newline at end of file
+
+</project>
diff --git a/integration-tests/jdbc-grouped/pom.xml 
b/integration-tests/jdbc-grouped/pom.xml
index df0c04dcd35..39afac7793d 100644
--- a/integration-tests/jdbc-grouped/pom.xml
+++ b/integration-tests/jdbc-grouped/pom.xml
@@ -52,10 +52,6 @@
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-resteasy</artifactId>
         </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-db2</artifactId>
-        </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-jdbc-h2</artifactId>
@@ -72,10 +68,6 @@
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-jdbc-mysql</artifactId>
         </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-oracle</artifactId>
-        </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-jdbc-postgresql</artifactId>
@@ -151,6 +143,7 @@
                                 
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/jdbc</group-tests.source.dir>
                                 
<group-tests.dest.module.dir>${project.basedir}</group-tests.dest.module.dir>
                                 
<group-tests.concat.rel.paths>src/main/resources/application.properties</group-tests.concat.rel.paths>
+                                
<group-tests.files.excludes>db2,oracle,${group-tests.files.excludes}</group-tests.files.excludes>
                             </properties>
                         </configuration>
                     </execution>
diff --git a/integration-tests/jdbc-grouped/pom.xml 
b/integration-tests/jdbc-oracle/pom.xml
similarity index 77%
copy from integration-tests/jdbc-grouped/pom.xml
copy to integration-tests/jdbc-oracle/pom.xml
index df0c04dcd35..b524b038675 100644
--- a/integration-tests/jdbc-grouped/pom.xml
+++ b/integration-tests/jdbc-oracle/pom.xml
@@ -19,7 +19,6 @@
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
     <modelVersion>4.0.0</modelVersion>
-
     <parent>
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-build-parent-it</artifactId>
@@ -27,9 +26,9 @@
         <relativePath>../../poms/build-parent-it/pom.xml</relativePath>
     </parent>
 
-    <artifactId>camel-quarkus-integration-test-jdbc-grouped</artifactId>
-    <name>Camel Quarkus :: Integration Tests :: JDBC Grouped</name>
-    <description>JDBC tests from ../integration-test-groups/jdbc merged 
together</description>
+    <artifactId>camel-quarkus-integration-test-jdbc-oracle</artifactId>
+    <name>Camel Quarkus :: Integration Tests :: JDBC Oracle Standalone</name>
+    <description>JDBC Oracle tests from 
../integration-test-groups/jdbc/oracle</description>
 
     <dependencies>
         <dependency>
@@ -52,34 +51,10 @@
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-resteasy</artifactId>
         </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-db2</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-h2</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-mariadb</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-mssql</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-mysql</artifactId>
-        </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-jdbc-oracle</artifactId>
         </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-jdbc-postgresql</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-direct</artifactId>
@@ -96,14 +71,14 @@
             <groupId>org.apache.camel.quarkus</groupId>
             
<artifactId>camel-quarkus-integration-tests-support-jdbc</artifactId>
         </dependency>
+
+        <!-- test dependencies -->
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             
<artifactId>camel-quarkus-integration-tests-support-jdbc</artifactId>
             <type>test-jar</type>
             <scope>test</scope>
         </dependency>
-
-        <!-- test dependencies -->
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-junit</artifactId>
@@ -124,11 +99,6 @@
             <artifactId>camel-quarkus-integration-test-support</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.testcontainers</groupId>
-            <artifactId>testcontainers</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
 
     <build>
@@ -138,28 +108,56 @@
                 <artifactId>gmavenplus-plugin</artifactId>
                 <executions>
                     <execution>
-                        <id>group-sources</id>
+                        <id>copy-sources</id>
                         <goals>
                             <goal>execute</goal>
                         </goals>
                         <phase>generate-sources</phase>
                         <configuration>
                             <scripts>
-                                
<script>file:${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</script>
+                                
<script>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</script>
                             </scripts>
                             <properties>
-                                
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/jdbc</group-tests.source.dir>
-                                
<group-tests.dest.module.dir>${project.basedir}</group-tests.dest.module.dir>
-                                
<group-tests.concat.rel.paths>src/main/resources/application.properties</group-tests.concat.rel.paths>
+                                
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/jdbc/oracle</copy-tests.source.dir>
+                                
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
                             </properties>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>add-sources</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                
<source>${basedir}/target/src/main/java</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>add-test-sources</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-test-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                
<source>${basedir}/target/src/test/java</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 
-
     <profiles>
         <profile>
             <id>native</id>
@@ -199,7 +197,7 @@
                 <!-- The following dependencies guarantee that this module is 
built after them. You can update them by running `mvn process-resources 
-Pformat -N` from the source tree root directory -->
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-direct-deployment</artifactId>
+                    <artifactId>camel-quarkus-bean-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
@@ -212,7 +210,7 @@
                 </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-jdbc-deployment</artifactId>
+                    <artifactId>camel-quarkus-direct-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
@@ -225,7 +223,7 @@
                 </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-log-deployment</artifactId>
+                    <artifactId>camel-quarkus-jdbc-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
@@ -238,7 +236,7 @@
                 </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-mock-deployment</artifactId>
+                    <artifactId>camel-quarkus-log-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
@@ -251,7 +249,7 @@
                 </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-timer-deployment</artifactId>
+                    <artifactId>camel-quarkus-mock-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
@@ -264,7 +262,7 @@
                 </dependency>
                 <dependency>
                     <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-bean-deployment</artifactId>
+                    <artifactId>camel-quarkus-timer-deployment</artifactId>
                     <version>${project.version}</version>
                     <type>pom</type>
                     <scope>test</scope>
@@ -288,35 +286,6 @@
                 <skipTests>true</skipTests>
             </properties>
         </profile>
-        <profile>
-            <id>fips</id>
-            <activation>
-                <property>
-                    <name>fips</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <systemPropertyVariables>
-                                
<quarkus.datasource.mysql.devservices.enabled>false</quarkus.datasource.mysql.devservices.enabled>
-                            </systemPropertyVariables>
-                        </configuration>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-failsafe-plugin</artifactId>
-                        <configuration>
-                            <systemPropertyVariables>
-                                
<quarkus.datasource.mysql.devservices.enabled>false</quarkus.datasource.mysql.devservices.enabled>
-                            </systemPropertyVariables>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
     </profiles>
-</project>
\ No newline at end of file
+
+</project>
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml
index 6a4b663d70d..c6540cdbce2 100644
--- a/integration-tests/pom.xml
+++ b/integration-tests/pom.xml
@@ -79,6 +79,7 @@
         <module>dataformats-json-grouped</module>
         <module>datasonnet</module>
         <module>debezium-grouped</module>
+        <module>debezium-oracle</module>
         <module>debug</module>
         <module>disruptor</module>
         <module>docling</module>
@@ -123,7 +124,9 @@
         <module>java-joor-dsl</module>
         <module>jaxb</module>
         <module>jcache</module>
+        <module>jdbc-db2</module>
         <module>jdbc-grouped</module>
+        <module>jdbc-oracle</module>
         <module>jfr</module>
         <module>jira</module>
         <module>jms-artemis-client</module>
diff --git a/tooling/scripts/test-categories.yaml 
b/tooling/scripts/test-categories.yaml
index 19cdecf1736..75e5000b9ba 100644
--- a/tooling/scripts/test-categories.yaml
+++ b/tooling/scripts/test-categories.yaml
@@ -113,6 +113,7 @@ group-06:
   - exec
   - file
   - hashicorp-vault
+  - jdbc-db2
   - jsonpath
   - kamelet
   - langchain4j-chat-ql4j
@@ -132,6 +133,7 @@ group-07:
   - dataformats-json-grouped
   - dropbox
   - geocoder
+  - jdbc-oracle
   - jslt
   - langchain4j-embeddings
   - langchain4j-embeddings-ql4j
@@ -149,6 +151,7 @@ group-08:
   - azure-grouped
   - crypto
   - crypto-pgp
+  - debezium-oracle
   - joor
   - jq
   - langchain4j-chat

Reply via email to