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

aldettinger 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 b5bee95fc7 Split compression related tests into a test group #3689
b5bee95fc7 is described below

commit b5bee95fc7dd3a0b3f4d6c2f673543688af1b4c2
Author: aldettinger <[email protected]>
AuthorDate: Mon May 16 16:23:32 2022 +0200

    Split compression related tests into a test group #3689
---
 .../compression/lzf}/pom.xml                       |  61 +----------
 .../quarkus/component/lzf/it/LzfResource.java      |  67 ++++++++++++
 .../quarkus/component/lzf/it/LzfRouteBuilder.java  |  13 ++-
 .../camel/quarkus/component/lzf/it/LzfIT.java      |   4 +-
 .../camel/quarkus/component/lzf/it/LzfTest.java    |  38 ++-----
 integration-test-groups/{ => compression}/pom.xml  |  17 ++--
 .../compression/zip-deflater}/pom.xml              |  61 +----------
 .../zipdeflater/it/ZipDeflaterResource.java        |  69 +++++++++++++
 .../zipdeflater/it/ZipDeflaterRouteBuilder.java    |  14 ++-
 .../component/zipdeflater/it/ZipDeflaterIT.java    |   4 +-
 .../component/zipdeflater/it/ZipDeflaterTest.java  |  35 ++-----
 .../compression/zipfile}/pom.xml                   |  42 +-------
 .../component/zipfile/it/ZipFileResource.java      |  41 +++++---
 .../component/zipfile/it/ZipFileRouteBuilder.java  |  20 +---
 .../component/compression/it/ZipFileIT.java        |   2 +-
 .../component/compression/it/ZipFileTest.java      |  28 ++---
 integration-test-groups/pom.xml                    |   1 +
 .../{compression => compression-grouped}/pom.xml   | 113 +++++++++++++++++----
 integration-tests/pom.xml                          |   2 +-
 pom.xml                                            |  10 ++
 tooling/scripts/test-categories.yaml               |   2 +-
 21 files changed, 342 insertions(+), 302 deletions(-)

diff --git a/integration-tests/compression/pom.xml 
b/integration-test-groups/compression/lzf/pom.xml
similarity index 65%
copy from integration-tests/compression/pom.xml
copy to integration-test-groups/compression/lzf/pom.xml
index 08e582bc88..9a726f4f56 100644
--- a/integration-tests/compression/pom.xml
+++ b/integration-test-groups/compression/lzf/pom.xml
@@ -23,33 +23,21 @@
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-build-parent-it</artifactId>
         <version>2.10.0-SNAPSHOT</version>
-        <relativePath>../../poms/build-parent-it/pom.xml</relativePath>
+        <relativePath>../../../poms/build-parent-it/pom.xml</relativePath>
     </parent>
 
-    <artifactId>camel-quarkus-integration-test-compression</artifactId>
-    <name>Camel Quarkus :: Integration Tests :: Compression</name>
-    <description>Integration tests for various compression related 
extensions</description>
+    <artifactId>camel-quarkus-integration-test-lzf</artifactId>
+    <name>Camel Quarkus :: Integration Tests :: Lzf</name>
+    <description>Integration tests for Camel Quarkus Lzf 
extension</description>
 
     <dependencies>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-zipfile</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-zip-deflater</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-lzf</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-direct</artifactId>
         </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-mock</artifactId>
+            <artifactId>camel-quarkus-lzf</artifactId>
         </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
@@ -132,45 +120,6 @@
                         </exclusion>
                     </exclusions>
                 </dependency>
-                <dependency>
-                    <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-mock-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-zip-deflater-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-zipfile-deployment</artifactId>
-                    <version>${project.version}</version>
-                    <type>pom</type>
-                    <scope>test</scope>
-                    <exclusions>
-                        <exclusion>
-                            <groupId>*</groupId>
-                            <artifactId>*</artifactId>
-                        </exclusion>
-                    </exclusions>
-                </dependency>
             </dependencies>
         </profile>
     </profiles>
diff --git 
a/integration-test-groups/compression/lzf/src/main/java/org/apache/camel/quarkus/component/lzf/it/LzfResource.java
 
b/integration-test-groups/compression/lzf/src/main/java/org/apache/camel/quarkus/component/lzf/it/LzfResource.java
new file mode 100644
index 0000000000..3849f89d64
--- /dev/null
+++ 
b/integration-test-groups/compression/lzf/src/main/java/org/apache/camel/quarkus/component/lzf/it/LzfResource.java
@@ -0,0 +1,67 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.quarkus.component.lzf.it;
+
+import java.net.URI;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.inject.Inject;
+import javax.ws.rs.Consumes;
+import javax.ws.rs.POST;
+import javax.ws.rs.Path;
+import javax.ws.rs.Produces;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+
+import org.apache.camel.ProducerTemplate;
+
+@Path("/lzf")
+@ApplicationScoped
+public class LzfResource {
+
+    @Inject
+    ProducerTemplate producerTemplate;
+
+    @Path("/compress")
+    @POST
+    @Consumes(MediaType.APPLICATION_OCTET_STREAM)
+    @Produces(MediaType.APPLICATION_OCTET_STREAM)
+    public Response compress(byte[] uncompressedMessage) throws Exception {
+
+        final byte[] compressedMessage = 
producerTemplate.requestBody("direct:lzf-compress", uncompressedMessage, 
byte[].class);
+
+        return Response.created(new URI("https://camel.apache.org/";))
+                .header("content-length", compressedMessage.length)
+                .entity(compressedMessage)
+                .build();
+    }
+
+    @Path("/uncompress")
+    @POST
+    @Consumes(MediaType.APPLICATION_OCTET_STREAM)
+    @Produces(MediaType.APPLICATION_OCTET_STREAM)
+    public Response uncompress(byte[] compressedMessage) throws Exception {
+
+        final byte[] uncompressedMessage = 
producerTemplate.requestBody("direct:lzf-uncompress", compressedMessage,
+                byte[].class);
+
+        return Response.created(new URI("https://camel.apache.org/";))
+                .header("content-length", uncompressedMessage.length)
+                .entity(uncompressedMessage)
+                .build();
+    }
+}
diff --git 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
 
b/integration-test-groups/compression/lzf/src/main/java/org/apache/camel/quarkus/component/lzf/it/LzfRouteBuilder.java
similarity index 72%
copy from 
integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
copy to 
integration-test-groups/compression/lzf/src/main/java/org/apache/camel/quarkus/component/lzf/it/LzfRouteBuilder.java
index fcc36e58d8..64d260884b 100644
--- 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
+++ 
b/integration-test-groups/compression/lzf/src/main/java/org/apache/camel/quarkus/component/lzf/it/LzfRouteBuilder.java
@@ -14,11 +14,14 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.camel.quarkus.component.compression.it;
+package org.apache.camel.quarkus.component.lzf.it;
 
-import io.quarkus.test.junit.QuarkusIntegrationTest;
-
-@QuarkusIntegrationTest
-class CompressionIT extends CompressionTest {
+import org.apache.camel.builder.RouteBuilder;
 
+public class LzfRouteBuilder extends RouteBuilder {
+    @Override
+    public void configure() {
+        from("direct:lzf-compress").marshal().lzf();
+        from("direct:lzf-uncompress").unmarshal().lzf();
+    }
 }
diff --git 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
 
b/integration-test-groups/compression/lzf/src/test/java/org/apache/camel/quarkus/component/lzf/it/LzfIT.java
similarity index 89%
copy from 
integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
copy to 
integration-test-groups/compression/lzf/src/test/java/org/apache/camel/quarkus/component/lzf/it/LzfIT.java
index fcc36e58d8..10c9d9aeb9 100644
--- 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
+++ 
b/integration-test-groups/compression/lzf/src/test/java/org/apache/camel/quarkus/component/lzf/it/LzfIT.java
@@ -14,11 +14,11 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.camel.quarkus.component.compression.it;
+package org.apache.camel.quarkus.component.lzf.it;
 
 import io.quarkus.test.junit.QuarkusIntegrationTest;
 
 @QuarkusIntegrationTest
-class CompressionIT extends CompressionTest {
+class LzfIT extends LzfTest {
 
 }
diff --git 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionTest.java
 
b/integration-test-groups/compression/lzf/src/test/java/org/apache/camel/quarkus/component/lzf/it/LzfTest.java
similarity index 57%
copy from 
integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionTest.java
copy to 
integration-test-groups/compression/lzf/src/test/java/org/apache/camel/quarkus/component/lzf/it/LzfTest.java
index 5ededb67f7..5bc323f265 100644
--- 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionTest.java
+++ 
b/integration-test-groups/compression/lzf/src/test/java/org/apache/camel/quarkus/component/lzf/it/LzfTest.java
@@ -14,35 +14,27 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.camel.quarkus.component.compression.it;
+package org.apache.camel.quarkus.component.lzf.it;
 
 import java.nio.charset.StandardCharsets;
-import java.util.stream.Stream;
 
 import io.quarkus.test.junit.QuarkusTest;
 import io.restassured.RestAssured;
 import io.restassured.http.ContentType;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;
-import org.junit.jupiter.params.ParameterizedTest;
-import org.junit.jupiter.params.provider.MethodSource;
 
 @QuarkusTest
-class CompressionTest {
-    final byte[] UNCOMPRESSED = "Hello 
World!".getBytes(StandardCharsets.UTF_8);
+class LzfTest {
+    final byte[] UNCOMPRESSED = "Hello World 
Lzf!".getBytes(StandardCharsets.UTF_8);
 
-    private static Stream<String> listJsonDataFormatsToBeTested() {
-        return Stream.of("zipfile", "zip-deflater", "gzip-deflater", "lzf");
-    }
-
-    @ParameterizedTest
-    @MethodSource("listJsonDataFormatsToBeTested")
-    public void compressAndUncompress(String format) throws Exception {
+    @Test
+    public void compressThenUncompressShouldSucceed() {
 
         final byte[] compressed = RestAssured.given()
                 .contentType(ContentType.BINARY)
                 .body(UNCOMPRESSED)
-                .post("/compression/compress/" + format) //
+                .post("/lzf/compress") //
                 .then().extract().body().asByteArray();
 
         Assertions.assertNotNull(compressed);
@@ -50,25 +42,9 @@ class CompressionTest {
         final byte[] uncompressed = RestAssured.given()
                 .contentType(ContentType.BINARY)
                 .body(compressed)
-                .post("/compression/uncompress/" + format) //
+                .post("/lzf/uncompress") //
                 .then().extract().body().asByteArray();
 
         Assertions.assertArrayEquals(UNCOMPRESSED, uncompressed);
     }
-
-    @Test
-    public void zipFileSplitIteratorShouldSucceed() {
-        RestAssured.given()
-                .get("/compression/zipfile/splitIteratorShouldSucceed")
-                .then()
-                .statusCode(204);
-    }
-
-    @Test
-    public void zipFileAggregateShouldSucceed() {
-        RestAssured.given()
-                .get("/compression/zipfile/aggregateShouldSucceed")
-                .then()
-                .statusCode(204);
-    }
 }
diff --git a/integration-test-groups/pom.xml 
b/integration-test-groups/compression/pom.xml
similarity index 72%
copy from integration-test-groups/pom.xml
copy to integration-test-groups/compression/pom.xml
index 598912369b..2c4df60f44 100644
--- a/integration-test-groups/pom.xml
+++ b/integration-test-groups/compression/pom.xml
@@ -22,27 +22,24 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.camel.quarkus</groupId>
-        <artifactId>camel-quarkus</artifactId>
+        <artifactId>camel-quarkus-integration-test-groups</artifactId>
         <version>2.10.0-SNAPSHOT</version>
-        <relativePath>../pom.xml</relativePath>
     </parent>
 
-    <artifactId>camel-quarkus-integration-test-groups</artifactId>
+    <artifactId>camel-quarkus-integration-tests-compression</artifactId>
     <packaging>pom</packaging>
 
-    <name>Camel Quarkus :: Integration Test Groups</name>
+    <name>Camel Quarkus :: Compression Integration Tests</name>
 
     <properties>
         <quarkus.banner.enabled>false</quarkus.banner.enabled>
     </properties>
 
     <modules>
-        <!-- test groups a..z; do not remove this comment, it is important 
when sorting via  mvn process-resources -Pformat -->
-        <module>aws2</module>
-        <module>aws2-quarkus-client</module>
-        <module>azure</module>
-        <module>foundation</module>
-        <module>mongodb</module>
+        <!-- extensions a..z; do not remove this comment, it is important when 
sorting via  mvn process-resources -Pformat -->
+        <module>lzf</module>
+        <module>zip-deflater</module>
+        <module>zipfile</module>
     </modules>
 
 </project>
diff --git a/integration-tests/compression/pom.xml 
b/integration-test-groups/compression/zip-deflater/pom.xml
similarity index 65%
copy from integration-tests/compression/pom.xml
copy to integration-test-groups/compression/zip-deflater/pom.xml
index 08e582bc88..67b838e9ed 100644
--- a/integration-tests/compression/pom.xml
+++ b/integration-test-groups/compression/zip-deflater/pom.xml
@@ -23,33 +23,21 @@
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-build-parent-it</artifactId>
         <version>2.10.0-SNAPSHOT</version>
-        <relativePath>../../poms/build-parent-it/pom.xml</relativePath>
+        <relativePath>../../../poms/build-parent-it/pom.xml</relativePath>
     </parent>
 
-    <artifactId>camel-quarkus-integration-test-compression</artifactId>
-    <name>Camel Quarkus :: Integration Tests :: Compression</name>
-    <description>Integration tests for various compression related 
extensions</description>
+    <artifactId>camel-quarkus-integration-test-zip-deflater</artifactId>
+    <name>Camel Quarkus :: Integration Tests :: Zip Deflater</name>
+    <description>Integration tests for Camel Quarkus Zip Deflater 
extension</description>
 
     <dependencies>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-zipfile</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-zip-deflater</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-lzf</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-direct</artifactId>
         </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-mock</artifactId>
+            <artifactId>camel-quarkus-zip-deflater</artifactId>
         </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
@@ -119,32 +107,6 @@
                         </exclusion>
                     </exclusions>
                 </dependency>
-                <dependency>
-                    <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-lzf-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-mock-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-zip-deflater-deployment</artifactId>
@@ -158,19 +120,6 @@
                         </exclusion>
                     </exclusions>
                 </dependency>
-                <dependency>
-                    <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-zipfile-deployment</artifactId>
-                    <version>${project.version}</version>
-                    <type>pom</type>
-                    <scope>test</scope>
-                    <exclusions>
-                        <exclusion>
-                            <groupId>*</groupId>
-                            <artifactId>*</artifactId>
-                        </exclusion>
-                    </exclusions>
-                </dependency>
             </dependencies>
         </profile>
     </profiles>
diff --git 
a/integration-test-groups/compression/zip-deflater/src/main/java/org/apache/camel/quarkus/component/zipdeflater/it/ZipDeflaterResource.java
 
b/integration-test-groups/compression/zip-deflater/src/main/java/org/apache/camel/quarkus/component/zipdeflater/it/ZipDeflaterResource.java
new file mode 100644
index 0000000000..67a16ee349
--- /dev/null
+++ 
b/integration-test-groups/compression/zip-deflater/src/main/java/org/apache/camel/quarkus/component/zipdeflater/it/ZipDeflaterResource.java
@@ -0,0 +1,69 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.quarkus.component.zipdeflater.it;
+
+import java.net.URI;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.inject.Inject;
+import javax.ws.rs.Consumes;
+import javax.ws.rs.POST;
+import javax.ws.rs.Path;
+import javax.ws.rs.PathParam;
+import javax.ws.rs.Produces;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+
+import org.apache.camel.ProducerTemplate;
+
+@Path("/zip-deflater")
+@ApplicationScoped
+public class ZipDeflaterResource {
+
+    @Inject
+    ProducerTemplate producerTemplate;
+
+    @Path("/compress/{format}")
+    @POST
+    @Consumes(MediaType.APPLICATION_OCTET_STREAM)
+    @Produces(MediaType.APPLICATION_OCTET_STREAM)
+    public Response compress(@PathParam("format") String format, byte[] 
uncompressedMessage) throws Exception {
+
+        final byte[] compressedMessage = 
producerTemplate.requestBody("direct:" + format + "-compress", 
uncompressedMessage,
+                byte[].class);
+
+        return Response.created(new URI("https://camel.apache.org/";))
+                .header("content-length", compressedMessage.length)
+                .entity(compressedMessage)
+                .build();
+    }
+
+    @Path("/uncompress/{format}")
+    @POST
+    @Consumes(MediaType.APPLICATION_OCTET_STREAM)
+    @Produces(MediaType.APPLICATION_OCTET_STREAM)
+    public Response uncompress(@PathParam("format") String format, byte[] 
compressedMessage) throws Exception {
+
+        String endpointUri = "direct:" + format + "-uncompress";
+        final byte[] uncompressedMessage = 
producerTemplate.requestBody(endpointUri, compressedMessage, byte[].class);
+
+        return Response.created(new URI("https://camel.apache.org/";))
+                .header("content-length", uncompressedMessage.length)
+                .entity(uncompressedMessage)
+                .build();
+    }
+}
diff --git 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
 
b/integration-test-groups/compression/zip-deflater/src/main/java/org/apache/camel/quarkus/component/zipdeflater/it/ZipDeflaterRouteBuilder.java
similarity index 61%
copy from 
integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
copy to 
integration-test-groups/compression/zip-deflater/src/main/java/org/apache/camel/quarkus/component/zipdeflater/it/ZipDeflaterRouteBuilder.java
index fcc36e58d8..98e8eaf5b4 100644
--- 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
+++ 
b/integration-test-groups/compression/zip-deflater/src/main/java/org/apache/camel/quarkus/component/zipdeflater/it/ZipDeflaterRouteBuilder.java
@@ -14,11 +14,17 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.camel.quarkus.component.compression.it;
+package org.apache.camel.quarkus.component.zipdeflater.it;
 
-import io.quarkus.test.junit.QuarkusIntegrationTest;
+import org.apache.camel.builder.RouteBuilder;
 
-@QuarkusIntegrationTest
-class CompressionIT extends CompressionTest {
+public class ZipDeflaterRouteBuilder extends RouteBuilder {
+    @Override
+    public void configure() {
+        from("direct:zip-deflater-compress").marshal().zipDeflater();
+        from("direct:zip-deflater-uncompress").unmarshal().zipDeflater();
 
+        from("direct:gzip-deflater-compress").marshal().gzipDeflater();
+        from("direct:gzip-deflater-uncompress").unmarshal().gzipDeflater();
+    }
 }
diff --git 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
 
b/integration-test-groups/compression/zip-deflater/src/test/java/org/apache/camel/quarkus/component/zipdeflater/it/ZipDeflaterIT.java
similarity index 89%
copy from 
integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
copy to 
integration-test-groups/compression/zip-deflater/src/test/java/org/apache/camel/quarkus/component/zipdeflater/it/ZipDeflaterIT.java
index fcc36e58d8..1c41d367f2 100644
--- 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
+++ 
b/integration-test-groups/compression/zip-deflater/src/test/java/org/apache/camel/quarkus/component/zipdeflater/it/ZipDeflaterIT.java
@@ -14,11 +14,11 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.camel.quarkus.component.compression.it;
+package org.apache.camel.quarkus.component.zipdeflater.it;
 
 import io.quarkus.test.junit.QuarkusIntegrationTest;
 
 @QuarkusIntegrationTest
-class CompressionIT extends CompressionTest {
+class ZipDeflaterIT extends ZipDeflaterTest {
 
 }
diff --git 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionTest.java
 
b/integration-test-groups/compression/zip-deflater/src/test/java/org/apache/camel/quarkus/component/zipdeflater/it/ZipDeflaterTest.java
similarity index 62%
copy from 
integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionTest.java
copy to 
integration-test-groups/compression/zip-deflater/src/test/java/org/apache/camel/quarkus/component/zipdeflater/it/ZipDeflaterTest.java
index 5ededb67f7..cef3a3106d 100644
--- 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionTest.java
+++ 
b/integration-test-groups/compression/zip-deflater/src/test/java/org/apache/camel/quarkus/component/zipdeflater/it/ZipDeflaterTest.java
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.camel.quarkus.component.compression.it;
+package org.apache.camel.quarkus.component.zipdeflater.it;
 
 import java.nio.charset.StandardCharsets;
 import java.util.stream.Stream;
@@ -23,26 +23,25 @@ import io.quarkus.test.junit.QuarkusTest;
 import io.restassured.RestAssured;
 import io.restassured.http.ContentType;
 import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
 @QuarkusTest
-class CompressionTest {
-    final byte[] UNCOMPRESSED = "Hello 
World!".getBytes(StandardCharsets.UTF_8);
+class ZipDeflaterTest {
+    final byte[] UNCOMPRESSED = "Hello World Zip 
Deflater!".getBytes(StandardCharsets.UTF_8);
 
-    private static Stream<String> listJsonDataFormatsToBeTested() {
-        return Stream.of("zipfile", "zip-deflater", "gzip-deflater", "lzf");
+    private static Stream<String> listZipDataFormatsToBeTested() {
+        return Stream.of("zip-deflater", "gzip-deflater");
     }
 
     @ParameterizedTest
-    @MethodSource("listJsonDataFormatsToBeTested")
-    public void compressAndUncompress(String format) throws Exception {
+    @MethodSource("listZipDataFormatsToBeTested")
+    public void compressThenUncompressShouldSucceed(String format) throws 
Exception {
 
         final byte[] compressed = RestAssured.given()
                 .contentType(ContentType.BINARY)
                 .body(UNCOMPRESSED)
-                .post("/compression/compress/" + format) //
+                .post("/zip-deflater/compress/" + format) //
                 .then().extract().body().asByteArray();
 
         Assertions.assertNotNull(compressed);
@@ -50,25 +49,9 @@ class CompressionTest {
         final byte[] uncompressed = RestAssured.given()
                 .contentType(ContentType.BINARY)
                 .body(compressed)
-                .post("/compression/uncompress/" + format) //
+                .post("/zip-deflater/uncompress/" + format) //
                 .then().extract().body().asByteArray();
 
         Assertions.assertArrayEquals(UNCOMPRESSED, uncompressed);
     }
-
-    @Test
-    public void zipFileSplitIteratorShouldSucceed() {
-        RestAssured.given()
-                .get("/compression/zipfile/splitIteratorShouldSucceed")
-                .then()
-                .statusCode(204);
-    }
-
-    @Test
-    public void zipFileAggregateShouldSucceed() {
-        RestAssured.given()
-                .get("/compression/zipfile/aggregateShouldSucceed")
-                .then()
-                .statusCode(204);
-    }
 }
diff --git a/integration-tests/compression/pom.xml 
b/integration-test-groups/compression/zipfile/pom.xml
similarity index 75%
copy from integration-tests/compression/pom.xml
copy to integration-test-groups/compression/zipfile/pom.xml
index 08e582bc88..9756d10a32 100644
--- a/integration-tests/compression/pom.xml
+++ b/integration-test-groups/compression/zipfile/pom.xml
@@ -23,26 +23,18 @@
         <groupId>org.apache.camel.quarkus</groupId>
         <artifactId>camel-quarkus-build-parent-it</artifactId>
         <version>2.10.0-SNAPSHOT</version>
-        <relativePath>../../poms/build-parent-it/pom.xml</relativePath>
+        <relativePath>../../../poms/build-parent-it/pom.xml</relativePath>
     </parent>
 
-    <artifactId>camel-quarkus-integration-test-compression</artifactId>
-    <name>Camel Quarkus :: Integration Tests :: Compression</name>
-    <description>Integration tests for various compression related 
extensions</description>
+    <artifactId>camel-quarkus-integration-test-zipfile</artifactId>
+    <name>Camel Quarkus :: Integration Tests :: Zipfile</name>
+    <description>Integration tests for Camel Quarkus Zipfile 
extension</description>
 
     <dependencies>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-zipfile</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-zip-deflater</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-lzf</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-direct</artifactId>
@@ -119,19 +111,6 @@
                         </exclusion>
                     </exclusions>
                 </dependency>
-                <dependency>
-                    <groupId>org.apache.camel.quarkus</groupId>
-                    <artifactId>camel-quarkus-lzf-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-mock-deployment</artifactId>
@@ -145,19 +124,6 @@
                         </exclusion>
                     </exclusions>
                 </dependency>
-                <dependency>
-                    <groupId>org.apache.camel.quarkus</groupId>
-                    
<artifactId>camel-quarkus-zip-deflater-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-zipfile-deployment</artifactId>
diff --git 
a/integration-tests/compression/src/main/java/org/apache/camel/quarkus/component/compression/it/CompressionResource.java
 
b/integration-test-groups/compression/zipfile/src/main/java/org/apache/camel/quarkus/component/zipfile/it/ZipFileResource.java
similarity index 82%
rename from 
integration-tests/compression/src/main/java/org/apache/camel/quarkus/component/compression/it/CompressionResource.java
rename to 
integration-test-groups/compression/zipfile/src/main/java/org/apache/camel/quarkus/component/zipfile/it/ZipFileResource.java
index cad45c5704..1e80bed645 100644
--- 
a/integration-tests/compression/src/main/java/org/apache/camel/quarkus/component/compression/it/CompressionResource.java
+++ 
b/integration-test-groups/compression/zipfile/src/main/java/org/apache/camel/quarkus/component/zipfile/it/ZipFileResource.java
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.camel.quarkus.component.compression.it;
+package org.apache.camel.quarkus.component.zipfile.it;
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
@@ -33,7 +33,6 @@ import javax.ws.rs.Consumes;
 import javax.ws.rs.GET;
 import javax.ws.rs.POST;
 import javax.ws.rs.Path;
-import javax.ws.rs.PathParam;
 import javax.ws.rs.Produces;
 import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
@@ -46,9 +45,9 @@ import org.apache.camel.component.mock.MockEndpoint;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 
-@Path("/compression")
+@Path("/zipfile")
 @ApplicationScoped
-public class CompressionResource {
+public class ZipFileResource {
 
     @Inject
     ProducerTemplate producerTemplate;
@@ -56,29 +55,39 @@ public class CompressionResource {
     @Inject
     CamelContext camelContext;
 
-    @Path("/compress/{format}")
+    @Path("/compress")
     @POST
     @Consumes(MediaType.APPLICATION_OCTET_STREAM)
     @Produces(MediaType.APPLICATION_OCTET_STREAM)
-    public Response zipfileCompress(@PathParam("format") String format, byte[] 
message) throws Exception {
-        final byte[] response = producerTemplate.requestBody("direct:" + 
format + "-compress", message, byte[].class);
-        return Response.created(new 
URI("https://camel.apache.org/";)).header("content-length", 
response.length).entity(response)
+    public Response compress(byte[] uncompressedMessage) throws Exception {
+
+        final String endopintUri = "direct:zipfile-compress";
+        final byte[] compressedMessage = 
producerTemplate.requestBody(endopintUri, uncompressedMessage, byte[].class);
+
+        return Response.created(new URI("https://camel.apache.org/";))
+                .header("content-length", compressedMessage.length)
+                .entity(compressedMessage)
                 .build();
     }
 
-    @Path("/uncompress/{format}")
+    @Path("/uncompress")
     @POST
     @Consumes(MediaType.APPLICATION_OCTET_STREAM)
     @Produces(MediaType.APPLICATION_OCTET_STREAM)
-    public Response zipfileUncompress(@PathParam("format") String format, 
byte[] message) throws Exception {
-        final byte[] response = producerTemplate.requestBody("direct:" + 
format + "-uncompress", message, byte[].class);
-        return Response.created(new 
URI("https://camel.apache.org/";)).header("content-length", 
response.length).entity(response)
+    public Response uncompress(byte[] compressedMessage) throws Exception {
+
+        final String endpointUri = "direct:zipfile-uncompress";
+        final byte[] uncompressMessage = 
producerTemplate.requestBody(endpointUri, compressedMessage, byte[].class);
+
+        return Response.created(new URI("https://camel.apache.org/";))
+                .header("content-length", uncompressMessage.length)
+                .entity(uncompressMessage)
                 .build();
     }
 
-    @Path("/zipfile/splitIteratorShouldSucceed")
+    @Path("/splitIteratorShouldSucceed")
     @GET
-    public void zipFileSplitIteratorShouldSucceed() throws Exception {
+    public void splitIteratorShouldSucceed() throws Exception {
         try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
             try (ZipOutputStream zipOutputStream = new ZipOutputStream(baos)) {
                 zipOutputStream.putNextEntry(new ZipEntry("first"));
@@ -97,9 +106,9 @@ public class CompressionResource {
         }
     }
 
-    @Path("/zipfile/aggregateShouldSucceed")
+    @Path("/aggregateShouldSucceed")
     @GET
-    public void zipFileAggregateShouldSucceed() throws Exception {
+    public void aggregateShouldSucceed() throws Exception {
 
         File firstInputFile = null, secondInputFile = null;
 
diff --git 
a/integration-tests/compression/src/main/java/org/apache/camel/quarkus/component/compression/it/CompressionRouteBuilder.java
 
b/integration-test-groups/compression/zipfile/src/main/java/org/apache/camel/quarkus/component/zipfile/it/ZipFileRouteBuilder.java
similarity index 75%
rename from 
integration-tests/compression/src/main/java/org/apache/camel/quarkus/component/compression/it/CompressionRouteBuilder.java
rename to 
integration-test-groups/compression/zipfile/src/main/java/org/apache/camel/quarkus/component/zipfile/it/ZipFileRouteBuilder.java
index ffff6e4d61..aebe71ae01 100644
--- 
a/integration-tests/compression/src/main/java/org/apache/camel/quarkus/component/compression/it/CompressionRouteBuilder.java
+++ 
b/integration-test-groups/compression/zipfile/src/main/java/org/apache/camel/quarkus/component/zipfile/it/ZipFileRouteBuilder.java
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.camel.quarkus.component.compression.it;
+package org.apache.camel.quarkus.component.zipfile.it;
 
 import java.util.Iterator;
 
@@ -23,7 +23,7 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.dataformat.zipfile.ZipFileDataFormat;
 import org.apache.camel.processor.aggregate.zipfile.ZipAggregationStrategy;
 
-public class CompressionRouteBuilder extends RouteBuilder {
+public class ZipFileRouteBuilder extends RouteBuilder {
     @Override
     public void configure() {
         from("direct:zipfile-compress")
@@ -31,22 +31,6 @@ public class CompressionRouteBuilder extends RouteBuilder {
         from("direct:zipfile-uncompress")
                 .unmarshal().zipFile();
 
-        from("direct:zip-deflater-compress")
-                .marshal().zipDeflater();
-        from("direct:zip-deflater-uncompress")
-                .unmarshal().zipDeflater();
-
-        from("direct:gzip-deflater-compress")
-                .marshal().gzipDeflater();
-        from("direct:gzip-deflater-uncompress")
-                .unmarshal().gzipDeflater();
-
-        from("direct:lzf-compress")
-                .marshal().lzf();
-        from("direct:lzf-uncompress")
-                .unmarshal().lzf();
-
-        // Test routes specific to camel-quarkus-zipfile
         ZipFileDataFormat zipFileDataformat = new ZipFileDataFormat();
         zipFileDataformat.setUsingIterator(true);
 
diff --git 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
 
b/integration-test-groups/compression/zipfile/src/test/java/org/apache/camel/quarkus/component/compression/it/ZipFileIT.java
similarity index 95%
rename from 
integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
rename to 
integration-test-groups/compression/zipfile/src/test/java/org/apache/camel/quarkus/component/compression/it/ZipFileIT.java
index fcc36e58d8..510c8fe07d 100644
--- 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionIT.java
+++ 
b/integration-test-groups/compression/zipfile/src/test/java/org/apache/camel/quarkus/component/compression/it/ZipFileIT.java
@@ -19,6 +19,6 @@ package org.apache.camel.quarkus.component.compression.it;
 import io.quarkus.test.junit.QuarkusIntegrationTest;
 
 @QuarkusIntegrationTest
-class CompressionIT extends CompressionTest {
+class ZipFileIT extends ZipFileTest {
 
 }
diff --git 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionTest.java
 
b/integration-test-groups/compression/zipfile/src/test/java/org/apache/camel/quarkus/component/compression/it/ZipFileTest.java
similarity index 66%
rename from 
integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionTest.java
rename to 
integration-test-groups/compression/zipfile/src/test/java/org/apache/camel/quarkus/component/compression/it/ZipFileTest.java
index 5ededb67f7..a4fca8078b 100644
--- 
a/integration-tests/compression/src/test/java/org/apache/camel/quarkus/component/compression/it/CompressionTest.java
+++ 
b/integration-test-groups/compression/zipfile/src/test/java/org/apache/camel/quarkus/component/compression/it/ZipFileTest.java
@@ -17,32 +17,24 @@
 package org.apache.camel.quarkus.component.compression.it;
 
 import java.nio.charset.StandardCharsets;
-import java.util.stream.Stream;
 
 import io.quarkus.test.junit.QuarkusTest;
 import io.restassured.RestAssured;
 import io.restassured.http.ContentType;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;
-import org.junit.jupiter.params.ParameterizedTest;
-import org.junit.jupiter.params.provider.MethodSource;
 
 @QuarkusTest
-class CompressionTest {
-    final byte[] UNCOMPRESSED = "Hello 
World!".getBytes(StandardCharsets.UTF_8);
+class ZipFileTest {
+    final byte[] UNCOMPRESSED = "Hello World Zip 
File!".getBytes(StandardCharsets.UTF_8);
 
-    private static Stream<String> listJsonDataFormatsToBeTested() {
-        return Stream.of("zipfile", "zip-deflater", "gzip-deflater", "lzf");
-    }
-
-    @ParameterizedTest
-    @MethodSource("listJsonDataFormatsToBeTested")
-    public void compressAndUncompress(String format) throws Exception {
+    @Test
+    public void compressThenUncompressShouldSucceed() throws Exception {
 
         final byte[] compressed = RestAssured.given()
                 .contentType(ContentType.BINARY)
                 .body(UNCOMPRESSED)
-                .post("/compression/compress/" + format) //
+                .post("/zipfile/compress") //
                 .then().extract().body().asByteArray();
 
         Assertions.assertNotNull(compressed);
@@ -50,24 +42,24 @@ class CompressionTest {
         final byte[] uncompressed = RestAssured.given()
                 .contentType(ContentType.BINARY)
                 .body(compressed)
-                .post("/compression/uncompress/" + format) //
+                .post("/zipfile/uncompress") //
                 .then().extract().body().asByteArray();
 
         Assertions.assertArrayEquals(UNCOMPRESSED, uncompressed);
     }
 
     @Test
-    public void zipFileSplitIteratorShouldSucceed() {
+    public void splitIteratorShouldSucceed() {
         RestAssured.given()
-                .get("/compression/zipfile/splitIteratorShouldSucceed")
+                .get("/zipfile/splitIteratorShouldSucceed")
                 .then()
                 .statusCode(204);
     }
 
     @Test
-    public void zipFileAggregateShouldSucceed() {
+    public void aggregateShouldSucceed() {
         RestAssured.given()
-                .get("/compression/zipfile/aggregateShouldSucceed")
+                .get("/zipfile/aggregateShouldSucceed")
                 .then()
                 .statusCode(204);
     }
diff --git a/integration-test-groups/pom.xml b/integration-test-groups/pom.xml
index 598912369b..91086387bd 100644
--- a/integration-test-groups/pom.xml
+++ b/integration-test-groups/pom.xml
@@ -41,6 +41,7 @@
         <module>aws2</module>
         <module>aws2-quarkus-client</module>
         <module>azure</module>
+        <module>compression</module>
         <module>foundation</module>
         <module>mongodb</module>
     </modules>
diff --git a/integration-tests/compression/pom.xml 
b/integration-tests/compression-grouped/pom.xml
similarity index 65%
rename from integration-tests/compression/pom.xml
rename to integration-tests/compression-grouped/pom.xml
index 08e582bc88..840eb0c8f6 100644
--- a/integration-tests/compression/pom.xml
+++ b/integration-tests/compression-grouped/pom.xml
@@ -26,48 +26,116 @@
         <relativePath>../../poms/build-parent-it/pom.xml</relativePath>
     </parent>
 
-    <artifactId>camel-quarkus-integration-test-compression</artifactId>
-    <name>Camel Quarkus :: Integration Tests :: Compression</name>
-    <description>Integration tests for various compression related 
extensions</description>
+    <artifactId>camel-quarkus-integration-test-compression-grouped</artifactId>
+    <name>Camel Quarkus :: Integration Tests :: Compression Grouped</name>
+    <description>Compression tests from ../integration-test-groups/compression 
merged together</description>
 
+    <!-- Regenerate the dependencies via `mvn process-resources -Pformat -N` 
from the source tree root directory -->
     <dependencies>
-        <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-zipfile</artifactId>
+         <dependency>
+            <groupId>io.quarkus</groupId>
+            <artifactId>quarkus-junit5</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-zip-deflater</artifactId>
+            <groupId>io.quarkus</groupId>
+            <artifactId>quarkus-resteasy</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.apache.camel.quarkus</groupId>
-            <artifactId>camel-quarkus-lzf</artifactId>
+            <groupId>io.quarkus</groupId>
+            <artifactId>quarkus-resteasy-jackson</artifactId>
         </dependency>
         <dependency>
+            <groupId>io.quarkus</groupId>
+            <artifactId>quarkus-resteasy-jsonb</artifactId>
+        </dependency>
+         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-direct</artifactId>
         </dependency>
-        <dependency>
+         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-mock</artifactId>
         </dependency>
         <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-resteasy</artifactId>
+            <groupId>org.apache.camel.quarkus</groupId>
+            <artifactId>camel-quarkus-lzf</artifactId>
         </dependency>
         <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-junit5</artifactId>
+            <groupId>org.apache.camel.quarkus</groupId>
+            <artifactId>camel-quarkus-zip-deflater</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.camel.quarkus</groupId>
+            <artifactId>camel-quarkus-zipfile</artifactId>
         </dependency>
-
-        <!-- test dependencies -->
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>rest-assured</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.awaitility</groupId>
+            <artifactId>awaitility</artifactId>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 
+    <build>
+        <plugins>
+            <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>
+            <plugin>
+                <groupId>org.codehaus.gmaven</groupId>
+                <artifactId>groovy-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>group-sources</id>
+                        <goals>
+                            <goal>execute</goal>
+                        </goals>
+                        <phase>generate-sources</phase>
+                        <configuration>
+                            
<source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</source>
+                            <properties>
+                                
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/compression</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>
+                            </properties>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 
     <profiles>
         <profile>
@@ -173,6 +241,17 @@
                 </dependency>
             </dependencies>
         </profile>
+        <profile>
+            <id>skip-testcontainers-tests</id>
+            <activation>
+                <property>
+                    <name>skip-testcontainers-tests</name>
+                </property>
+            </activation>
+            <properties>
+                <skipTests>true</skipTests>
+            </properties>
+        </profile>
     </profiles>
 
 </project>
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml
index c5ca2b5993..affce40e79 100644
--- a/integration-tests/pom.xml
+++ b/integration-tests/pom.xml
@@ -72,7 +72,7 @@
         <module>caffeine</module>
         <module>cassandraql</module>
         <module>cbor</module>
-        <module>compression</module>
+        <module>compression-grouped</module>
         <module>consul</module>
         <module>couchdb</module>
         <module>crypto</module>
diff --git a/pom.xml b/pom.xml
index 882d6eb7cb..b962d56f8f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -841,6 +841,7 @@
                                         
<sortModulesPath>integration-test-groups/aws2/pom.xml</sortModulesPath>
                                         
<sortModulesPath>integration-test-groups/aws2-quarkus-client/pom.xml</sortModulesPath>
                                         
<sortModulesPath>integration-test-groups/azure/pom.xml</sortModulesPath>
+                                        
<sortModulesPath>integration-test-groups/compression/pom.xml</sortModulesPath>
                                         
<sortModulesPath>integration-test-groups/foundation/pom.xml</sortModulesPath>
                                         
<sortModulesPath>integration-test-groups/mongodb/pom.xml</sortModulesPath>
                                     </sortModulesPaths>
@@ -900,6 +901,15 @@
                                             </sourcePoms>
                                             
<destinationPom>${basedir}/integration-tests/azure-grouped/pom.xml</destinationPom>
                                         </mergePom>
+                                        <mergePom>
+                                            <sourcePoms>
+                                                
<directory>${basedir}/integration-test-groups/compression</directory>
+                                                <includes>
+                                                    
<include>*/pom.xml</include>
+                                                </includes>
+                                            </sourcePoms>
+                                            
<destinationPom>${basedir}/integration-tests/compression-grouped/pom.xml</destinationPom>
+                                        </mergePom>
                                         <mergePom>
                                             <sourcePoms>
                                                 
<directory>${basedir}/integration-test-groups/foundation</directory>
diff --git a/tooling/scripts/test-categories.yaml 
b/tooling/scripts/test-categories.yaml
index 8a7ff6a0b9..a316d63ae7 100644
--- a/tooling/scripts/test-categories.yaml
+++ b/tooling/scripts/test-categories.yaml
@@ -163,7 +163,7 @@ group-10:
   - nagios
   - nsq
 group-11:
-  - compression
+  - compression-grouped
   - disruptor
   - flatpack
   - grok

Reply via email to