You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2022/02/09 17:37:49 UTC
[camel-quarkus] branch main updated (143ee21 -> dabf905)
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git.
from 143ee21 Fix #1384 camel-mybatis native support
new 59a0611 Disable CamelMainRoutesIncludePatternWithAbsoluteFilePrefixDevModeTest on Windows due to #3529
new 74f254a Disable FileTest.charset on Windows due to #3530
new 5c78622 Add capability to skip testcontainers tests
new 86d954a Fix build on windows
new dabf905 Run integration tests on Windows
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitattributes | 3 ++
.github/workflows/ci-build.yaml | 51 ++++++++++++++++++---
docs/pom.xml | 4 +-
.../quarkus/core/deployment/CamelProcessor.java | 3 +-
.../quarkus/core/deployment/util/PathFilter.java | 4 +-
.../core/deployment/util/PathFilterTest.java | 21 ++++++++-
.../apache/camel/quarkus/core/util/FileUtils.java | 52 ++++++++++++++++++++++
.../csimple/deployment/CSimpleProcessor.java | 3 +-
extensions/kafka/deployment/pom.xml | 21 +++++++++
.../aws2-quarkus-client/aws2-ddb/pom.xml | 13 +++++-
.../aws2-quarkus-client/aws2-s3/pom.xml | 13 +++++-
.../aws2-quarkus-client/aws2-ses/pom.xml | 13 +++++-
.../aws2-quarkus-client/aws2-sqs-sns/pom.xml | 13 +++++-
.../aws2-quarkus-client/aws2-sqs/pom.xml | 13 +++++-
integration-test-groups/aws2/aws2-cw/pom.xml | 11 +++++
integration-test-groups/aws2/aws2-ddb/pom.xml | 11 +++++
integration-test-groups/aws2/aws2-kinesis/pom.xml | 11 +++++
integration-test-groups/aws2/aws2-lambda/pom.xml | 11 +++++
integration-test-groups/aws2/aws2-s3/pom.xml | 13 +++++-
integration-test-groups/aws2/aws2-ses/pom.xml | 11 +++++
integration-test-groups/aws2/aws2-sqs-sns/pom.xml | 11 +++++
integration-test-groups/aws2/aws2-sqs/pom.xml | 11 +++++
.../azure/azure-eventhubs/pom.xml | 11 +++++
.../azure/azure-storage-blob/pom.xml | 11 +++++
.../azure/azure-storage-queue/pom.xml | 11 +++++
.../mongodb/mongodb-gridfs/pom.xml | 11 +++++
integration-test-groups/mongodb/mongodb/pom.xml | 11 +++++
integration-tests-jvm/couchbase/pom.xml | 11 +++++
integration-tests-jvm/hbase/pom.xml | 11 +++++
integration-tests-jvm/redis/pom.xml | 11 +++++
integration-tests/activemq/pom.xml | 11 +++++
integration-tests/amqp/pom.xml | 11 +++++
integration-tests/arangodb/pom.xml | 11 +++++
integration-tests/aws2-grouped/pom.xml | 13 +++++-
.../aws2-quarkus-client-grouped/pom.xml | 23 +++++++---
integration-tests/aws2/pom.xml | 11 +++++
integration-tests/azure-grouped/pom.xml | 13 +++++-
integration-tests/cassandraql/pom.xml | 11 +++++
integration-tests/consul/pom.xml | 11 +++++
integration-tests/couchdb/pom.xml | 11 +++++
.../component/dataformats/json/ParamType.java | 36 ---------------
.../dataformats/json/JsonComponentsTest.java | 4 +-
integration-tests/debezium/pom.xml | 11 +++++
.../quarkus/component/dozer/it/DozerTest.java | 4 +-
integration-tests/elasticsearch-rest/pom.xml | 11 +++++
integration-tests/fhir/pom.xml | 11 +++++
.../camel/quarkus/component/file/it/FileTest.java | 12 ++++-
.../component/flatpack/it/FlatpackTest.java | 3 +-
integration-tests/foundation-grouped/pom.xml | 2 +-
integration-tests/google-pubsub/pom.xml | 11 +++++
integration-tests/google-storage/pom.xml | 11 +++++
integration-tests/http/pom.xml | 11 +++++
integration-tests/infinispan/pom.xml | 11 +++++
integration-tests/influxdb/pom.xml | 11 +++++
integration-tests/ipfs/pom.xml | 11 +++++
integration-tests/jms-artemis-client/pom.xml | 11 +++++
integration-tests/jms-qpid-amqp-client/pom.xml | 11 +++++
integration-tests/jsch/pom.xml | 11 +++++
.../camel/quarkus/component/jslt/it/JsltTest.java | 6 +++
integration-tests/jta/pom.xml | 11 +++++
integration-tests/kafka-oauth/pom.xml | 11 +++++
integration-tests/kafka-sasl-ssl/pom.xml | 11 +++++
integration-tests/kafka-sasl/pom.xml | 11 +++++
integration-tests/kafka-ssl/pom.xml | 11 +++++
integration-tests/kafka/pom.xml | 11 +++++
integration-tests/kudu/pom.xml | 11 +++++
integration-tests/lra/pom.xml | 11 +++++
...dePatternWithAbsoluteFilePrefixDevModeTest.java | 3 ++
integration-tests/minio/pom.xml | 11 +++++
integration-tests/mongodb-grouped/pom.xml | 13 +++++-
integration-tests/nats/pom.xml | 11 +++++
integration-tests/nsq/pom.xml | 11 +++++
integration-tests/paho-mqtt5/pom.xml | 11 +++++
integration-tests/paho/pom.xml | 11 +++++
integration-tests/pg-replication-slot/pom.xml | 11 +++++
integration-tests/pgevent/pom.xml | 11 +++++
integration-tests/rabbitmq/pom.xml | 11 +++++
integration-tests/sjms-artemis-client/pom.xml | 11 +++++
integration-tests/sjms-qpid-amqp-client/pom.xml | 11 +++++
integration-tests/sjms2-artemis-client/pom.xml | 11 +++++
integration-tests/sjms2-qpid-amqp-client/pom.xml | 11 +++++
integration-tests/solr/pom.xml | 12 ++++-
integration-tests/splunk/pom.xml | 11 +++++
integration-tests/spring-rabbitmq/pom.xml | 11 +++++
integration-tests/ssh/pom.xml | 11 +++++
.../stringtemplate/it/StringtemplateTest.java | 2 +-
pom.xml | 9 ++--
poms/build-parent/pom.xml | 2 +-
88 files changed, 948 insertions(+), 76 deletions(-)
create mode 100644 .gitattributes
create mode 100644 extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/util/FileUtils.java
[camel-quarkus] 02/05: Disable FileTest.charset on Windows due to #3530
Posted by ja...@apache.org.
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
commit 74f254a5b74357317e4dd0f96205a78eb59a4711
Author: James Netherton <ja...@gmail.com>
AuthorDate: Mon Feb 7 15:14:39 2022 +0000
Disable FileTest.charset on Windows due to #3530
---
.../test/java/org/apache/camel/quarkus/component/file/it/FileTest.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java b/integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java
index d6e06c2..3a02d19 100644
--- a/integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java
+++ b/integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java
@@ -36,6 +36,8 @@ import io.restassured.response.ValidatableResponse;
import org.hamcrest.Matchers;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.OS;
import static org.apache.camel.quarkus.component.file.it.FileResource.CONSUME_BATCH;
import static org.apache.camel.quarkus.component.file.it.FileResource.SEPARATOR;
@@ -80,6 +82,7 @@ class FileTest {
.body(equalTo(FILE_BODY));
}
+ @DisabledOnOs(value = OS.WINDOWS, disabledReason = "https://github.com/apache/camel-quarkus/issues/3530")
@Test
public void charset() throws UnsupportedEncodingException {
// Create a new file
[camel-quarkus] 03/05: Add capability to skip testcontainers tests
Posted by ja...@apache.org.
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
commit 5c78622d3acc907d55ba13e6e187d74ab2669edb
Author: James Netherton <ja...@gmail.com>
AuthorDate: Mon Feb 7 10:43:19 2022 +0000
Add capability to skip testcontainers tests
---
extensions/kafka/deployment/pom.xml | 21 +++++++++++++++++++++
.../aws2-quarkus-client/aws2-ddb/pom.xml | 11 +++++++++++
.../aws2-quarkus-client/aws2-s3/pom.xml | 11 +++++++++++
.../aws2-quarkus-client/aws2-ses/pom.xml | 11 +++++++++++
.../aws2-quarkus-client/aws2-sqs-sns/pom.xml | 11 +++++++++++
.../aws2-quarkus-client/aws2-sqs/pom.xml | 11 +++++++++++
integration-test-groups/aws2/aws2-cw/pom.xml | 11 +++++++++++
integration-test-groups/aws2/aws2-ddb/pom.xml | 11 +++++++++++
integration-test-groups/aws2/aws2-kinesis/pom.xml | 11 +++++++++++
integration-test-groups/aws2/aws2-lambda/pom.xml | 11 +++++++++++
integration-test-groups/aws2/aws2-s3/pom.xml | 11 +++++++++++
integration-test-groups/aws2/aws2-ses/pom.xml | 11 +++++++++++
integration-test-groups/aws2/aws2-sqs-sns/pom.xml | 11 +++++++++++
integration-test-groups/aws2/aws2-sqs/pom.xml | 11 +++++++++++
.../azure/azure-eventhubs/pom.xml | 11 +++++++++++
.../azure/azure-storage-blob/pom.xml | 11 +++++++++++
.../azure/azure-storage-queue/pom.xml | 11 +++++++++++
.../mongodb/mongodb-gridfs/pom.xml | 11 +++++++++++
integration-test-groups/mongodb/mongodb/pom.xml | 11 +++++++++++
integration-tests-jvm/couchbase/pom.xml | 11 +++++++++++
integration-tests-jvm/hbase/pom.xml | 11 +++++++++++
integration-tests-jvm/redis/pom.xml | 11 +++++++++++
integration-tests/activemq/pom.xml | 11 +++++++++++
integration-tests/amqp/pom.xml | 11 +++++++++++
integration-tests/arangodb/pom.xml | 11 +++++++++++
integration-tests/aws2-grouped/pom.xml | 11 +++++++++++
.../aws2-quarkus-client-grouped/pom.xml | 11 +++++++++++
integration-tests/aws2/pom.xml | 11 +++++++++++
integration-tests/azure-grouped/pom.xml | 11 +++++++++++
integration-tests/cassandraql/pom.xml | 11 +++++++++++
integration-tests/consul/pom.xml | 11 +++++++++++
integration-tests/couchdb/pom.xml | 11 +++++++++++
integration-tests/debezium/pom.xml | 11 +++++++++++
integration-tests/elasticsearch-rest/pom.xml | 11 +++++++++++
integration-tests/fhir/pom.xml | 11 +++++++++++
integration-tests/google-pubsub/pom.xml | 11 +++++++++++
integration-tests/google-storage/pom.xml | 11 +++++++++++
integration-tests/http/pom.xml | 11 +++++++++++
integration-tests/infinispan/pom.xml | 11 +++++++++++
integration-tests/influxdb/pom.xml | 11 +++++++++++
integration-tests/ipfs/pom.xml | 11 +++++++++++
integration-tests/jms-artemis-client/pom.xml | 11 +++++++++++
integration-tests/jms-qpid-amqp-client/pom.xml | 11 +++++++++++
integration-tests/jsch/pom.xml | 11 +++++++++++
integration-tests/jta/pom.xml | 11 +++++++++++
integration-tests/kafka-oauth/pom.xml | 11 +++++++++++
integration-tests/kafka-sasl-ssl/pom.xml | 11 +++++++++++
integration-tests/kafka-sasl/pom.xml | 11 +++++++++++
integration-tests/kafka-ssl/pom.xml | 11 +++++++++++
integration-tests/kafka/pom.xml | 11 +++++++++++
integration-tests/kudu/pom.xml | 11 +++++++++++
integration-tests/lra/pom.xml | 11 +++++++++++
integration-tests/minio/pom.xml | 11 +++++++++++
integration-tests/mongodb-grouped/pom.xml | 11 +++++++++++
integration-tests/nats/pom.xml | 11 +++++++++++
integration-tests/nsq/pom.xml | 11 +++++++++++
integration-tests/paho-mqtt5/pom.xml | 11 +++++++++++
integration-tests/paho/pom.xml | 11 +++++++++++
integration-tests/pg-replication-slot/pom.xml | 11 +++++++++++
integration-tests/pgevent/pom.xml | 11 +++++++++++
integration-tests/rabbitmq/pom.xml | 11 +++++++++++
integration-tests/sjms-artemis-client/pom.xml | 11 +++++++++++
integration-tests/sjms-qpid-amqp-client/pom.xml | 11 +++++++++++
integration-tests/sjms2-artemis-client/pom.xml | 11 +++++++++++
integration-tests/sjms2-qpid-amqp-client/pom.xml | 11 +++++++++++
integration-tests/solr/pom.xml | 12 +++++++++++-
integration-tests/splunk/pom.xml | 11 +++++++++++
integration-tests/spring-rabbitmq/pom.xml | 11 +++++++++++
integration-tests/ssh/pom.xml | 11 +++++++++++
69 files changed, 769 insertions(+), 1 deletion(-)
diff --git a/extensions/kafka/deployment/pom.xml b/extensions/kafka/deployment/pom.xml
index 95d7374..33923af 100644
--- a/extensions/kafka/deployment/pom.xml
+++ b/extensions/kafka/deployment/pom.xml
@@ -68,4 +68,25 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>skip-testcontainers-tests</id>
+ <activation>
+ <property>
+ <name>skip-testcontainers-tests</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>**/KafkaDevServicesEnabledTest.java</excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/integration-test-groups/aws2-quarkus-client/aws2-ddb/pom.xml b/integration-test-groups/aws2-quarkus-client/aws2-ddb/pom.xml
index 240b625..f40e4ce 100644
--- a/integration-test-groups/aws2-quarkus-client/aws2-ddb/pom.xml
+++ b/integration-test-groups/aws2-quarkus-client/aws2-ddb/pom.xml
@@ -179,6 +179,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-test-groups/aws2-quarkus-client/aws2-s3/pom.xml b/integration-test-groups/aws2-quarkus-client/aws2-s3/pom.xml
index e20f5ad..a16732f 100644
--- a/integration-test-groups/aws2-quarkus-client/aws2-s3/pom.xml
+++ b/integration-test-groups/aws2-quarkus-client/aws2-s3/pom.xml
@@ -196,6 +196,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-test-groups/aws2-quarkus-client/aws2-ses/pom.xml b/integration-test-groups/aws2-quarkus-client/aws2-ses/pom.xml
index 9809513..1e765ca 100644
--- a/integration-test-groups/aws2-quarkus-client/aws2-ses/pom.xml
+++ b/integration-test-groups/aws2-quarkus-client/aws2-ses/pom.xml
@@ -184,6 +184,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-test-groups/aws2-quarkus-client/aws2-sqs-sns/pom.xml b/integration-test-groups/aws2-quarkus-client/aws2-sqs-sns/pom.xml
index 147eca4..d02f4eb 100644
--- a/integration-test-groups/aws2-quarkus-client/aws2-sqs-sns/pom.xml
+++ b/integration-test-groups/aws2-quarkus-client/aws2-sqs-sns/pom.xml
@@ -200,6 +200,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-test-groups/aws2-quarkus-client/aws2-sqs/pom.xml b/integration-test-groups/aws2-quarkus-client/aws2-sqs/pom.xml
index 378418e..226a50e 100644
--- a/integration-test-groups/aws2-quarkus-client/aws2-sqs/pom.xml
+++ b/integration-test-groups/aws2-quarkus-client/aws2-sqs/pom.xml
@@ -184,6 +184,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-test-groups/aws2/aws2-cw/pom.xml b/integration-test-groups/aws2/aws2-cw/pom.xml
index 7398723..bb0af9d 100644
--- a/integration-test-groups/aws2/aws2-cw/pom.xml
+++ b/integration-test-groups/aws2/aws2-cw/pom.xml
@@ -119,6 +119,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-test-groups/aws2/aws2-ddb/pom.xml b/integration-test-groups/aws2/aws2-ddb/pom.xml
index 8404e13..59e8f36 100644
--- a/integration-test-groups/aws2/aws2-ddb/pom.xml
+++ b/integration-test-groups/aws2/aws2-ddb/pom.xml
@@ -119,6 +119,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-test-groups/aws2/aws2-kinesis/pom.xml b/integration-test-groups/aws2/aws2-kinesis/pom.xml
index f77add5..af69e30 100644
--- a/integration-test-groups/aws2/aws2-kinesis/pom.xml
+++ b/integration-test-groups/aws2/aws2-kinesis/pom.xml
@@ -141,6 +141,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-test-groups/aws2/aws2-lambda/pom.xml b/integration-test-groups/aws2/aws2-lambda/pom.xml
index 9df4ed1..ace4e42 100644
--- a/integration-test-groups/aws2/aws2-lambda/pom.xml
+++ b/integration-test-groups/aws2/aws2-lambda/pom.xml
@@ -141,6 +141,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-test-groups/aws2/aws2-s3/pom.xml b/integration-test-groups/aws2/aws2-s3/pom.xml
index 3afd7ef..1e20023 100644
--- a/integration-test-groups/aws2/aws2-s3/pom.xml
+++ b/integration-test-groups/aws2/aws2-s3/pom.xml
@@ -191,6 +191,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-test-groups/aws2/aws2-ses/pom.xml b/integration-test-groups/aws2/aws2-ses/pom.xml
index c5a0375..c1fe7f7 100644
--- a/integration-test-groups/aws2/aws2-ses/pom.xml
+++ b/integration-test-groups/aws2/aws2-ses/pom.xml
@@ -120,6 +120,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-test-groups/aws2/aws2-sqs-sns/pom.xml b/integration-test-groups/aws2/aws2-sqs-sns/pom.xml
index e17b00c..6b4af52 100644
--- a/integration-test-groups/aws2/aws2-sqs-sns/pom.xml
+++ b/integration-test-groups/aws2/aws2-sqs-sns/pom.xml
@@ -131,6 +131,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-test-groups/aws2/aws2-sqs/pom.xml b/integration-test-groups/aws2/aws2-sqs/pom.xml
index 2d968e1..06f6b41 100644
--- a/integration-test-groups/aws2/aws2-sqs/pom.xml
+++ b/integration-test-groups/aws2/aws2-sqs/pom.xml
@@ -119,6 +119,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>
\ No newline at end of file
diff --git a/integration-test-groups/azure/azure-eventhubs/pom.xml b/integration-test-groups/azure/azure-eventhubs/pom.xml
index 0d98c4f..d382e49 100644
--- a/integration-test-groups/azure/azure-eventhubs/pom.xml
+++ b/integration-test-groups/azure/azure-eventhubs/pom.xml
@@ -135,6 +135,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-test-groups/azure/azure-storage-blob/pom.xml b/integration-test-groups/azure/azure-storage-blob/pom.xml
index ac704fe..7da0161 100644
--- a/integration-test-groups/azure/azure-storage-blob/pom.xml
+++ b/integration-test-groups/azure/azure-storage-blob/pom.xml
@@ -110,6 +110,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-test-groups/azure/azure-storage-queue/pom.xml b/integration-test-groups/azure/azure-storage-queue/pom.xml
index 4ed2551..d39d78a 100644
--- a/integration-test-groups/azure/azure-storage-queue/pom.xml
+++ b/integration-test-groups/azure/azure-storage-queue/pom.xml
@@ -110,6 +110,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-test-groups/mongodb/mongodb-gridfs/pom.xml b/integration-test-groups/mongodb/mongodb-gridfs/pom.xml
index 0e19940..6c95842 100644
--- a/integration-test-groups/mongodb/mongodb-gridfs/pom.xml
+++ b/integration-test-groups/mongodb/mongodb-gridfs/pom.xml
@@ -119,6 +119,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-test-groups/mongodb/mongodb/pom.xml b/integration-test-groups/mongodb/mongodb/pom.xml
index 3c79c55..46d3b2f 100644
--- a/integration-test-groups/mongodb/mongodb/pom.xml
+++ b/integration-test-groups/mongodb/mongodb/pom.xml
@@ -119,6 +119,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-jvm/couchbase/pom.xml b/integration-tests-jvm/couchbase/pom.xml
index 16c0380..58f384b 100644
--- a/integration-tests-jvm/couchbase/pom.xml
+++ b/integration-tests-jvm/couchbase/pom.xml
@@ -88,6 +88,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-jvm/hbase/pom.xml b/integration-tests-jvm/hbase/pom.xml
index b41cd3d..377741f 100644
--- a/integration-tests-jvm/hbase/pom.xml
+++ b/integration-tests-jvm/hbase/pom.xml
@@ -115,6 +115,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-jvm/redis/pom.xml b/integration-tests-jvm/redis/pom.xml
index bd31f2e..2eb7329 100644
--- a/integration-tests-jvm/redis/pom.xml
+++ b/integration-tests-jvm/redis/pom.xml
@@ -126,5 +126,16 @@
</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/activemq/pom.xml b/integration-tests/activemq/pom.xml
index 640f43b..f091cb4 100644
--- a/integration-tests/activemq/pom.xml
+++ b/integration-tests/activemq/pom.xml
@@ -127,6 +127,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/amqp/pom.xml b/integration-tests/amqp/pom.xml
index 9e988fb..3170802 100644
--- a/integration-tests/amqp/pom.xml
+++ b/integration-tests/amqp/pom.xml
@@ -127,6 +127,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/arangodb/pom.xml b/integration-tests/arangodb/pom.xml
index 3e8f8bc..848f3d8 100644
--- a/integration-tests/arangodb/pom.xml
+++ b/integration-tests/arangodb/pom.xml
@@ -111,6 +111,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/aws2-grouped/pom.xml b/integration-tests/aws2-grouped/pom.xml
index 3b79b65..691540a 100644
--- a/integration-tests/aws2-grouped/pom.xml
+++ b/integration-tests/aws2-grouped/pom.xml
@@ -339,6 +339,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/aws2-quarkus-client-grouped/pom.xml b/integration-tests/aws2-quarkus-client-grouped/pom.xml
index e57715c..18ec86f 100644
--- a/integration-tests/aws2-quarkus-client-grouped/pom.xml
+++ b/integration-tests/aws2-quarkus-client-grouped/pom.xml
@@ -359,6 +359,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/aws2/pom.xml b/integration-tests/aws2/pom.xml
index ab0d089..45850e1 100644
--- a/integration-tests/aws2/pom.xml
+++ b/integration-tests/aws2/pom.xml
@@ -318,6 +318,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/azure-grouped/pom.xml b/integration-tests/azure-grouped/pom.xml
index 5c85318..949d27d 100644
--- a/integration-tests/azure-grouped/pom.xml
+++ b/integration-tests/azure-grouped/pom.xml
@@ -229,6 +229,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/cassandraql/pom.xml b/integration-tests/cassandraql/pom.xml
index b55dcab..d53e943 100644
--- a/integration-tests/cassandraql/pom.xml
+++ b/integration-tests/cassandraql/pom.xml
@@ -171,6 +171,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/consul/pom.xml b/integration-tests/consul/pom.xml
index b8a80ad..f7c08e8 100644
--- a/integration-tests/consul/pom.xml
+++ b/integration-tests/consul/pom.xml
@@ -115,6 +115,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/couchdb/pom.xml b/integration-tests/couchdb/pom.xml
index 60fcc45..a00e21b 100644
--- a/integration-tests/couchdb/pom.xml
+++ b/integration-tests/couchdb/pom.xml
@@ -120,6 +120,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/debezium/pom.xml b/integration-tests/debezium/pom.xml
index b6a8816..80bb13b 100644
--- a/integration-tests/debezium/pom.xml
+++ b/integration-tests/debezium/pom.xml
@@ -218,6 +218,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/elasticsearch-rest/pom.xml b/integration-tests/elasticsearch-rest/pom.xml
index 086b398..94547f7 100644
--- a/integration-tests/elasticsearch-rest/pom.xml
+++ b/integration-tests/elasticsearch-rest/pom.xml
@@ -133,5 +133,16 @@
</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/fhir/pom.xml b/integration-tests/fhir/pom.xml
index 0a607e9..d41627d 100644
--- a/integration-tests/fhir/pom.xml
+++ b/integration-tests/fhir/pom.xml
@@ -146,6 +146,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/google-pubsub/pom.xml b/integration-tests/google-pubsub/pom.xml
index 7e2c91e..58c0155 100644
--- a/integration-tests/google-pubsub/pom.xml
+++ b/integration-tests/google-pubsub/pom.xml
@@ -110,6 +110,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/google-storage/pom.xml b/integration-tests/google-storage/pom.xml
index 112d264..383f1d0 100644
--- a/integration-tests/google-storage/pom.xml
+++ b/integration-tests/google-storage/pom.xml
@@ -135,6 +135,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/http/pom.xml b/integration-tests/http/pom.xml
index 68daa40..0bb8a2a 100644
--- a/integration-tests/http/pom.xml
+++ b/integration-tests/http/pom.xml
@@ -218,6 +218,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/infinispan/pom.xml b/integration-tests/infinispan/pom.xml
index ea04b9d..e5df665 100644
--- a/integration-tests/infinispan/pom.xml
+++ b/integration-tests/infinispan/pom.xml
@@ -149,6 +149,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/influxdb/pom.xml b/integration-tests/influxdb/pom.xml
index be9a801..ea4fe7a 100644
--- a/integration-tests/influxdb/pom.xml
+++ b/integration-tests/influxdb/pom.xml
@@ -115,6 +115,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/ipfs/pom.xml b/integration-tests/ipfs/pom.xml
index 95b7482..3e7a59d 100644
--- a/integration-tests/ipfs/pom.xml
+++ b/integration-tests/ipfs/pom.xml
@@ -110,6 +110,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/jms-artemis-client/pom.xml b/integration-tests/jms-artemis-client/pom.xml
index 9877dff..49f4d1a 100644
--- a/integration-tests/jms-artemis-client/pom.xml
+++ b/integration-tests/jms-artemis-client/pom.xml
@@ -145,6 +145,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/jms-qpid-amqp-client/pom.xml b/integration-tests/jms-qpid-amqp-client/pom.xml
index 3e63f76..b114e2c 100644
--- a/integration-tests/jms-qpid-amqp-client/pom.xml
+++ b/integration-tests/jms-qpid-amqp-client/pom.xml
@@ -144,6 +144,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/jsch/pom.xml b/integration-tests/jsch/pom.xml
index 5ab783a..c66811a 100644
--- a/integration-tests/jsch/pom.xml
+++ b/integration-tests/jsch/pom.xml
@@ -110,6 +110,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/jta/pom.xml b/integration-tests/jta/pom.xml
index 7bd0092..314b7d2 100644
--- a/integration-tests/jta/pom.xml
+++ b/integration-tests/jta/pom.xml
@@ -219,6 +219,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/kafka-oauth/pom.xml b/integration-tests/kafka-oauth/pom.xml
index ce0f139..58ab39f 100644
--- a/integration-tests/kafka-oauth/pom.xml
+++ b/integration-tests/kafka-oauth/pom.xml
@@ -203,5 +203,16 @@
</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>
\ No newline at end of file
diff --git a/integration-tests/kafka-sasl-ssl/pom.xml b/integration-tests/kafka-sasl-ssl/pom.xml
index d628f5f..c253797 100644
--- a/integration-tests/kafka-sasl-ssl/pom.xml
+++ b/integration-tests/kafka-sasl-ssl/pom.xml
@@ -130,6 +130,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/kafka-sasl/pom.xml b/integration-tests/kafka-sasl/pom.xml
index fd6b429..e130db0 100644
--- a/integration-tests/kafka-sasl/pom.xml
+++ b/integration-tests/kafka-sasl/pom.xml
@@ -134,6 +134,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/kafka-ssl/pom.xml b/integration-tests/kafka-ssl/pom.xml
index af398a7..ffde62f 100644
--- a/integration-tests/kafka-ssl/pom.xml
+++ b/integration-tests/kafka-ssl/pom.xml
@@ -134,6 +134,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/kafka/pom.xml b/integration-tests/kafka/pom.xml
index d8ff0c8..e9e3e24 100644
--- a/integration-tests/kafka/pom.xml
+++ b/integration-tests/kafka/pom.xml
@@ -193,6 +193,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/kudu/pom.xml b/integration-tests/kudu/pom.xml
index d4096f3..36f8e23 100644
--- a/integration-tests/kudu/pom.xml
+++ b/integration-tests/kudu/pom.xml
@@ -166,5 +166,16 @@
</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/lra/pom.xml b/integration-tests/lra/pom.xml
index 69ae2e4..e0bf58b 100644
--- a/integration-tests/lra/pom.xml
+++ b/integration-tests/lra/pom.xml
@@ -171,6 +171,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/minio/pom.xml b/integration-tests/minio/pom.xml
index 01232e6..eca8e36 100644
--- a/integration-tests/minio/pom.xml
+++ b/integration-tests/minio/pom.xml
@@ -115,6 +115,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/mongodb-grouped/pom.xml b/integration-tests/mongodb-grouped/pom.xml
index db930b7..8080aa5 100644
--- a/integration-tests/mongodb-grouped/pom.xml
+++ b/integration-tests/mongodb-grouped/pom.xml
@@ -195,6 +195,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/nats/pom.xml b/integration-tests/nats/pom.xml
index d6c31b1..81e707c 100644
--- a/integration-tests/nats/pom.xml
+++ b/integration-tests/nats/pom.xml
@@ -137,5 +137,16 @@
</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/nsq/pom.xml b/integration-tests/nsq/pom.xml
index d89af05..6ab7b54 100644
--- a/integration-tests/nsq/pom.xml
+++ b/integration-tests/nsq/pom.xml
@@ -133,5 +133,16 @@
</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/paho-mqtt5/pom.xml b/integration-tests/paho-mqtt5/pom.xml
index b669e60..6f0cf6c 100644
--- a/integration-tests/paho-mqtt5/pom.xml
+++ b/integration-tests/paho-mqtt5/pom.xml
@@ -110,6 +110,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/paho/pom.xml b/integration-tests/paho/pom.xml
index c0c5fdc..d105172 100644
--- a/integration-tests/paho/pom.xml
+++ b/integration-tests/paho/pom.xml
@@ -110,6 +110,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/pg-replication-slot/pom.xml b/integration-tests/pg-replication-slot/pom.xml
index 8781523..5dc8b64 100644
--- a/integration-tests/pg-replication-slot/pom.xml
+++ b/integration-tests/pg-replication-slot/pom.xml
@@ -120,5 +120,16 @@
</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/pgevent/pom.xml b/integration-tests/pgevent/pom.xml
index 6bc4c93..6d8c03d 100644
--- a/integration-tests/pgevent/pom.xml
+++ b/integration-tests/pgevent/pom.xml
@@ -149,5 +149,16 @@
</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/rabbitmq/pom.xml b/integration-tests/rabbitmq/pom.xml
index 4cc86d0..40f9e3f 100644
--- a/integration-tests/rabbitmq/pom.xml
+++ b/integration-tests/rabbitmq/pom.xml
@@ -111,5 +111,16 @@
</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/sjms-artemis-client/pom.xml b/integration-tests/sjms-artemis-client/pom.xml
index e58ebcf..5a24099 100644
--- a/integration-tests/sjms-artemis-client/pom.xml
+++ b/integration-tests/sjms-artemis-client/pom.xml
@@ -144,6 +144,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/sjms-qpid-amqp-client/pom.xml b/integration-tests/sjms-qpid-amqp-client/pom.xml
index b156c55..2a970e1 100644
--- a/integration-tests/sjms-qpid-amqp-client/pom.xml
+++ b/integration-tests/sjms-qpid-amqp-client/pom.xml
@@ -144,6 +144,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/sjms2-artemis-client/pom.xml b/integration-tests/sjms2-artemis-client/pom.xml
index 46cf08c..4618971 100644
--- a/integration-tests/sjms2-artemis-client/pom.xml
+++ b/integration-tests/sjms2-artemis-client/pom.xml
@@ -144,6 +144,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/sjms2-qpid-amqp-client/pom.xml b/integration-tests/sjms2-qpid-amqp-client/pom.xml
index ffa1327..b9630b1 100644
--- a/integration-tests/sjms2-qpid-amqp-client/pom.xml
+++ b/integration-tests/sjms2-qpid-amqp-client/pom.xml
@@ -144,6 +144,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/solr/pom.xml b/integration-tests/solr/pom.xml
index 785731b..1463471 100644
--- a/integration-tests/solr/pom.xml
+++ b/integration-tests/solr/pom.xml
@@ -178,7 +178,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/splunk/pom.xml b/integration-tests/splunk/pom.xml
index a1ad328..0a49540 100644
--- a/integration-tests/splunk/pom.xml
+++ b/integration-tests/splunk/pom.xml
@@ -131,6 +131,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/spring-rabbitmq/pom.xml b/integration-tests/spring-rabbitmq/pom.xml
index 731fb2f..da088e7 100644
--- a/integration-tests/spring-rabbitmq/pom.xml
+++ b/integration-tests/spring-rabbitmq/pom.xml
@@ -133,6 +133,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/ssh/pom.xml b/integration-tests/ssh/pom.xml
index a9f25b0..31801b2 100644
--- a/integration-tests/ssh/pom.xml
+++ b/integration-tests/ssh/pom.xml
@@ -111,5 +111,16 @@
</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>
[camel-quarkus] 04/05: Fix build on windows
Posted by ja...@apache.org.
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
commit 86d954aa17e49e8ff4e0fcffa5678e0e0e8a592b
Author: James Netherton <ja...@gmail.com>
AuthorDate: Mon Feb 7 11:03:03 2022 +0000
Fix build on windows
Fixes #1429
---
.gitattributes | 3 ++
docs/pom.xml | 4 +-
.../quarkus/core/deployment/CamelProcessor.java | 3 +-
.../quarkus/core/deployment/util/PathFilter.java | 4 +-
.../core/deployment/util/PathFilterTest.java | 21 ++++++++-
.../apache/camel/quarkus/core/util/FileUtils.java | 52 ++++++++++++++++++++++
.../csimple/deployment/CSimpleProcessor.java | 3 +-
.../aws2-quarkus-client/aws2-ddb/pom.xml | 2 +-
.../aws2-quarkus-client/aws2-s3/pom.xml | 2 +-
.../aws2-quarkus-client/aws2-ses/pom.xml | 2 +-
.../aws2-quarkus-client/aws2-sqs-sns/pom.xml | 2 +-
.../aws2-quarkus-client/aws2-sqs/pom.xml | 2 +-
integration-test-groups/aws2/aws2-s3/pom.xml | 2 +-
integration-tests/aws2-grouped/pom.xml | 2 +-
.../aws2-quarkus-client-grouped/pom.xml | 12 ++---
integration-tests/azure-grouped/pom.xml | 2 +-
.../component/dataformats/json/ParamType.java | 36 ---------------
.../dataformats/json/JsonComponentsTest.java | 4 +-
.../quarkus/component/dozer/it/DozerTest.java | 4 +-
.../camel/quarkus/component/file/it/FileTest.java | 9 +++-
.../component/flatpack/it/FlatpackTest.java | 3 +-
integration-tests/foundation-grouped/pom.xml | 2 +-
.../camel/quarkus/component/jslt/it/JsltTest.java | 6 +++
integration-tests/mongodb-grouped/pom.xml | 2 +-
.../stringtemplate/it/StringtemplateTest.java | 2 +-
pom.xml | 9 ++--
poms/build-parent/pom.xml | 2 +-
27 files changed, 127 insertions(+), 70 deletions(-)
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..f7163f6
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+* text=auto eol=lf
+*.cmd text eol=crlf
+
diff --git a/docs/pom.xml b/docs/pom.xml
index 8407d69..0c49cd4 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -44,7 +44,7 @@
</goals>
<phase>validate</phase>
<configuration>
- <source>file://${maven.multiModuleProjectDirectory}/tooling/scripts/update-antora-config.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/update-antora-config.groovy</source>
<properties>
<maven.multiModuleProjectDirectory>${maven.multiModuleProjectDirectory}</maven.multiModuleProjectDirectory>
</properties>
@@ -57,7 +57,7 @@
</goals>
<phase>validate</phase>
<configuration>
- <source>file://${maven.multiModuleProjectDirectory}/tooling/scripts/update-antora-yaml.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/update-antora-yaml.groovy</source>
<properties>
<maven.multiModuleProjectDirectory>${maven.multiModuleProjectDirectory}</maven.multiModuleProjectDirectory>
</properties>
diff --git a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java
index 0440d7b..77e8eb7 100644
--- a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java
+++ b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java
@@ -73,6 +73,7 @@ import org.apache.camel.quarkus.core.deployment.spi.ContainerBeansBuildItem;
import org.apache.camel.quarkus.core.deployment.spi.RoutesBuilderClassExcludeBuildItem;
import org.apache.camel.quarkus.core.deployment.util.CamelSupport;
import org.apache.camel.quarkus.core.deployment.util.PathFilter;
+import org.apache.camel.quarkus.core.util.FileUtils;
import org.apache.camel.spi.TypeConverterLoader;
import org.apache.camel.spi.TypeConverterRegistry;
import org.jboss.jandex.AnnotationTarget;
@@ -328,7 +329,7 @@ class CamelProcessor {
camelServices.forEach(service -> {
recorder.factoryFinderResolverEntry(
builder,
- service.path.toString(),
+ FileUtils.nixifyPath(service.path),
CamelSupport.loadClass(service.type, TCCL));
});
diff --git a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/util/PathFilter.java b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/util/PathFilter.java
index 31965b1..1333438 100644
--- a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/util/PathFilter.java
+++ b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/util/PathFilter.java
@@ -29,6 +29,7 @@ import java.util.function.Predicate;
import java.util.stream.Collectors;
import java.util.stream.Stream;
+import org.apache.camel.quarkus.core.util.FileUtils;
import org.apache.camel.util.AntPathMatcher;
import org.apache.camel.util.ObjectHelper;
import org.jboss.jandex.DotName;
@@ -118,6 +119,7 @@ public class PathFilter {
.map(rootPath::relativize)
.map(Path::toString)
.map(stringPath -> stringPath.substring(0, stringPath.length() - CLASS_SUFFIX_LENGTH))
+ .map(FileUtils::nixifyPath)
.filter(stringPredicate)
.map(slashClassName -> slashClassName.replace('/', '.'))
.forEach(resultConsumer::accept);
@@ -133,7 +135,7 @@ public class PathFilter {
}
static String sanitize(String path) {
- path = path.trim();
+ path = FileUtils.nixifyPath(path.trim());
return (!path.isEmpty() && path.charAt(0) == '/')
? path.substring(1)
: path;
diff --git a/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/deployment/util/PathFilterTest.java b/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/deployment/util/PathFilterTest.java
index 7b7e16b..9ca7ea0 100644
--- a/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/deployment/util/PathFilterTest.java
+++ b/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/deployment/util/PathFilterTest.java
@@ -16,6 +16,7 @@
*/
package org.apache.camel.quarkus.core.deployment.util;
+import java.io.File;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
@@ -25,6 +26,7 @@ import java.util.TreeSet;
import java.util.function.Predicate;
import java.util.stream.Stream;
+import org.apache.camel.util.FileUtil;
import org.jboss.jandex.DotName;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
@@ -69,7 +71,24 @@ public class PathFilterTest {
@Test
public void pathFilter() {
- Predicate<Path> predicate = new PathFilter.Builder()
+ PathFilter.Builder builder = new PathFilter.Builder();
+ Stream.of("/foo/bar/*", "moo/mar/*")
+ .forEach(path -> {
+ if (FileUtil.isWindows()) {
+ path = path.replace("/", File.pathSeparator);
+ }
+ builder.include(path);
+ });
+
+ Stream.of("/foo/baz/*", "moo/maz/*")
+ .forEach(path -> {
+ if (FileUtil.isWindows()) {
+ path = path.replace("/", File.pathSeparator);
+ }
+ builder.exclude(path);
+ });
+
+ Predicate<Path> predicate = builder
.include("/foo/bar/*")
.include("moo/mar/*")
.exclude("/foo/baz/*")
diff --git a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/util/FileUtils.java b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/util/FileUtils.java
new file mode 100644
index 0000000..0b1133d
--- /dev/null
+++ b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/util/FileUtils.java
@@ -0,0 +1,52 @@
+/*
+ * 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.core.util;
+
+import java.io.File;
+import java.nio.file.Path;
+
+import org.apache.camel.util.FileUtil;
+
+public final class FileUtils {
+
+ private FileUtils() {
+ // Utility class
+ }
+
+ /**
+ * Converts non-*nix path separator characters to the *nix alternative
+ *
+ * @param path The {@link java.nio.file.Path} to convert
+ * @return String representation of the path with *nix separators
+ */
+ public static String nixifyPath(Path path) {
+ return nixifyPath(path.toString());
+ }
+
+ /**
+ * Converts non-*nix path separator characters to the *nix alternative
+ *
+ * @param path The path String to convert
+ * @return String representation of the path with *nix separators
+ */
+ public static String nixifyPath(String path) {
+ if (FileUtil.isWindows()) {
+ return path.replace(File.separatorChar, '/');
+ }
+ return path;
+ }
+}
diff --git a/extensions/csimple/deployment/src/main/java/org/apache/camel/quarkus/component/csimple/deployment/CSimpleProcessor.java b/extensions/csimple/deployment/src/main/java/org/apache/camel/quarkus/component/csimple/deployment/CSimpleProcessor.java
index 9e5f0bd..15db109 100644
--- a/extensions/csimple/deployment/src/main/java/org/apache/camel/quarkus/component/csimple/deployment/CSimpleProcessor.java
+++ b/extensions/csimple/deployment/src/main/java/org/apache/camel/quarkus/component/csimple/deployment/CSimpleProcessor.java
@@ -79,6 +79,7 @@ import org.apache.camel.quarkus.core.deployment.spi.CamelBeanBuildItem;
import org.apache.camel.quarkus.core.deployment.spi.CamelContextBuildItem;
import org.apache.camel.quarkus.core.deployment.spi.CamelRoutesBuilderClassBuildItem;
import org.apache.camel.quarkus.core.deployment.spi.CompiledCSimpleExpressionBuildItem;
+import org.apache.camel.quarkus.core.util.FileUtils;
import org.apache.camel.util.PropertiesHelper;
import org.jboss.logging.Logger;
@@ -232,7 +233,7 @@ class CSimpleProcessor {
.filter(p -> p.getFileName().toString().endsWith(CLASS_EXT))
.forEach(p -> {
final Path relPath = csimpleClassesDir.relativize(p);
- String className = relPath.toString();
+ String className = FileUtils.nixifyPath(relPath.toString());
className = className.substring(0, className.length() - CLASS_EXT.length());
try {
final GeneratedClassBuildItem item = new GeneratedClassBuildItem(true, className,
diff --git a/integration-test-groups/aws2-quarkus-client/aws2-ddb/pom.xml b/integration-test-groups/aws2-quarkus-client/aws2-ddb/pom.xml
index f40e4ce..bff34d0 100644
--- a/integration-test-groups/aws2-quarkus-client/aws2-ddb/pom.xml
+++ b/integration-test-groups/aws2-quarkus-client/aws2-ddb/pom.xml
@@ -114,7 +114,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
<properties>
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2/aws2-ddb</copy-tests.source.dir>
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
diff --git a/integration-test-groups/aws2-quarkus-client/aws2-s3/pom.xml b/integration-test-groups/aws2-quarkus-client/aws2-s3/pom.xml
index a16732f..d868fdd 100644
--- a/integration-test-groups/aws2-quarkus-client/aws2-s3/pom.xml
+++ b/integration-test-groups/aws2-quarkus-client/aws2-s3/pom.xml
@@ -118,7 +118,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
<properties>
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2/aws2-s3</copy-tests.source.dir>
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
diff --git a/integration-test-groups/aws2-quarkus-client/aws2-ses/pom.xml b/integration-test-groups/aws2-quarkus-client/aws2-ses/pom.xml
index 1e765ca..33db313 100644
--- a/integration-test-groups/aws2-quarkus-client/aws2-ses/pom.xml
+++ b/integration-test-groups/aws2-quarkus-client/aws2-ses/pom.xml
@@ -119,7 +119,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
<properties>
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2/aws2-ses</copy-tests.source.dir>
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
diff --git a/integration-test-groups/aws2-quarkus-client/aws2-sqs-sns/pom.xml b/integration-test-groups/aws2-quarkus-client/aws2-sqs-sns/pom.xml
index d02f4eb..f867380 100644
--- a/integration-test-groups/aws2-quarkus-client/aws2-sqs-sns/pom.xml
+++ b/integration-test-groups/aws2-quarkus-client/aws2-sqs-sns/pom.xml
@@ -122,7 +122,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
<properties>
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2/aws2-sqs-sns</copy-tests.source.dir>
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
diff --git a/integration-test-groups/aws2-quarkus-client/aws2-sqs/pom.xml b/integration-test-groups/aws2-quarkus-client/aws2-sqs/pom.xml
index 226a50e..1c835dc 100644
--- a/integration-test-groups/aws2-quarkus-client/aws2-sqs/pom.xml
+++ b/integration-test-groups/aws2-quarkus-client/aws2-sqs/pom.xml
@@ -119,7 +119,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
<properties>
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2/aws2-sqs</copy-tests.source.dir>
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
diff --git a/integration-test-groups/aws2/aws2-s3/pom.xml b/integration-test-groups/aws2/aws2-s3/pom.xml
index 1e20023..ed9ca76 100644
--- a/integration-test-groups/aws2/aws2-s3/pom.xml
+++ b/integration-test-groups/aws2/aws2-s3/pom.xml
@@ -113,7 +113,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
<properties>
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2/aws2-s</copy-tests.source.dir>
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
diff --git a/integration-tests/aws2-grouped/pom.xml b/integration-tests/aws2-grouped/pom.xml
index 691540a..8fbf248 100644
--- a/integration-tests/aws2-grouped/pom.xml
+++ b/integration-tests/aws2-grouped/pom.xml
@@ -170,7 +170,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</source>
<properties>
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2</group-tests.source.dir>
<group-tests.dest.module.dir>${project.basedir}</group-tests.dest.module.dir>
diff --git a/integration-tests/aws2-quarkus-client-grouped/pom.xml b/integration-tests/aws2-quarkus-client-grouped/pom.xml
index 18ec86f..ec3c32d 100644
--- a/integration-tests/aws2-quarkus-client-grouped/pom.xml
+++ b/integration-tests/aws2-quarkus-client-grouped/pom.xml
@@ -154,7 +154,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</source>
<properties>
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2-quarkus-client</group-tests.source.dir>
<group-tests.dest.module.dir>${project.basedir}</group-tests.dest.module.dir>
@@ -169,7 +169,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
<properties>
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2/aws2-ses</copy-tests.source.dir>
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
@@ -184,7 +184,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
<properties>
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2/aws2-ddb</copy-tests.source.dir>
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
@@ -199,7 +199,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
<properties>
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2/aws2-s3</copy-tests.source.dir>
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
@@ -214,7 +214,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
<properties>
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2/aws2-sqs</copy-tests.source.dir>
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
@@ -229,7 +229,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/copy-tests.groovy</source>
<properties>
<copy-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/aws2/aws2-sqs-sns</copy-tests.source.dir>
<copy-tests.dest.module.dir>${project.basedir}</copy-tests.dest.module.dir>
diff --git a/integration-tests/azure-grouped/pom.xml b/integration-tests/azure-grouped/pom.xml
index 949d27d..5f3b3c7 100644
--- a/integration-tests/azure-grouped/pom.xml
+++ b/integration-tests/azure-grouped/pom.xml
@@ -125,7 +125,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</source>
<properties>
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/azure</group-tests.source.dir>
<group-tests.dest.module.dir>${project.basedir}</group-tests.dest.module.dir>
diff --git a/integration-tests/dataformats-json/src/main/java/org/apache/camel/quarkus/component/dataformats/json/ParamType.java b/integration-tests/dataformats-json/src/main/java/org/apache/camel/quarkus/component/dataformats/json/ParamType.java
index 68afb95..275ec02 100644
--- a/integration-tests/dataformats-json/src/main/java/org/apache/camel/quarkus/component/dataformats/json/ParamType.java
+++ b/integration-tests/dataformats-json/src/main/java/org/apache/camel/quarkus/component/dataformats/json/ParamType.java
@@ -16,42 +16,6 @@
*/
package org.apache.camel.quarkus.component.dataformats.json;
-/*
- * 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.
- */
-/*
- * 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.
- */
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.Arrays;
diff --git a/integration-tests/dataformats-json/src/test/java/org/apache/camel/quarkus/component/dataformats/json/JsonComponentsTest.java b/integration-tests/dataformats-json/src/test/java/org/apache/camel/quarkus/component/dataformats/json/JsonComponentsTest.java
index a0676bc..4217f87 100644
--- a/integration-tests/dataformats-json/src/test/java/org/apache/camel/quarkus/component/dataformats/json/JsonComponentsTest.java
+++ b/integration-tests/dataformats-json/src/test/java/org/apache/camel/quarkus/component/dataformats/json/JsonComponentsTest.java
@@ -104,7 +104,7 @@ public class JsonComponentsTest {
@Test
void jacksonXml() {
- final String xml = "<PojoA>\n <name>Joe</name>\n</PojoA>\n";
+ final String xml = "<PojoA><name>Joe</name></PojoA>";
final String json = JsonbBuilder.create().toJson(new PojoA("Joe"));
RestAssured.given()
.contentType(ContentType.JSON)
@@ -112,7 +112,7 @@ public class JsonComponentsTest {
.post("/dataformats-json/jacksonxml/marshal")
.then()
.statusCode(200)
- .body(equalTo(xml));
+ .body("PojoA.name", equalTo("Joe"));
RestAssured.given()
.contentType("text/xml")
diff --git a/integration-tests/dozer/src/test/java/org/apache/camel/quarkus/component/dozer/it/DozerTest.java b/integration-tests/dozer/src/test/java/org/apache/camel/quarkus/component/dozer/it/DozerTest.java
index 0117fab..94512a4 100644
--- a/integration-tests/dozer/src/test/java/org/apache/camel/quarkus/component/dozer/it/DozerTest.java
+++ b/integration-tests/dozer/src/test/java/org/apache/camel/quarkus/component/dozer/it/DozerTest.java
@@ -16,6 +16,8 @@
*/
package org.apache.camel.quarkus.component.dozer.it;
+import java.io.File;
+
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
import org.junit.jupiter.api.Test;
@@ -46,7 +48,7 @@ class DozerTest {
"address.zip", is("12345"),
"address.street", is("Camel Street"),
"created", containsString("1990"),
- "internalFileAsString", is("/test"),
+ "internalFileAsString", is(File.separator + "test"),
"internalClassAsString", is("java.lang.String"),
"internalUrl", is("http://customer"),
"internal.text", is("hello internal"));
diff --git a/integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java b/integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java
index 3a02d19..ded7443 100644
--- a/integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java
+++ b/integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java
@@ -33,6 +33,7 @@ import io.restassured.RestAssured;
import io.restassured.http.ContentType;
import io.restassured.path.json.JsonPath;
import io.restassured.response.ValidatableResponse;
+import org.apache.camel.quarkus.core.util.FileUtils;
import org.hamcrest.Matchers;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
@@ -275,7 +276,7 @@ class FileTest {
}
static String createFile(byte[] content, String path, String charset, String fileName) {
- return RestAssured.given()
+ String createdFilePath = RestAssured.given()
.urlEncodingEnabled(true)
.queryParam("charset", charset)
.contentType(ContentType.BINARY)
@@ -287,6 +288,8 @@ class FileTest {
.extract()
.body()
.asString();
+
+ return FileUtils.nixifyPath(createdFilePath);
}
static void startRouteAndWait(String routeId) throws InterruptedException {
@@ -322,7 +325,9 @@ class FileTest {
final JsonPath json = response
.extract()
.jsonPath();
- return file.toString().equals(json.getString("path")) && type.equals(json.getString("type"));
+ String expectedPath = FileUtils.nixifyPath(file);
+ String actualPath = json.getString("path");
+ return expectedPath.equals(actualPath) && type.equals(json.getString("type"));
default:
throw new RuntimeException("Unexpected status code " + response.extract().statusCode());
}
diff --git a/integration-tests/flatpack/src/test/java/org/apache/camel/quarkus/component/flatpack/it/FlatpackTest.java b/integration-tests/flatpack/src/test/java/org/apache/camel/quarkus/component/flatpack/it/FlatpackTest.java
index 2588689..2d666f7 100644
--- a/integration-tests/flatpack/src/test/java/org/apache/camel/quarkus/component/flatpack/it/FlatpackTest.java
+++ b/integration-tests/flatpack/src/test/java/org/apache/camel/quarkus/component/flatpack/it/FlatpackTest.java
@@ -63,7 +63,8 @@ class FlatpackTest {
secondRow.put("LAST_RECV_DT", "20040601");
data.add(secondRow);
- String expected = "ITEM_DESC,IN_STOCK,PRICE,LAST_RECV_DT\nAN ENGINE,100,1000.00,20040601\n";
+ String expected = "ITEM_DESC,IN_STOCK,PRICE,LAST_RECV_DT" + System.lineSeparator() + "AN ENGINE,100,1000.00,20040601"
+ + System.lineSeparator();
given().contentType(ContentType.JSON).body(data).when().get("/flatpack/delimited-marshal").then().statusCode(200)
.body(is(expected));
}
diff --git a/integration-tests/foundation-grouped/pom.xml b/integration-tests/foundation-grouped/pom.xml
index d44d275..e2b7bd0 100644
--- a/integration-tests/foundation-grouped/pom.xml
+++ b/integration-tests/foundation-grouped/pom.xml
@@ -198,7 +198,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</source>
<properties>
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/foundation</group-tests.source.dir>
<group-tests.dest.module.dir>${project.basedir}</group-tests.dest.module.dir>
diff --git a/integration-tests/jslt/src/test/java/org/apache/camel/quarkus/component/jslt/it/JsltTest.java b/integration-tests/jslt/src/test/java/org/apache/camel/quarkus/component/jslt/it/JsltTest.java
index e6ac493..c7aef54 100644
--- a/integration-tests/jslt/src/test/java/org/apache/camel/quarkus/component/jslt/it/JsltTest.java
+++ b/integration-tests/jslt/src/test/java/org/apache/camel/quarkus/component/jslt/it/JsltTest.java
@@ -19,6 +19,7 @@ package org.apache.camel.quarkus.component.jslt.it;
import java.io.IOException;
import io.quarkus.test.junit.QuarkusTest;
+import org.apache.camel.util.FileUtil;
import org.junit.jupiter.api.Test;
import static java.nio.charset.StandardCharsets.UTF_8;
@@ -58,6 +59,11 @@ class JsltTest {
String expected = resourceToString("/demoPlayground/outputPrettyPrint.json", UTF_8);
String input = resourceToString("/demoPlayground/input.json", UTF_8);
+ if (FileUtil.isWindows()) {
+ // Jackson ObjectMapper pretty printing uses platform line endings by default
+ expected = expected.replace("\n", System.lineSeparator());
+ }
+
given().when().body(input).get("/jslt/transformFromHeaderWithPrettyPrint").then().statusCode(200).body(is(expected));
}
diff --git a/integration-tests/mongodb-grouped/pom.xml b/integration-tests/mongodb-grouped/pom.xml
index 8080aa5..95198a3 100644
--- a/integration-tests/mongodb-grouped/pom.xml
+++ b/integration-tests/mongodb-grouped/pom.xml
@@ -117,7 +117,7 @@
</goals>
<phase>generate-sources</phase>
<configuration>
- <source>file:///${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/group-tests.groovy</source>
<properties>
<group-tests.source.dir>${maven.multiModuleProjectDirectory}/integration-test-groups/mongodb</group-tests.source.dir>
<group-tests.dest.module.dir>${project.basedir}</group-tests.dest.module.dir>
diff --git a/integration-tests/stringtemplate/src/test/java/org/apache/camel/quarkus/component/stringtemplate/it/StringtemplateTest.java b/integration-tests/stringtemplate/src/test/java/org/apache/camel/quarkus/component/stringtemplate/it/StringtemplateTest.java
index 4b3b371..4e7d770 100644
--- a/integration-tests/stringtemplate/src/test/java/org/apache/camel/quarkus/component/stringtemplate/it/StringtemplateTest.java
+++ b/integration-tests/stringtemplate/src/test/java/org/apache/camel/quarkus/component/stringtemplate/it/StringtemplateTest.java
@@ -108,7 +108,7 @@ class StringtemplateTest {
.then()
.statusCode(201)
.body(containsString(
- text + "WORKS!\n"));
+ text + "WORKS!"));
}
@Test
diff --git a/pom.xml b/pom.xml
index 6bccc51..20b39be 100644
--- a/pom.xml
+++ b/pom.xml
@@ -516,6 +516,7 @@
<exclude>.envrc</exclude>
<exclude>**/.idea/**</exclude>
<exclude>**/k8s-sb/**</exclude>
+ <exclude>.gitattributes</exclude>
</excludes>
<mapping>
<cli>CAMEL_PROPERTIES_STYLE</cli>
@@ -692,7 +693,7 @@
</goals>
<phase>process-resources</phase>
<configuration>
- <source>file:///${project.basedir}/tooling/scripts/validate-github-workflows.groovy</source>
+ <source>file:${project.basedir}/tooling/scripts/validate-github-workflows.groovy</source>
</configuration>
</execution>
<execution>
@@ -703,7 +704,7 @@
</goals>
<phase>verify</phase>
<configuration>
- <source>file:///${project.basedir}/tooling/scripts/validate-extension-metadata.groovy</source>
+ <source>file:${project.basedir}/tooling/scripts/validate-extension-metadata.groovy</source>
<properties>
<extensionDirs>extensions-core,extensions-support,extensions</extensionDirs>
</properties>
@@ -1007,7 +1008,7 @@
</goals>
<phase>validate</phase>
<configuration>
- <source>file://${maven.multiModuleProjectDirectory}/tooling/scripts/update-antora-yaml.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/update-antora-yaml.groovy</source>
<properties>
<maven.multiModuleProjectDirectory>${maven.multiModuleProjectDirectory}</maven.multiModuleProjectDirectory>
</properties>
@@ -1190,7 +1191,7 @@
</goals>
<phase>verify</phase>
<configuration>
- <source>file:///${project.basedir}/tooling/scripts/report-build-status.groovy</source>
+ <source>file:${project.basedir}/tooling/scripts/report-build-status.groovy</source>
</configuration>
</execution>
</executions>
diff --git a/poms/build-parent/pom.xml b/poms/build-parent/pom.xml
index 223aaa3..dee891f 100644
--- a/poms/build-parent/pom.xml
+++ b/poms/build-parent/pom.xml
@@ -194,7 +194,7 @@
</goals>
<phase>validate</phase>
<configuration>
- <source>file://${maven.multiModuleProjectDirectory}/tooling/scripts/sanity-checks.groovy</source>
+ <source>file:${maven.multiModuleProjectDirectory}/tooling/scripts/sanity-checks.groovy</source>
<properties>
<maven.multiModuleProjectDirectory>${maven.multiModuleProjectDirectory}</maven.multiModuleProjectDirectory>
</properties>
[camel-quarkus] 05/05: Run integration tests on Windows
Posted by ja...@apache.org.
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
commit dabf90533f5be3b7ff5b548c35e712644d4fd10d
Author: James Netherton <ja...@gmail.com>
AuthorDate: Wed Feb 9 07:26:13 2022 +0000
Run integration tests on Windows
Fixes #3342
---
.github/workflows/ci-build.yaml | 51 +++++++++++++++++++++++++++++++++++++----
1 file changed, 46 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index 05e2ae4..9873811 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -195,8 +195,6 @@ jobs:
runs-on: ubuntu-latest
needs: initial-mvn-install
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'JVM')
- strategy:
- fail-fast: false
env:
MAVEN_OPTS: -Xmx3000m
steps:
@@ -301,12 +299,10 @@ jobs:
--fail-at-end \
clean test
- integration-tests-alternative-jvm:
+ integration-tests-alternative-jdk:
runs-on: ubuntu-latest
needs: initial-mvn-install
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'JVM')
- strategy:
- fail-fast: false
env:
MAVEN_OPTS: -Xmx3000m
steps:
@@ -351,6 +347,51 @@ jobs:
--fail-at-end \
clean verify
+ integration-tests-alternative-platform:
+ runs-on: ${{ matrix.os }}
+ needs: initial-mvn-install
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ 'windows-latest' ]
+ if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'JVM')
+ env:
+ MAVEN_OPTS: -Xmx3000m
+ steps:
+ - name: Setup apache-snapshots profile
+ shell: bash
+ if: github.ref == 'refs/heads/camel-main' || github.base_ref == 'camel-main'
+ run: |
+ echo "BRANCH_OPTIONS=-Papache-snapshots" >> $GITHUB_ENV
+ - name: Setup oss-snapshots profile
+ shell: bash
+ if: github.ref == 'refs/heads/quarkus-main' || github.base_ref == 'quarkus-main'
+ run: |
+ echo "BRANCH_OPTIONS=-Poss-snapshots -Dquarkus.version=999-SNAPSHOT" >> $GITHUB_ENV
+ - uses: actions/checkout@v2
+ - name: Set up JDK 11
+ uses: actions/setup-java@v2
+ with:
+ distribution: 'temurin'
+ java-version: '11'
+ - name: Download Maven Repo
+ uses: actions/download-artifact@v2
+ with:
+ name: maven-repo
+ path: ..
+ - name: Extract Maven Repo
+ shell: bash
+ run: |
+ tar -xzf ../maven-repo.tgz -C ~
+ - name: cd integration-tests && mvn clean verify
+ shell: bash
+ run: |
+ cd integration-tests
+ ../mvnw ${MAVEN_ARGS} ${BRANCH_OPTIONS} \
+ -Dskip-testcontainers-tests -Dformatter.skip -Dimpsort.skip -Denforcer.skip \
+ --fail-at-end \
+ clean verify
+
examples-tests:
needs: initial-mvn-install
runs-on: ubuntu-latest
[camel-quarkus] 01/05: Disable CamelMainRoutesIncludePatternWithAbsoluteFilePrefixDevModeTest on Windows due to #3529
Posted by ja...@apache.org.
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
commit 59a06112246848053f1159ea74729f5d14de07ce
Author: James Netherton <ja...@gmail.com>
AuthorDate: Mon Feb 7 10:38:27 2022 +0000
Disable CamelMainRoutesIncludePatternWithAbsoluteFilePrefixDevModeTest on Windows due to #3529
---
...CamelMainRoutesIncludePatternWithAbsoluteFilePrefixDevModeTest.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/integration-tests/main-devmode/src/test/java/org/apache/camel/quarkus/main/CamelMainRoutesIncludePatternWithAbsoluteFilePrefixDevModeTest.java b/integration-tests/main-devmode/src/test/java/org/apache/camel/quarkus/main/CamelMainRoutesIncludePatternWithAbsoluteFilePrefixDevModeTest.java
index 7cc619a..d95f9b6 100644
--- a/integration-tests/main-devmode/src/test/java/org/apache/camel/quarkus/main/CamelMainRoutesIncludePatternWithAbsoluteFilePrefixDevModeTest.java
+++ b/integration-tests/main-devmode/src/test/java/org/apache/camel/quarkus/main/CamelMainRoutesIncludePatternWithAbsoluteFilePrefixDevModeTest.java
@@ -37,11 +37,14 @@ import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.OS;
import org.junit.jupiter.api.extension.RegisterExtension;
import static org.assertj.core.api.Assertions.assertThat;
import static org.awaitility.Awaitility.await;
+@DisabledOnOs(value = OS.WINDOWS, disabledReason = "https://github.com/apache/camel-quarkus/issues/3529")
public class CamelMainRoutesIncludePatternWithAbsoluteFilePrefixDevModeTest {
static Path BASE;