You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2023/06/23 13:37:47 UTC
[camel] 06/18: CAMEL-19466 - Skip Maven mojos in the fast profile properly
This is an automated email from the ASF dual-hosted git repository.
ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit dab0094b03f48764e26ae862b7715e0828757e66
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Sat Jun 17 15:45:50 2023 +0200
CAMEL-19466 - Skip Maven mojos in the fast profile properly
---
apache-camel/pom.xml | 81 ++++------
archetypes/pom.xml | 1 -
buildingtools/pom.xml | 10 --
camel-dependencies/pom.xml | 1 -
catalog/camel-catalog-console/pom.xml | 1 -
catalog/camel-catalog/pom.xml | 56 +++----
.../org/apache/camel/catalog/others.properties | 1 -
.../apache/camel/catalog/others/dsl-support.json | 15 --
catalog/dummy-component/pom.xml | 1 -
catalog/pom.xml | 9 --
components/camel-as2/camel-as2-api/pom.xml | 1 -
components/camel-as2/pom.xml | 8 -
components/camel-asterisk/pom.xml | 35 +++--
components/camel-avro/pom.xml | 27 +---
.../camel-aws/camel-aws-secrets-manager/pom.xml | 32 ++--
components/camel-aws/camel-aws2-kms/pom.xml | 32 ++--
components/camel-aws/camel-aws2-lambda/pom.xml | 32 ++--
components/camel-aws/camel-aws2-sns/pom.xml | 32 ++--
components/camel-box/camel-box-api/pom.xml | 1 -
components/camel-box/camel-box-component/pom.xml | 43 +++---
components/camel-box/pom.xml | 9 --
components/camel-couchbase/pom.xml | 80 +++++-----
components/camel-cxf/camel-cxf-common/pom.xml | 28 ++--
components/camel-cxf/camel-cxf-rest/pom.xml | 39 +++--
components/camel-cxf/camel-cxf-soap/pom.xml | 29 ++--
.../camel-cxf/camel-cxf-spring-common/pom.xml | 41 +++--
components/camel-cxf/camel-cxf-spring-rest/pom.xml | 29 ++--
components/camel-cxf/camel-cxf-spring-soap/pom.xml | 29 ++--
components/camel-datasonnet/pom.xml | 37 +++--
components/camel-elasticsearch/pom.xml | 40 +++--
components/camel-etcd3/pom.xml | 35 +++--
components/camel-facebook/pom.xml | 40 +++--
components/camel-fhir/camel-fhir-api/pom.xml | 1 -
components/camel-flink/pom.xml | 8 +-
components/camel-ftp/pom.xml | 98 ++++++------
.../camel-google/camel-google-functions/pom.xml | 38 +++--
components/camel-google/camel-google-mail/pom.xml | 10 --
.../camel-google-secret-manager/pom.xml | 38 +++--
.../camel-google/camel-google-storage/pom.xml | 38 +++--
components/camel-grpc/pom.xml | 7 -
components/camel-hazelcast/pom.xml | 49 +++---
components/camel-ignite/pom.xml | 6 +-
.../camel-infinispan-embedded/pom.xml | 40 +++--
.../camel-infinispan/camel-infinispan/pom.xml | 21 +--
components/camel-jasypt/pom.xml | 22 ---
components/camel-jcr/pom.xml | 34 +++--
components/camel-jgroups-raft/pom.xml | 36 +++--
components/camel-jgroups/pom.xml | 36 +++--
components/camel-jms/pom.xml | 79 ++++++----
components/camel-jooq/pom.xml | 2 -
components/camel-jpa/pom.xml | 96 +++++++-----
components/camel-kafka/pom.xml | 97 +++++++-----
components/camel-kudu/pom.xml | 6 +-
components/camel-mail/pom.xml | 32 ++--
components/camel-mapstruct/pom.xml | 1 -
components/camel-master/pom.xml | 38 +++--
components/camel-mina/pom.xml | 57 ++++---
components/camel-mllp/pom.xml | 39 +++--
components/camel-netty/pom.xml | 33 ++--
components/camel-observation/pom.xml | 80 +++++-----
components/camel-olingo2/camel-olingo2-api/pom.xml | 1 -
.../camel-olingo2/camel-olingo2-component/pom.xml | 12 --
components/camel-olingo4/camel-olingo4-api/pom.xml | 1 -
components/camel-opentelemetry/pom.xml | 79 +++++-----
components/camel-protobuf/pom.xml | 7 -
components/camel-pulsar/pom.xml | 61 ++++----
components/camel-robotframework/pom.xml | 94 ++++++------
components/camel-rocketmq/pom.xml | 44 +++---
components/camel-rxjava/pom.xml | 35 +++--
.../camel-salesforce-maven-plugin/pom.xml | 1 -
components/camel-service/pom.xml | 38 +++--
.../camel-servicenow-maven-plugin/pom.xml | 12 +-
components/camel-sjms/pom.xml | 26 +++-
components/camel-sjms2/pom.xml | 26 +++-
components/camel-soap/pom.xml | 6 +-
components/camel-spring-xml/pom.xml | 79 +++++-----
components/camel-undertow/pom.xml | 33 ++--
components/camel-xmpp/pom.xml | 42 +++--
components/camel-zendesk/pom.xml | 1 -
components/camel-zookeeper-master/pom.xml | 46 +++---
components/camel-zookeeper/pom.xml | 47 +++---
components/pom.xml | 71 ++++-----
core/camel-core/pom.xml | 51 ++++---
core/camel-util/pom.xml | 37 +++--
.../java/org/apache/camel/util/SensitiveUtils.java | 2 +-
core/pom.xml | 1 -
docs/pom.xml | 149 +++++++++---------
dsl/camel-componentdsl/pom.xml | 51 ++++---
dsl/camel-endpointdsl/pom.xml | 50 +++---
dsl/camel-kotlin-dsl/pom.xml | 30 +++-
dsl/camel-yaml-dsl/camel-yaml-dsl/pom.xml | 1 -
dsl/pom.xml | 1 -
parent/pom.xml | 163 +++++++-------------
pom.xml | 169 +++++++++++++++------
test-infra/camel-test-infra-arangodb/pom.xml | 10 --
test-infra/camel-test-infra-artemis/pom.xml | 9 --
test-infra/camel-test-infra-aws-common/pom.xml | 9 --
test-infra/camel-test-infra-aws-v2/pom.xml | 10 --
test-infra/camel-test-infra-azure-common/pom.xml | 10 --
.../camel-test-infra-azure-storage-blob/pom.xml | 9 --
.../pom.xml | 9 --
.../camel-test-infra-azure-storage-queue/pom.xml | 9 --
test-infra/camel-test-infra-cassandra/pom.xml | 8 -
test-infra/camel-test-infra-chatscript/pom.xml | 10 --
test-infra/camel-test-infra-common/pom.xml | 9 --
test-infra/camel-test-infra-consul/pom.xml | 9 --
test-infra/camel-test-infra-couchbase/pom.xml | 9 --
test-infra/camel-test-infra-couchdb/pom.xml | 9 --
.../camel-test-infra-dispatch-router/pom.xml | 9 --
test-infra/camel-test-infra-elasticsearch/pom.xml | 9 --
test-infra/camel-test-infra-etcd3/pom.xml | 9 --
test-infra/camel-test-infra-fhir/pom.xml | 9 --
test-infra/camel-test-infra-ftp/pom.xml | 9 --
test-infra/camel-test-infra-google-pubsub/pom.xml | 9 --
.../camel-test-infra-hashicorp-vault/pom.xml | 9 --
test-infra/camel-test-infra-hdfs/pom.xml | 9 --
test-infra/camel-test-infra-ignite/pom.xml | 9 --
test-infra/camel-test-infra-infinispan/pom.xml | 9 --
test-infra/camel-test-infra-jdbc/pom.xml | 9 --
test-infra/camel-test-infra-jetty/pom.xml | 9 --
test-infra/camel-test-infra-kafka/pom.xml | 9 --
.../camel-test-infra-messaging-common/pom.xml | 9 --
.../camel-test-infra-microprofile-lra/pom.xml | 9 --
test-infra/camel-test-infra-minio/pom.xml | 9 --
test-infra/camel-test-infra-mongodb/pom.xml | 9 --
test-infra/camel-test-infra-mosquitto/pom.xml | 9 --
test-infra/camel-test-infra-nats/pom.xml | 9 --
test-infra/camel-test-infra-openldap/pom.xml | 59 +++----
test-infra/camel-test-infra-postgres/pom.xml | 9 --
test-infra/camel-test-infra-pulsar/pom.xml | 9 --
test-infra/camel-test-infra-rabbitmq/pom.xml | 9 --
test-infra/camel-test-infra-redis/pom.xml | 9 --
test-infra/camel-test-infra-xmpp/pom.xml | 9 --
test-infra/camel-test-infra-zookeeper/pom.xml | 9 --
tests/camel-itest/pom.xml | 38 +++--
.../pom.xml | 36 +++--
tooling/maven/camel-maven-plugin/pom.xml | 38 +++--
tooling/maven/camel-package-maven-plugin/pom.xml | 7 +-
.../camel/maven/packaging/PrepareCatalogMojo.java | 18 +--
tooling/maven/camel-restdsl-openapi-plugin/pom.xml | 87 +++++------
tooling/maven/pom.xml | 2 -
141 files changed, 2004 insertions(+), 1999 deletions(-)
diff --git a/apache-camel/pom.xml b/apache-camel/pom.xml
index bb2a97cf41c..aef50b6108d 100644
--- a/apache-camel/pom.xml
+++ b/apache-camel/pom.xml
@@ -192,52 +192,37 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <!-- skip remote resources in assembly is a bit cumbersome to turn off -->
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <version>${maven-remote-resources-plugin-version}</version>
- <executions>
- <execution>
- <id>process-remote-resources</id>
- <goals>
- <goal>process</goal>
- </goals>
- <configuration>
- <skip>true</skip>
- <attachToTest>false</attachToTest>
- <excludeTransitive>true</excludeTransitive>
- <includeGroupIds>org.apache.camel</includeGroupIds>
- <includeScope>compile</includeScope>
- <resourceBundles>
- <resourceBundle>org.apache.camel:*:${project.version}</resourceBundle>
- </resourceBundles>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>${maven-assembly-plugin-version}</version>
- <executions>
- <execution>
- <id>src</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>src/main/descriptors/src.xml</descriptor>
- </descriptors>
- <tarLongFileMode>${tarLongFileMode}</tarLongFileMode>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>src</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/descriptors/src.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>${tarLongFileMode}</tarLongFileMode>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/archetypes/pom.xml b/archetypes/pom.xml
index 8da18c9375b..86be420ddd1 100644
--- a/archetypes/pom.xml
+++ b/archetypes/pom.xml
@@ -96,7 +96,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
- <version>1.1.0</version>
<executions>
<execution>
<id>default-cli</id>
diff --git a/buildingtools/pom.xml b/buildingtools/pom.xml
index 838146b3044..4a672cdf5cc 100644
--- a/buildingtools/pom.xml
+++ b/buildingtools/pom.xml
@@ -35,14 +35,4 @@
<maven.test.skip>true</maven.test.skip>
</properties>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index ca63e47dd0a..52da7e84fe8 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -345,7 +345,6 @@
<maven-plugin-plugin-version>3.9.0</maven-plugin-plugin-version>
<maven-plugin-annotations-version>3.9.0</maven-plugin-annotations-version>
<maven-plugin-testing-harness-version>3.3.0</maven-plugin-testing-harness-version>
- <maven-remote-resources-plugin-version>3.1.0</maven-remote-resources-plugin-version>
<!-- resources plugin needed by Camel maven archetypes -->
<maven-resources-plugin-version>3.3.1</maven-resources-plugin-version>
<maven-reporting-api-version>2.2.1</maven-reporting-api-version>
diff --git a/catalog/camel-catalog-console/pom.xml b/catalog/camel-catalog-console/pom.xml
index de678f4e39f..b18bd9dc56f 100644
--- a/catalog/camel-catalog-console/pom.xml
+++ b/catalog/camel-catalog-console/pom.xml
@@ -90,7 +90,6 @@
<build>
<plugins>
-
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-package-maven-plugin</artifactId>
diff --git a/catalog/camel-catalog/pom.xml b/catalog/camel-catalog/pom.xml
index 06284ae2084..f64300c4788 100644
--- a/catalog/camel-catalog/pom.xml
+++ b/catalog/camel-catalog/pom.xml
@@ -43,29 +43,25 @@
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core-catalog</artifactId>
- <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-util-json</artifactId>
- <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-tooling-model</artifactId>
- <version>${project.version}</version>
</dependency>
<!-- disable all components -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-allcomponents</artifactId>
- <version>${project.version}</version>
<type>pom</type>
- <scope>provided</scope>
+ <scope>test</scope>
<exclusions>
<exclusion>
- <groupId>org.apache.camel</groupId>
+ <groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
@@ -78,12 +74,11 @@
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core-all</artifactId>
- <version>${project.version}</version>
<type>pom</type>
- <scope>provided</scope>
+ <scope>test</scope>
<exclusions>
<exclusion>
- <groupId>org.apache.camel</groupId>
+ <groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
@@ -133,21 +128,6 @@
<build>
<plugins>
- <!-- sync parent/pom.xml with camel-dependencies/pom.xml -->
- <plugin>
- <groupId>org.apache.camel</groupId>
- <artifactId>sync-properties-maven-plugin</artifactId>
- <version>${project.version}</version>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>sync-properties</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
<!-- generate and include all components in the catalog -->
<plugin>
<groupId>org.apache.camel</groupId>
@@ -189,9 +169,7 @@
</execution>
</executions>
</plugin>
-
</plugins>
-
</build>
<profiles>
@@ -215,6 +193,32 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <!-- sync parent/pom.xml with camel-dependencies/pom.xml -->
+ <plugin>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>sync-properties-maven-plugin</artifactId>
+ <version>${project.version}</version>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>sync-properties</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
index 04d6b9ef566..222d2f13b83 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
@@ -9,7 +9,6 @@ console
csimple-joor
debug
dsl-modeline
-dsl-support
elytron
endpointdsl
groovy-dsl
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/dsl-support.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/dsl-support.json
deleted file mode 100644
index b4fbba40983..00000000000
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/dsl-support.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "other": {
- "kind": "other",
- "name": "dsl-support",
- "title": "DSL Support",
- "description": "Camel DSL Support",
- "deprecated": false,
- "firstVersion": "3.10.0",
- "label": "dsl",
- "supportLevel": "Stable",
- "groupId": "org.apache.camel",
- "artifactId": "camel-dsl-support",
- "version": "4.0.0-SNAPSHOT"
- }
-}
diff --git a/catalog/dummy-component/pom.xml b/catalog/dummy-component/pom.xml
index c80134e194e..f62ed87da3b 100644
--- a/catalog/dummy-component/pom.xml
+++ b/catalog/dummy-component/pom.xml
@@ -67,7 +67,6 @@
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-package-maven-plugin</artifactId>
- <version>${project.version}</version>
<executions>
<execution>
<id>generate</id>
diff --git a/catalog/pom.xml b/catalog/pom.xml
index 38adeffa99b..ca358fc2453 100644
--- a/catalog/pom.xml
+++ b/catalog/pom.xml
@@ -50,13 +50,4 @@
<module>camel-report-maven-plugin</module>
</modules>
- <build>
- <plugins>
- <plugin>
- <groupId>net.revelc.code.formatter</groupId>
- <artifactId>formatter-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/components/camel-as2/camel-as2-api/pom.xml b/components/camel-as2/camel-as2-api/pom.xml
index 338895e7a64..b18b3e77ac5 100644
--- a/components/camel-as2/camel-as2-api/pom.xml
+++ b/components/camel-as2/camel-as2-api/pom.xml
@@ -106,7 +106,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
diff --git a/components/camel-as2/pom.xml b/components/camel-as2/pom.xml
index afe6af6687c..4d8ef34cfe2 100644
--- a/components/camel-as2/pom.xml
+++ b/components/camel-as2/pom.xml
@@ -37,12 +37,4 @@
<module>camel-as2-api</module>
</modules>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/components/camel-asterisk/pom.xml b/components/camel-asterisk/pom.xml
index 15c59870312..d5c09d80ca0 100644
--- a/components/camel-asterisk/pom.xml
+++ b/components/camel-asterisk/pom.xml
@@ -65,16 +65,27 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkCount>1</forkCount>
- <reuseForks>false</reuseForks>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>false</reuseForks>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-avro/pom.xml b/components/camel-avro/pom.xml
index dd3e414ccb0..3c53f516d9f 100644
--- a/components/camel-avro/pom.xml
+++ b/components/camel-avro/pom.xml
@@ -32,32 +32,7 @@
<description>Camel Avro data format</description>
<properties>
-</properties>
-
- <build>
- <plugins>
- <!--plugin>
- <groupId>org.apache.avro</groupId>
- <artifactId>avro-maven-plugin</artifactId>
- <version>${avro-version}</version>
- <executions>
- <execution>
- <id>schemas</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>schema</goal>
- <goal>protocol</goal>
- <goal>idl-protocol</goal>
- </goals>
- <configuration>
- <sourceDirectory>${project.basedir}/src/test/avro/</sourceDirectory>
- <outputDirectory>${project.basedir}/src/test/java/</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin-->
- </plugins>
- </build>
+ </properties>
<dependencies>
<dependency>
diff --git a/components/camel-aws/camel-aws-secrets-manager/pom.xml b/components/camel-aws/camel-aws-secrets-manager/pom.xml
index 8797ee1bf31..c94b608a546 100644
--- a/components/camel-aws/camel-aws-secrets-manager/pom.xml
+++ b/components/camel-aws/camel-aws-secrets-manager/pom.xml
@@ -86,15 +86,25 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>${camel.surefire.fork.vmargs} -Xmx2G</argLine>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>${camel.surefire.fork.vmargs} -Xmx2G</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-aws/camel-aws2-kms/pom.xml b/components/camel-aws/camel-aws2-kms/pom.xml
index c85f8255635..dc351d12185 100644
--- a/components/camel-aws/camel-aws2-kms/pom.xml
+++ b/components/camel-aws/camel-aws2-kms/pom.xml
@@ -74,15 +74,25 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>${camel.surefire.fork.vmargs} -Xmx2G</argLine>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>${camel.surefire.fork.vmargs} -Xmx2G</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-aws/camel-aws2-lambda/pom.xml b/components/camel-aws/camel-aws2-lambda/pom.xml
index 06b8092d2a4..55761f8ea0f 100644
--- a/components/camel-aws/camel-aws2-lambda/pom.xml
+++ b/components/camel-aws/camel-aws2-lambda/pom.xml
@@ -73,15 +73,25 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>${camel.surefire.fork.vmargs} -Xmx2G</argLine>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>${camel.surefire.fork.vmargs} -Xmx2G</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-aws/camel-aws2-sns/pom.xml b/components/camel-aws/camel-aws2-sns/pom.xml
index 1e78606757f..b10b6ae95fb 100644
--- a/components/camel-aws/camel-aws2-sns/pom.xml
+++ b/components/camel-aws/camel-aws2-sns/pom.xml
@@ -101,15 +101,25 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>${camel.surefire.fork.vmargs} -Xmx2G</argLine>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>${camel.surefire.fork.vmargs} -Xmx2G</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-box/camel-box-api/pom.xml b/components/camel-box/camel-box-api/pom.xml
index d93d00da761..2cd71131f6b 100644
--- a/components/camel-box/camel-box-api/pom.xml
+++ b/components/camel-box/camel-box-api/pom.xml
@@ -57,7 +57,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
diff --git a/components/camel-box/camel-box-component/pom.xml b/components/camel-box/camel-box-component/pom.xml
index 22a32d2bbcf..74f95a72629 100644
--- a/components/camel-box/camel-box-component/pom.xml
+++ b/components/camel-box/camel-box-component/pom.xml
@@ -91,29 +91,8 @@
</dependencies>
<build>
- <defaultGoal>install</defaultGoal>
<plugins>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <!-- Avoid 'bootstrap classpath has been appended' error message caused by mockito-inline -->
- <argLine>-Xshare:off</argLine>
- </configuration>
- </plugin>
-
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-api-component-maven-plugin</artifactId>
@@ -602,5 +581,27 @@
</pluginManagement>
</build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- Avoid 'bootstrap classpath has been appended' error message caused by mockito-inline -->
+ <argLine>-Xshare:off</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-box/pom.xml b/components/camel-box/pom.xml
index 4e2439342db..c02b81858fb 100644
--- a/components/camel-box/pom.xml
+++ b/components/camel-box/pom.xml
@@ -38,13 +38,4 @@
<module>camel-box-api</module>
</modules>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/components/camel-couchbase/pom.xml b/components/camel-couchbase/pom.xml
index ec62b036539..1a6f8730ed0 100644
--- a/components/camel-couchbase/pom.xml
+++ b/components/camel-couchbase/pom.xml
@@ -80,41 +80,51 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <reuseForks>true</reuseForks>
- </configuration>
- <executions>
- <execution>
- <id>integration-test</id>
- <goals>
- <goal>integration-test</goal>
- </goals>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
<configuration>
- <forkCount>1</forkCount>
- <reuseForks>false</reuseForks>
- <excludedGroups>couchbase-7</excludedGroups>
+ <reuseForks>true</reuseForks>
</configuration>
- </execution>
- <execution>
- <id>couchbase-7</id>
- <goals>
- <goal>integration-test</goal>
- </goals>
- <configuration>
- <groups>couchbase-7</groups>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- <systemPropertyVariables>
- <couchbase.container>couchbase/server:7.1.1</couchbase.container>
- </systemPropertyVariables>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <goals>
+ <goal>integration-test</goal>
+ </goals>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>false</reuseForks>
+ <excludedGroups>couchbase-7</excludedGroups>
+ </configuration>
+ </execution>
+ <execution>
+ <id>couchbase-7</id>
+ <goals>
+ <goal>integration-test</goal>
+ </goals>
+ <configuration>
+ <groups>couchbase-7</groups>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ <systemPropertyVariables>
+ <couchbase.container>couchbase/server:7.1.1</couchbase.container>
+ </systemPropertyVariables>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-cxf/camel-cxf-common/pom.xml b/components/camel-cxf/camel-cxf-common/pom.xml
index 29db3647354..f8d00109033 100644
--- a/components/camel-cxf/camel-cxf-common/pom.xml
+++ b/components/camel-cxf/camel-cxf-common/pom.xml
@@ -83,7 +83,6 @@
</dependencies>
<build>
- <defaultGoal>install</defaultGoal>
<resources>
<resource>
<directory>src/main/resources</directory>
@@ -112,16 +111,6 @@
</excludes>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
- <reportFormat>brief</reportFormat>
- <useFile>false</useFile>
- <runOrder>alphabetical</runOrder>
- </configuration>
- </plugin>
</plugins>
</build>
@@ -147,15 +136,28 @@
</dependencies>
</profile>
<profile>
- <id>jdk17-build</id>
+ <id>full</id>
<activation>
- <jdk>[17,)</jdk>
+ <property>
+ <name>!quickly</name>
+ </property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
+
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <childDelegation>false</childDelegation>
+ <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+ <reportFormat>brief</reportFormat>
+ <useFile>false</useFile>
+ <runOrder>alphabetical</runOrder>
<argLine>--add-opens java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
</configuration>
</plugin>
diff --git a/components/camel-cxf/camel-cxf-rest/pom.xml b/components/camel-cxf/camel-cxf-rest/pom.xml
index fb7de2bfb62..255b39f4103 100644
--- a/components/camel-cxf/camel-cxf-rest/pom.xml
+++ b/components/camel-cxf/camel-cxf-rest/pom.xml
@@ -33,7 +33,6 @@
<description>Camel CXF REST support</description>
<properties>
-
</properties>
<dependencies>
@@ -63,7 +62,7 @@
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
- <version>${cxf-version}</version>
+ <version>${cxf-version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
@@ -94,7 +93,7 @@
<artifactId>camel-xpath</artifactId>
<scope>test</scope>
</dependency>
-
+
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-test-junit5</artifactId>
@@ -238,21 +237,6 @@
</excludes>
</resource>
</resources>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
- <reportFormat>brief</reportFormat>
- <useFile>false</useFile>
- <runOrder>alphabetical</runOrder>
- <!--parallel>classes</parallel>
- <perCoreThreadCount>true</perCoreThreadCount>
- <threadCount>2</threadCount-->
- </configuration>
- </plugin>
- </plugins>
</build>
<profiles>
@@ -272,25 +256,36 @@
<dependency>
<groupId>com.sun.xml.parsers</groupId>
<artifactId>jaxp-ri</artifactId>
- <version>${jaxp-ri-version}</version>
+ <version>${jaxp-ri-version}</version>
</dependency>
</dependencies>
</profile>
<profile>
- <id>jdk17-build</id>
+ <id>full</id>
<activation>
- <jdk>[17,)</jdk>
+ <property>
+ <name>!quickly</name>
+ </property>
</activation>
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
+ <childDelegation>false</childDelegation>
+ <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+ <reportFormat>brief</reportFormat>
+ <useFile>false</useFile>
+ <runOrder>alphabetical</runOrder>
+ <!--parallel>classes</parallel>
+ <perCoreThreadCount>true</perCoreThreadCount>
+ <threadCount>2</threadCount-->
<argLine>--add-opens java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
- </build>
+ </build>
</profile>
</profiles>
</project>
diff --git a/components/camel-cxf/camel-cxf-soap/pom.xml b/components/camel-cxf/camel-cxf-soap/pom.xml
index 1defc5f139e..25626085945 100644
--- a/components/camel-cxf/camel-cxf-soap/pom.xml
+++ b/components/camel-cxf/camel-cxf-soap/pom.xml
@@ -267,19 +267,6 @@
</excludes>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
- <reportFormat>brief</reportFormat>
- <useFile>false</useFile>
- <runOrder>alphabetical</runOrder>
- <!--parallel>classes</parallel>
- <perCoreThreadCount>true</perCoreThreadCount>
- <threadCount>2</threadCount-->
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
@@ -356,20 +343,30 @@
</dependencies>
</profile>
<profile>
- <id>jdk17-build</id>
+ <id>full</id>
<activation>
- <jdk>[17,)</jdk>
+ <property>
+ <name>!quickly</name>
+ </property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
+ <childDelegation>false</childDelegation>
+ <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+ <reportFormat>brief</reportFormat>
+ <useFile>false</useFile>
+ <runOrder>alphabetical</runOrder>
+ <!--parallel>classes</parallel>
+ <perCoreThreadCount>true</perCoreThreadCount>
+ <threadCount>2</threadCount-->
<argLine>--add-opens java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
- </build>
+ </build>
</profile>
</profiles>
</project>
diff --git a/components/camel-cxf/camel-cxf-spring-common/pom.xml b/components/camel-cxf/camel-cxf-spring-common/pom.xml
index d867fde4e08..ff161298199 100644
--- a/components/camel-cxf/camel-cxf-spring-common/pom.xml
+++ b/components/camel-cxf/camel-cxf-spring-common/pom.xml
@@ -95,21 +95,6 @@
</excludes>
</resource>
</resources>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
- <reportFormat>brief</reportFormat>
- <useFile>false</useFile>
- <runOrder>alphabetical</runOrder>
- <!--parallel>classes</parallel>
- <perCoreThreadCount>true</perCoreThreadCount>
- <threadCount>2</threadCount-->
- </configuration>
- </plugin>
- </plugins>
</build>
<profiles>
@@ -149,5 +134,31 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <childDelegation>false</childDelegation>
+ <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+ <reportFormat>brief</reportFormat>
+ <useFile>false</useFile>
+ <runOrder>alphabetical</runOrder>
+ <!--parallel>classes</parallel>
+ <perCoreThreadCount>true</perCoreThreadCount>
+ <threadCount>2</threadCount-->
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/components/camel-cxf/camel-cxf-spring-rest/pom.xml b/components/camel-cxf/camel-cxf-spring-rest/pom.xml
index 012d4df4ceb..b09428a0758 100644
--- a/components/camel-cxf/camel-cxf-spring-rest/pom.xml
+++ b/components/camel-cxf/camel-cxf-spring-rest/pom.xml
@@ -264,19 +264,6 @@
</excludes>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
- <reportFormat>brief</reportFormat>
- <useFile>false</useFile>
- <runOrder>alphabetical</runOrder>
- <!--parallel>classes</parallel>
- <perCoreThreadCount>true</perCoreThreadCount>
- <threadCount>2</threadCount-->
- </configuration>
- </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
@@ -351,20 +338,30 @@
</dependencies>
</profile>
<profile>
- <id>jdk17-build</id>
+ <id>full</id>
<activation>
- <jdk>[17,)</jdk>
+ <property>
+ <name>!quickly</name>
+ </property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
+ <childDelegation>false</childDelegation>
+ <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+ <reportFormat>brief</reportFormat>
+ <useFile>false</useFile>
+ <runOrder>alphabetical</runOrder>
+ <!--parallel>classes</parallel>
+ <perCoreThreadCount>true</perCoreThreadCount>
+ <threadCount>2</threadCount-->
<argLine>--add-opens java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
- </build>
+ </build>
</profile>
</profiles>
</project>
diff --git a/components/camel-cxf/camel-cxf-spring-soap/pom.xml b/components/camel-cxf/camel-cxf-spring-soap/pom.xml
index 8c8d5371230..4e2c89d2d7e 100644
--- a/components/camel-cxf/camel-cxf-spring-soap/pom.xml
+++ b/components/camel-cxf/camel-cxf-spring-soap/pom.xml
@@ -279,19 +279,6 @@
</excludes>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
- <reportFormat>brief</reportFormat>
- <useFile>false</useFile>
- <runOrder>alphabetical</runOrder>
- <!--parallel>classes</parallel>
- <perCoreThreadCount>true</perCoreThreadCount>
- <threadCount>2</threadCount-->
- </configuration>
- </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
@@ -423,20 +410,30 @@
</dependencies>
</profile>
<profile>
- <id>jdk17-build</id>
+ <id>full</id>
<activation>
- <jdk>[17,)</jdk>
+ <property>
+ <name>!quickly</name>
+ </property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
+ <childDelegation>false</childDelegation>
+ <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+ <reportFormat>brief</reportFormat>
+ <useFile>false</useFile>
+ <runOrder>alphabetical</runOrder>
+ <!--parallel>classes</parallel>
+ <perCoreThreadCount>true</perCoreThreadCount>
+ <threadCount>2</threadCount-->
<argLine>--add-opens java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED --add-opens java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
- </build>
+ </build>
</profile>
</profiles>
</project>
diff --git a/components/camel-datasonnet/pom.xml b/components/camel-datasonnet/pom.xml
index be27c6ff22e..7276bcd51e5 100644
--- a/components/camel-datasonnet/pom.xml
+++ b/components/camel-datasonnet/pom.xml
@@ -32,20 +32,6 @@
<name>Camel :: DataSonnet</name>
<description>Camel DataSonnet support</description>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <additionalClasspathElements>
- <additionalClasspathElement>${project.basedir}/src/test/resources/dslibs.jar</additionalClasspathElement>
- </additionalClasspathElements>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
<dependencies>
<dependency>
<groupId>org.scala-lang</groupId>
@@ -109,4 +95,27 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <additionalClasspathElements>
+ <additionalClasspathElement>${project.basedir}/src/test/resources/dslibs.jar</additionalClasspathElement>
+ </additionalClasspathElements>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-elasticsearch/pom.xml b/components/camel-elasticsearch/pom.xml
index 783ba6ccb0d..bd923964fad 100644
--- a/components/camel-elasticsearch/pom.xml
+++ b/components/camel-elasticsearch/pom.xml
@@ -88,19 +88,29 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <es.path.data>target/data</es.path.data>
- </systemPropertyVariables>
- <forkCount>1</forkCount>
- <reuseForks>false</reuseForks>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemPropertyVariables>
+ <es.path.data>target/data</es.path.data>
+ </systemPropertyVariables>
+ <forkCount>1</forkCount>
+ <reuseForks>false</reuseForks>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-etcd3/pom.xml b/components/camel-etcd3/pom.xml
index cb7a49dd8b5..d8560e1b1a2 100644
--- a/components/camel-etcd3/pom.xml
+++ b/components/camel-etcd3/pom.xml
@@ -94,17 +94,26 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <endpoint>${endpoint}</endpoint>
- </systemPropertyVariables>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemPropertyVariables>
+ <endpoint>${endpoint}</endpoint>
+ </systemPropertyVariables>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-facebook/pom.xml b/components/camel-facebook/pom.xml
index e9f9da65b30..df54cfd9e2d 100644
--- a/components/camel-facebook/pom.xml
+++ b/components/camel-facebook/pom.xml
@@ -58,20 +58,28 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <useFile>true</useFile>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <childDelegation>false</childDelegation>
+ <useFile>true</useFile>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-fhir/camel-fhir-api/pom.xml b/components/camel-fhir/camel-fhir-api/pom.xml
index a0b641542f4..6319d948b83 100644
--- a/components/camel-fhir/camel-fhir-api/pom.xml
+++ b/components/camel-fhir/camel-fhir-api/pom.xml
@@ -64,7 +64,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
diff --git a/components/camel-flink/pom.xml b/components/camel-flink/pom.xml
index 8e567e21e67..ae12024cc08 100644
--- a/components/camel-flink/pom.xml
+++ b/components/camel-flink/pom.xml
@@ -112,9 +112,11 @@
</dependencies>
<profiles>
<profile>
- <id>jdk17-build</id>
+ <id>full</id>
<activation>
- <jdk>[17,)</jdk>
+ <property>
+ <name>!quickly</name>
+ </property>
</activation>
<build>
<plugins>
@@ -127,6 +129,6 @@
</plugins>
</build>
</profile>
- </profiles>
+ </profiles>
</project>
diff --git a/components/camel-ftp/pom.xml b/components/camel-ftp/pom.xml
index 39c41114f03..cda89d0edfd 100644
--- a/components/camel-ftp/pom.xml
+++ b/components/camel-ftp/pom.xml
@@ -169,51 +169,61 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <argLine>-XX:+ExitOnOutOfMemoryError -Xmx3G</argLine>
- </configuration>
- <executions>
- <execution>
- <id>integration-test</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
<configuration>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <excludedGroups>not-parallel</excludedGroups>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- <systemProperties>
- <junit.jupiter.execution.parallel.enabled>true</junit.jupiter.execution.parallel.enabled>
- <junit.jupiter.execution.parallel.mode.default>same_thread</junit.jupiter.execution.parallel.mode.default>
- <junit.jupiter.execution.parallel.mode.classes.default>concurrent</junit.jupiter.execution.parallel.mode.classes.default>
- <junit.jupiter.execution.parallel.config.strategy>dynamic</junit.jupiter.execution.parallel.config.strategy>
- <junit.jupiter.execution.parallel.config.dynamic.factor>${camel.failsafe.parallel.factor}</junit.jupiter.execution.parallel.config.dynamic.factor>
- </systemProperties>
+ <argLine>-XX:+ExitOnOutOfMemoryError -Xmx3G</argLine>
</configuration>
- </execution>
- <execution>
- <id>serials-test</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- <configuration>
- <forkCount>4</forkCount>
- <reuseForks>true</reuseForks>
- <groups>not-parallel</groups>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <excludedGroups>not-parallel</excludedGroups>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ <systemProperties>
+ <junit.jupiter.execution.parallel.enabled>true</junit.jupiter.execution.parallel.enabled>
+ <junit.jupiter.execution.parallel.mode.default>same_thread</junit.jupiter.execution.parallel.mode.default>
+ <junit.jupiter.execution.parallel.mode.classes.default>concurrent</junit.jupiter.execution.parallel.mode.classes.default>
+ <junit.jupiter.execution.parallel.config.strategy>dynamic</junit.jupiter.execution.parallel.config.strategy>
+ <junit.jupiter.execution.parallel.config.dynamic.factor>${camel.failsafe.parallel.factor}</junit.jupiter.execution.parallel.config.dynamic.factor>
+ </systemProperties>
+ </configuration>
+ </execution>
+ <execution>
+ <id>serials-test</id>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ <configuration>
+ <forkCount>4</forkCount>
+ <reuseForks>true</reuseForks>
+ <groups>not-parallel</groups>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-google/camel-google-functions/pom.xml b/components/camel-google/camel-google-functions/pom.xml
index 3d21e6239bb..2a1174433dc 100644
--- a/components/camel-google/camel-google-functions/pom.xml
+++ b/components/camel-google/camel-google-functions/pom.xml
@@ -119,18 +119,28 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <useFile>true</useFile>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <childDelegation>false</childDelegation>
+ <useFile>true</useFile>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-google/camel-google-mail/pom.xml b/components/camel-google/camel-google-mail/pom.xml
index 5193d6d7145..946d1f82d17 100644
--- a/components/camel-google/camel-google-mail/pom.xml
+++ b/components/camel-google/camel-google-mail/pom.xml
@@ -153,19 +153,9 @@
</dependencies>
<build>
- <defaultGoal>install</defaultGoal>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.6</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
-
<!-- generate Component source and test source -->
<plugin>
<groupId>org.apache.camel</groupId>
diff --git a/components/camel-google/camel-google-secret-manager/pom.xml b/components/camel-google/camel-google-secret-manager/pom.xml
index 5dd2b6829f6..93932062b46 100644
--- a/components/camel-google/camel-google-secret-manager/pom.xml
+++ b/components/camel-google/camel-google-secret-manager/pom.xml
@@ -124,18 +124,28 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <useFile>true</useFile>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <childDelegation>false</childDelegation>
+ <useFile>true</useFile>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-google/camel-google-storage/pom.xml b/components/camel-google/camel-google-storage/pom.xml
index c49eef7fde5..758475958b0 100644
--- a/components/camel-google/camel-google-storage/pom.xml
+++ b/components/camel-google/camel-google-storage/pom.xml
@@ -93,18 +93,28 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <useFile>true</useFile>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <childDelegation>false</childDelegation>
+ <useFile>true</useFile>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-grpc/pom.xml b/components/camel-grpc/pom.xml
index 806ca8701a9..941ec9b5dde 100644
--- a/components/camel-grpc/pom.xml
+++ b/components/camel-grpc/pom.xml
@@ -241,13 +241,6 @@
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${skipTests}</skipTests>
- </configuration>
- </plugin>
<!-- Force the version of guava to camel-package-maven-plugin to prevent build failure due to the
usage of an old/incompatible version of guava -->
<plugin>
diff --git a/components/camel-hazelcast/pom.xml b/components/camel-hazelcast/pom.xml
index a3861d2b10c..23754626ba9 100644
--- a/components/camel-hazelcast/pom.xml
+++ b/components/camel-hazelcast/pom.xml
@@ -81,24 +81,33 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
-<!-- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>-->
- <systemProperties>
- <property>
- <name>hazelcast.logging.type</name>
- <value>slf4j</value>
- </property>
- </systemProperties>
- <argLine>--add-opens java.base/sun.nio.ch=ALL-UNNAMED</argLine>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <!-- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds> -->
+ <systemProperties>
+ <property>
+ <name>hazelcast.logging.type</name>
+ <value>slf4j</value>
+ </property>
+ </systemProperties>
+ <argLine>--add-opens java.base/sun.nio.ch=ALL-UNNAMED</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-ignite/pom.xml b/components/camel-ignite/pom.xml
index f5bac1e4af8..e4a10b3a49b 100644
--- a/components/camel-ignite/pom.xml
+++ b/components/camel-ignite/pom.xml
@@ -94,9 +94,11 @@
<profiles>
<profile>
- <id>jdk17-build</id>
+ <id>full</id>
<activation>
- <jdk>[17,)</jdk>
+ <property>
+ <name>!quickly</name>
+ </property>
</activation>
<build>
<plugins>
diff --git a/components/camel-infinispan/camel-infinispan-embedded/pom.xml b/components/camel-infinispan/camel-infinispan-embedded/pom.xml
index fa4fbd6691b..0b046f97f8e 100644
--- a/components/camel-infinispan/camel-infinispan-embedded/pom.xml
+++ b/components/camel-infinispan/camel-infinispan-embedded/pom.xml
@@ -124,19 +124,29 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemProperties>
- <property>
- <name>infinispan.test.jgroups.protocol</name>
- <value>tcp</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>infinispan.test.jgroups.protocol</name>
+ <value>tcp</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-infinispan/camel-infinispan/pom.xml b/components/camel-infinispan/camel-infinispan/pom.xml
index 1d576f8f876..33bf52bb3a5 100644
--- a/components/camel-infinispan/camel-infinispan/pom.xml
+++ b/components/camel-infinispan/camel-infinispan/pom.xml
@@ -163,29 +163,18 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <infinispan.test.jgroups.protocol>tcp</infinispan.test.jgroups.protocol>
- </systemPropertyVariables>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
<profiles>
<profile>
- <id>jdk17-build</id>
+ <id>full</id>
<activation>
- <jdk>[17,)</jdk>
+ <property>
+ <name>!quickly</name>
+ </property>
</activation>
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
diff --git a/components/camel-jasypt/pom.xml b/components/camel-jasypt/pom.xml
index 5b9de8419a8..89452231ddb 100644
--- a/components/camel-jasypt/pom.xml
+++ b/components/camel-jasypt/pom.xml
@@ -72,28 +72,6 @@
<build>
- <pluginManagement>
- <plugins>
- <!-- Eclipse m2e Lifecycle Management -->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>${lifecycle-mapping-version}</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
-
<plugins>
<!-- add main class and classpath to the MANIFEST.MF file -->
<plugin>
diff --git a/components/camel-jcr/pom.xml b/components/camel-jcr/pom.xml
index 65460cb4459..1aca912f9b9 100644
--- a/components/camel-jcr/pom.xml
+++ b/components/camel-jcr/pom.xml
@@ -69,16 +69,26 @@
<scope>test</scope>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkCount>1</forkCount>
- <reuseForks>false</reuseForks>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>false</reuseForks>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-jgroups-raft/pom.xml b/components/camel-jgroups-raft/pom.xml
index fdd772e7577..207f6053102 100644
--- a/components/camel-jgroups-raft/pom.xml
+++ b/components/camel-jgroups-raft/pom.xml
@@ -68,17 +68,27 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <jgroups.bind_addr>127.0.0.1</jgroups.bind_addr>
- </systemPropertyVariables>
- <argLine>${camel.surefire.fork.vmargs} -Djava.net.preferIPv4Stack=true</argLine>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemPropertyVariables>
+ <jgroups.bind_addr>127.0.0.1</jgroups.bind_addr>
+ </systemPropertyVariables>
+ <argLine>${camel.surefire.fork.vmargs} -Djava.net.preferIPv4Stack=true</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-jgroups/pom.xml b/components/camel-jgroups/pom.xml
index 3f6964ea64e..96bfba32b09 100644
--- a/components/camel-jgroups/pom.xml
+++ b/components/camel-jgroups/pom.xml
@@ -74,17 +74,27 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <jgroups.bind_addr>127.0.0.1</jgroups.bind_addr>
- </systemPropertyVariables>
- <argLine>${camel.surefire.fork.vmargs} -Djava.net.preferIPv4Stack=true</argLine>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemPropertyVariables>
+ <jgroups.bind_addr>127.0.0.1</jgroups.bind_addr>
+ </systemPropertyVariables>
+ <argLine>${camel.surefire.fork.vmargs} -Djava.net.preferIPv4Stack=true</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-jms/pom.xml b/components/camel-jms/pom.xml
index 57dca006914..82e046b71d6 100644
--- a/components/camel-jms/pom.xml
+++ b/components/camel-jms/pom.xml
@@ -158,39 +158,6 @@
<build>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>${camel.surefire.fork.vmargs} -Xmx1024m</argLine>
- </configuration>
- <executions>
- <execution>
- <id>default-test</id>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <excludedGroups>not-parallel</excludedGroups>
- </configuration>
- </execution>
- <execution>
- <id>serials-test</id>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <forkCount>4</forkCount>
- <reuseForks>true</reuseForks>
- <groups>not-parallel</groups>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- </configuration>
- </execution>
- </executions>
-
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
@@ -204,4 +171,50 @@
</plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>${camel.surefire.fork.vmargs} -Xmx1024m</argLine>
+ </configuration>
+ <executions>
+ <execution>
+ <id>default-test</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <excludedGroups>not-parallel</excludedGroups>
+ </configuration>
+ </execution>
+ <execution>
+ <id>serials-test</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <forkCount>4</forkCount>
+ <reuseForks>true</reuseForks>
+ <groups>not-parallel</groups>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-jooq/pom.xml b/components/camel-jooq/pom.xml
index 7deb9f51abe..20a419859a2 100644
--- a/components/camel-jooq/pom.xml
+++ b/components/camel-jooq/pom.xml
@@ -109,7 +109,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
- <version>${properties-maven-plugin-version}</version>
<executions>
<execution>
<phase>initialize</phase>
@@ -213,7 +212,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
- <version>${build-helper-maven-plugin-version}</version>
<executions>
<execution>
<id>add-test-source</id>
diff --git a/components/camel-jpa/pom.xml b/components/camel-jpa/pom.xml
index c7a867edec6..02f4f0f97b0 100644
--- a/components/camel-jpa/pom.xml
+++ b/components/camel-jpa/pom.xml
@@ -115,51 +115,13 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy</id>
- <phase>validate</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.openjpa</groupId>
- <artifactId>openjpa</artifactId>
- <version>${openjpa-version}</version>
- <classifier>jakarta</classifier>
- <outputDirectory>${project.build.directory}</outputDirectory>
- </artifactItem>
- </artifactItems>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>-javaagent:${project.basedir}/target/openjpa-${openjpa-version}-jakarta.jar -Xmx3G
- ${camel.surefire.fork.vmargs}
- </argLine>
- <forkedProcessTimeoutInSeconds>240</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
<profiles>
<profile>
<id>openjpa</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <property>
+ <name>!hibernate</name>
+ </property>
</activation>
<build>
<pluginManagement>
@@ -245,6 +207,11 @@
</profile>
<profile>
<id>hibernate</id>
+ <activation>
+ <property>
+ <name>hibernate</name>
+ </property>
+ </activation>
<build>
<plugins>
<plugin>
@@ -280,5 +247,52 @@
</dependency>
</dependencies>
</profile>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.openjpa</groupId>
+ <artifactId>openjpa</artifactId>
+ <version>${openjpa-version}</version>
+ <classifier>jakarta</classifier>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>-javaagent:${project.basedir}/target/openjpa-${openjpa-version}-jakarta.jar -Xmx3G
+ ${camel.surefire.fork.vmargs}
+ </argLine>
+ <forkedProcessTimeoutInSeconds>240</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/components/camel-kafka/pom.xml b/components/camel-kafka/pom.xml
index 9a957a9b48c..750da92fe29 100644
--- a/components/camel-kafka/pom.xml
+++ b/components/camel-kafka/pom.xml
@@ -144,49 +144,15 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <skipITs>${skipITs}</skipITs>
- <skipTests>${skipTests}</skipTests>
- <reuseForks>true</reuseForks>
- </configuration>
- <executions>
- <execution>
- <id>integration-test</id>
- <goals>
- <goal>integration-test</goal>
- </goals>
- <configuration>
- <skipITs>${skipITs}</skipITs>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <excludedGroups>health,idempotent</excludedGroups>
- </configuration>
- </execution>
- <execution>
- <id>serials-test</id>
- <goals>
- <goal>integration-test</goal>
- </goals>
- <configuration>
- <reuseForks>false</reuseForks>
- <groups>health,idempotent</groups>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
<profiles>
- <!-- Ensures camel-kafka does not run any tests during the release -->
<profile>
- <id>release</id>
+ <!-- This is needed only for camel-kafka to skip itests selected in the backwards-compatibility profile -->
+ <id>quickly</id>
+ <activation>
+ <property>
+ <name>quickly</name>
+ </property>
+ </activation>
<properties>
<skipITs>true</skipITs>
<skipTests>true</skipTests>
@@ -199,7 +165,6 @@
<arch>amd64</arch>
</os>
</activation>
-
<build>
<plugins>
<plugin>
@@ -221,9 +186,57 @@
<reportNameSuffix>kafka-2</reportNameSuffix>
<excludedGroups>non-abstract,health,idempotent</excludedGroups>
</configuration>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <skipITs>${skipITs}</skipITs>
+ <skipTests>${skipTests}</skipTests>
+ <reuseForks>true</reuseForks>
+ </configuration>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ <configuration>
+ <skipITs>${skipITs}</skipITs>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <excludedGroups>health,idempotent</excludedGroups>
+ </configuration>
+ </execution>
+ <execution>
+ <id>serials-test</id>
<goals>
<goal>integration-test</goal>
</goals>
+ <configuration>
+ <reuseForks>false</reuseForks>
+ <groups>health,idempotent</groups>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ </configuration>
</execution>
</executions>
</plugin>
diff --git a/components/camel-kudu/pom.xml b/components/camel-kudu/pom.xml
index 9cbbf34fbb4..092d312f4e3 100644
--- a/components/camel-kudu/pom.xml
+++ b/components/camel-kudu/pom.xml
@@ -33,9 +33,11 @@
<profiles>
<profile>
- <id>jdk17-build</id>
+ <id>full</id>
<activation>
- <jdk>[17,)</jdk>
+ <property>
+ <name>!quickly</name>
+ </property>
</activation>
<build>
<plugins>
diff --git a/components/camel-mail/pom.xml b/components/camel-mail/pom.xml
index 90fd76acfbd..6fe66ed376f 100644
--- a/components/camel-mail/pom.xml
+++ b/components/camel-mail/pom.xml
@@ -107,7 +107,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
- <version>3.1.1</version>
<executions>
<execution>
<id>unpack</id>
@@ -133,14 +132,29 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <!-- required to make MailMimeDecodeHeadersTest work on operating systems with a different default encoding -->
- <argLine>-Dfile.encoding=UTF-8</argLine>
- </configuration>
- </plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- required to make MailMimeDecodeHeadersTest work on operating systems with a different default encoding -->
+ <argLine>-Dfile.encoding=UTF-8</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-mapstruct/pom.xml b/components/camel-mapstruct/pom.xml
index d12d2b1caaf..b09404f15a3 100644
--- a/components/camel-mapstruct/pom.xml
+++ b/components/camel-mapstruct/pom.xml
@@ -72,7 +72,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
<configuration>
<annotationProcessorPaths>
<path>
diff --git a/components/camel-master/pom.xml b/components/camel-master/pom.xml
index d86fea56363..25804ac1827 100644
--- a/components/camel-master/pom.xml
+++ b/components/camel-master/pom.xml
@@ -55,18 +55,28 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <useFile>true</useFile>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <childDelegation>false</childDelegation>
+ <useFile>true</useFile>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-mina/pom.xml b/components/camel-mina/pom.xml
index fc2c0f93899..bdb68593cd7 100644
--- a/components/camel-mina/pom.xml
+++ b/components/camel-mina/pom.xml
@@ -83,29 +83,38 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
- <excludes>
- <!-- This test just show the shutdown error -->
- <exclude>**/MinaProducerShutdownTest.*</exclude>
- </excludes>
- </configuration>
- </plugin>
-
- <plugin>
- <!-- allows the special unittest to be ran via 'mvn compile exec:java' -->
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <configuration>
- <mainClass>org.apache.camel.component.mina.MinaProducerShutdownManualIT</mainClass>
- <includePluginDependencies>false</includePluginDependencies>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
+ <excludes>
+ <!-- This test just show the shutdown error -->
+ <exclude>**/MinaProducerShutdownTest.*</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <!-- allows the special unittest to be ran via 'mvn compile exec:java' -->
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <configuration>
+ <mainClass>org.apache.camel.component.mina.MinaProducerShutdownManualIT</mainClass>
+ <includePluginDependencies>false</includePluginDependencies>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-mllp/pom.xml b/components/camel-mllp/pom.xml
index 7ada1fb2731..54add0b8b60 100644
--- a/components/camel-mllp/pom.xml
+++ b/components/camel-mllp/pom.xml
@@ -81,19 +81,28 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <useFile>true</useFile>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <childDelegation>false</childDelegation>
+ <useFile>true</useFile>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-netty/pom.xml b/components/camel-netty/pom.xml
index 5da6ac059c2..4c3756f335d 100644
--- a/components/camel-netty/pom.xml
+++ b/components/camel-netty/pom.xml
@@ -119,19 +119,6 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <io.netty.leakDetection.level>${io.netty.leakDetection.level}</io.netty.leakDetection.level>
- </systemPropertyVariables>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
<profiles>
<profile>
<id>leaks</id>
@@ -140,6 +127,26 @@
<io.netty.leakDetection.level>PARANOID</io.netty.leakDetection.level>
</properties>
</profile>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemPropertyVariables>
+ <io.netty.leakDetection.level>${io.netty.leakDetection.level}</io.netty.leakDetection.level>
+ </systemPropertyVariables>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/components/camel-observation/pom.xml b/components/camel-observation/pom.xml
index b598ef0f7cb..fe3e54a142c 100644
--- a/components/camel-observation/pom.xml
+++ b/components/camel-observation/pom.xml
@@ -85,42 +85,50 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>${camel.surefire.fork.vmargs} -Xmx1024m</argLine>
- </configuration>
- <executions>
- <execution>
- <id>default-test</id>
- <goals>
- <goal>test</goal>
- </goals>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <excludedGroups>not-parallel</excludedGroups>
+ <argLine>${camel.surefire.fork.vmargs} -Xmx1024m</argLine>
</configuration>
- </execution>
- <execution>
- <id>serials-test</id>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <forkCount>4</forkCount>
- <reuseForks>true</reuseForks>
- <groups>not-parallel</groups>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- </configuration>
- </execution>
- </executions>
-
- </plugin>
- </plugins>
- </build>
-
+ <executions>
+ <execution>
+ <id>default-test</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <excludedGroups>not-parallel</excludedGroups>
+ </configuration>
+ </execution>
+ <execution>
+ <id>serials-test</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <forkCount>4</forkCount>
+ <reuseForks>true</reuseForks>
+ <groups>not-parallel</groups>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-olingo2/camel-olingo2-api/pom.xml b/components/camel-olingo2/camel-olingo2-api/pom.xml
index 4c403561054..0902da12047 100644
--- a/components/camel-olingo2/camel-olingo2-api/pom.xml
+++ b/components/camel-olingo2/camel-olingo2-api/pom.xml
@@ -76,7 +76,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
diff --git a/components/camel-olingo2/camel-olingo2-component/pom.xml b/components/camel-olingo2/camel-olingo2-component/pom.xml
index 6c9018d5a19..7a59c0913ab 100644
--- a/components/camel-olingo2/camel-olingo2-component/pom.xml
+++ b/components/camel-olingo2/camel-olingo2-component/pom.xml
@@ -311,17 +311,5 @@
</plugins>
</build>
</profile>
- <profile>
- <id>fastinstall</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- <property>
- <name>skipTests</name>
- </property>
- </activation>
- <properties>
- <invoker.skip>true</invoker.skip>
- </properties>
- </profile>
</profiles>
</project>
diff --git a/components/camel-olingo4/camel-olingo4-api/pom.xml b/components/camel-olingo4/camel-olingo4-api/pom.xml
index 0098c92787e..108537fc48a 100644
--- a/components/camel-olingo4/camel-olingo4-api/pom.xml
+++ b/components/camel-olingo4/camel-olingo4-api/pom.xml
@@ -91,7 +91,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
diff --git a/components/camel-opentelemetry/pom.xml b/components/camel-opentelemetry/pom.xml
index 4c2e3c89f15..284c7f172ca 100644
--- a/components/camel-opentelemetry/pom.xml
+++ b/components/camel-opentelemetry/pom.xml
@@ -93,41 +93,50 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>${camel.surefire.fork.vmargs} -Xmx1024m</argLine>
- </configuration>
- <executions>
- <execution>
- <id>default-test</id>
- <goals>
- <goal>test</goal>
- </goals>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <excludedGroups>not-parallel</excludedGroups>
+ <argLine>${camel.surefire.fork.vmargs} -Xmx1024m</argLine>
</configuration>
- </execution>
- <execution>
- <id>serials-test</id>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <forkCount>4</forkCount>
- <reuseForks>true</reuseForks>
- <groups>not-parallel</groups>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
+ <executions>
+ <execution>
+ <id>default-test</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <excludedGroups>not-parallel</excludedGroups>
+ </configuration>
+ </execution>
+ <execution>
+ <id>serials-test</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <forkCount>4</forkCount>
+ <reuseForks>true</reuseForks>
+ <groups>not-parallel</groups>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-protobuf/pom.xml b/components/camel-protobuf/pom.xml
index 781fa5dd05e..1f04cf19cc2 100644
--- a/components/camel-protobuf/pom.xml
+++ b/components/camel-protobuf/pom.xml
@@ -162,13 +162,6 @@
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${skipTests}</skipTests>
- </configuration>
- </plugin>
</plugins>
</build>
</project>
diff --git a/components/camel-pulsar/pom.xml b/components/camel-pulsar/pom.xml
index 49a3f8664cc..b1797a1f004 100644
--- a/components/camel-pulsar/pom.xml
+++ b/components/camel-pulsar/pom.xml
@@ -91,30 +91,39 @@
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <useFile>true</useFile>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- <systemProperties>
- <pulsar.container>apachepulsar/pulsar:${pulsar-version}</pulsar.container>
- </systemProperties>
- <argLine>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-exports=java.base/sun.net=ALL-UNNAMED</argLine>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <childDelegation>false</childDelegation>
+ <useFile>true</useFile>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ <systemProperties>
+ <pulsar.container>apachepulsar/pulsar:${pulsar-version}</pulsar.container>
+ </systemProperties>
+ <argLine>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-exports=java.base/sun.net=ALL-UNNAMED</argLine>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-robotframework/pom.xml b/components/camel-robotframework/pom.xml
index 168d8336f6b..f9d18243cf3 100644
--- a/components/camel-robotframework/pom.xml
+++ b/components/camel-robotframework/pom.xml
@@ -17,57 +17,61 @@
limitations under the License.
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>components</artifactId>
- <groupId>org.apache.camel</groupId>
- <version>4.0.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>camel-robotframework</artifactId>
- <packaging>jar</packaging>
- <name>Camel :: RobotFramework</name>
- <description>Camel RobotFramework Support</description>
+ <parent>
+ <artifactId>components</artifactId>
+ <groupId>org.apache.camel</groupId>
+ <version>4.0.0-SNAPSHOT</version>
+ </parent>
- <dependencies>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-support</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.robotframework</groupId>
- <artifactId>robotframework</artifactId>
- <version>${robotframework-version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.python</groupId>
- <artifactId>jython</artifactId>
- <version>${jython-version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.python</groupId>
- <artifactId>jython-standalone</artifactId>
- <version>${jython-standalone-version}</version>
- </dependency>
+ <artifactId>camel-robotframework</artifactId>
+ <packaging>jar</packaging>
+ <name>Camel :: RobotFramework</name>
+ <description>Camel RobotFramework Support</description>
- <!-- testing -->
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-test-junit5</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <profiles>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-support</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.robotframework</groupId>
+ <artifactId>robotframework</artifactId>
+ <version>${robotframework-version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.python</groupId>
+ <artifactId>jython</artifactId>
+ <version>${jython-version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.python</groupId>
+ <artifactId>jython-standalone</artifactId>
+ <version>${jython-standalone-version}</version>
+ </dependency>
+
+ <!-- testing -->
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-test-junit5</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <profiles>
<profile>
- <id>jdk17-build</id>
+ <id>full</id>
<activation>
- <jdk>[17,)</jdk>
+ <property>
+ <name>!quickly</name>
+ </property>
</activation>
<build>
<plugins>
diff --git a/components/camel-rocketmq/pom.xml b/components/camel-rocketmq/pom.xml
index ca1692a8229..23c76230808 100644
--- a/components/camel-rocketmq/pom.xml
+++ b/components/camel-rocketmq/pom.xml
@@ -7,9 +7,9 @@
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.
@@ -19,18 +19,18 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<parent>
<groupId>org.apache.camel</groupId>
<artifactId>components</artifactId>
<version>4.0.0-SNAPSHOT</version>
</parent>
-
+
<artifactId>camel-rocketmq</artifactId>
<packaging>jar</packaging>
<name>Camel :: RocketMQ</name>
<description>Camel RocketMQ Component</description>
-
+
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
@@ -46,7 +46,7 @@
<artifactId>rocketmq-acl</artifactId>
<version>${rocketmq-version}</version>
</dependency>
-
+
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-test-junit5</artifactId>
@@ -77,15 +77,25 @@
<scope>test</scope>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED</argLine>
- </configuration>
- </plugin>
- </plugins>
- </build>
+
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-rxjava/pom.xml b/components/camel-rxjava/pom.xml
index 51be1e921af..9dc0663b947 100644
--- a/components/camel-rxjava/pom.xml
+++ b/components/camel-rxjava/pom.xml
@@ -73,17 +73,26 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>-Xmx2G ${camel.surefire.fork.vmargs}
- </argLine>
- <forkedProcessTimeoutInSeconds>120</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>-Xmx2G ${camel.surefire.fork.vmargs}
+ </argLine>
+ <forkedProcessTimeoutInSeconds>120</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-salesforce/camel-salesforce-maven-plugin/pom.xml b/components/camel-salesforce/camel-salesforce-maven-plugin/pom.xml
index 60e1f57ff5a..595bc4c6046 100644
--- a/components/camel-salesforce/camel-salesforce-maven-plugin/pom.xml
+++ b/components/camel-salesforce/camel-salesforce-maven-plugin/pom.xml
@@ -253,7 +253,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>1.8</version>
<configuration>
<debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
diff --git a/components/camel-service/pom.xml b/components/camel-service/pom.xml
index 7cb8d399cca..cd80cbe492d 100644
--- a/components/camel-service/pom.xml
+++ b/components/camel-service/pom.xml
@@ -51,18 +51,28 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <childDelegation>false</childDelegation>
- <useFile>true</useFile>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <childDelegation>false</childDelegation>
+ <useFile>true</useFile>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-servicenow/camel-servicenow-maven-plugin/pom.xml b/components/camel-servicenow/camel-servicenow-maven-plugin/pom.xml
index 8081f9ab4bb..6cdea1e802c 100644
--- a/components/camel-servicenow/camel-servicenow-maven-plugin/pom.xml
+++ b/components/camel-servicenow/camel-servicenow-maven-plugin/pom.xml
@@ -229,6 +229,7 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>false</skipTests>
@@ -239,20 +240,9 @@
</systemPropertyVariables>
</configuration>
</plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>plugin-itest</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>1.8</version>
<configuration>
<debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
diff --git a/components/camel-sjms/pom.xml b/components/camel-sjms/pom.xml
index c4e57905c96..3dc9b15902e 100644
--- a/components/camel-sjms/pom.xml
+++ b/components/camel-sjms/pom.xml
@@ -78,12 +78,6 @@
<build>
<plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkedProcessTimeoutInSeconds>6000</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
@@ -98,4 +92,24 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkedProcessTimeoutInSeconds>6000</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-sjms2/pom.xml b/components/camel-sjms2/pom.xml
index 73f0d0ef893..27249c31836 100644
--- a/components/camel-sjms2/pom.xml
+++ b/components/camel-sjms2/pom.xml
@@ -82,12 +82,6 @@
<build>
<plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkedProcessTimeoutInSeconds>6000</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
@@ -102,4 +96,24 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkedProcessTimeoutInSeconds>6000</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-soap/pom.xml b/components/camel-soap/pom.xml
index b819b5fa6d4..5e944f4c845 100644
--- a/components/camel-soap/pom.xml
+++ b/components/camel-soap/pom.xml
@@ -257,9 +257,11 @@
<profiles>
<profile>
- <id>jdk17-build</id>
+ <id>full</id>
<activation>
- <jdk>[17,)</jdk>
+ <property>
+ <name>!quickly</name>
+ </property>
</activation>
<build>
<plugins>
diff --git a/components/camel-spring-xml/pom.xml b/components/camel-spring-xml/pom.xml
index 8b27adf5e79..6314994312b 100644
--- a/components/camel-spring-xml/pom.xml
+++ b/components/camel-spring-xml/pom.xml
@@ -286,44 +286,10 @@
</executions>
</plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>${platform.skip.tests}</exclude>
- <exclude>**/*IntegrationTest.java</exclude>
- </excludes>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <skipTests>${skipTests}</skipTests>
- <reuseForks>true</reuseForks>
- <systemPropertyVariables>
- <visibleassertions.silence>true</visibleassertions.silence>
- </systemPropertyVariables>
- <excludes>
- <exclude>${platform.skip.tests}</exclude>
- </excludes>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
<!-- unpack sources which are needed for the scheme generator -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
- <version>3.1.2</version>
<executions>
<execution>
<id>process-sources</id>
@@ -556,7 +522,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
@@ -681,5 +646,49 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>${platform.skip.tests}</exclude>
+ <exclude>**/*IntegrationTest.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <skipTests>${skipTests}</skipTests>
+ <reuseForks>true</reuseForks>
+ <systemPropertyVariables>
+ <visibleassertions.silence>true</visibleassertions.silence>
+ </systemPropertyVariables>
+ <excludes>
+ <exclude>${platform.skip.tests}</exclude>
+ </excludes>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/components/camel-undertow/pom.xml b/components/camel-undertow/pom.xml
index ec5b20770c9..41a1706021b 100644
--- a/components/camel-undertow/pom.xml
+++ b/components/camel-undertow/pom.xml
@@ -158,16 +158,25 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>${camel.surefire.fork.vmargs} -Dio.undertow.client.https.disableEndpointIdentification=true</argLine>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>${camel.surefire.fork.vmargs} -Dio.undertow.client.https.disableEndpointIdentification=true</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-xmpp/pom.xml b/components/camel-xmpp/pom.xml
index e5b43ebdaf7..3e7c04b6ff6 100644
--- a/components/camel-xmpp/pom.xml
+++ b/components/camel-xmpp/pom.xml
@@ -92,20 +92,30 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkCount>1</forkCount>
- <!-- Something on the tests generate a lot of bogus output-->
- <redirectTestOutputToFile>true</redirectTestOutputToFile>
- <systemPropertyVariables>
- <visibleassertions.silence>true</visibleassertions.silence>
- </systemPropertyVariables>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkCount>1</forkCount>
+ <!-- Something on the tests generate a lot of bogus output-->
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <systemPropertyVariables>
+ <visibleassertions.silence>true</visibleassertions.silence>
+ </systemPropertyVariables>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-zendesk/pom.xml b/components/camel-zendesk/pom.xml
index 58752f5c6e3..e93c60d0c30 100644
--- a/components/camel-zendesk/pom.xml
+++ b/components/camel-zendesk/pom.xml
@@ -61,7 +61,6 @@
</dependencies>
<build>
- <defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.camel</groupId>
diff --git a/components/camel-zookeeper-master/pom.xml b/components/camel-zookeeper-master/pom.xml
index e3e21fa3d31..abaa1629dd9 100644
--- a/components/camel-zookeeper-master/pom.xml
+++ b/components/camel-zookeeper-master/pom.xml
@@ -131,22 +131,32 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${skipTests}</skipTests>
- <systemPropertyVariables>
- <visibleassertions.silence>true</visibleassertions.silence>
- </systemPropertyVariables>
- <childDelegation>false</childDelegation>
- <useFile>true</useFile>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>${skipTests}</skipTests>
+ <systemPropertyVariables>
+ <visibleassertions.silence>true</visibleassertions.silence>
+ </systemPropertyVariables>
+ <childDelegation>false</childDelegation>
+ <useFile>true</useFile>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/camel-zookeeper/pom.xml b/components/camel-zookeeper/pom.xml
index d39afd13029..35adf3759f7 100644
--- a/components/camel-zookeeper/pom.xml
+++ b/components/camel-zookeeper/pom.xml
@@ -194,23 +194,32 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>${skipTests}</skipTests>
- <systemPropertyVariables>
- <visibleassertions.silence>true</visibleassertions.silence>
- </systemPropertyVariables>
- <childDelegation>false</childDelegation>
- <useFile>true</useFile>
- <forkCount>1</forkCount>
- <reuseForks>true</reuseForks>
- <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>${skipTests}</skipTests>
+ <systemPropertyVariables>
+ <visibleassertions.silence>true</visibleassertions.silence>
+ </systemPropertyVariables>
+ <childDelegation>false</childDelegation>
+ <useFile>true</useFile>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/components/pom.xml b/components/pom.xml
index 56b8b7b701a..77da6aea578 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -336,8 +336,8 @@
<skipTests.s390x />
<skipITs.s390x />
</properties>
-
- <dependencies>
+
+ <dependencies>
<!-- logging for testing -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
@@ -352,33 +352,6 @@
</dependencies>
<build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>${maven-failsafe-plugin-version}</version>
- <executions>
- <execution>
- <id>integration-test</id>
- <phase>verify</phase>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <reuseForks>true</reuseForks>
- <forkedProcessTimeoutInSeconds>${camel.failsafe.forkTimeout}</forkedProcessTimeoutInSeconds>
- <redirectTestOutputToFile>false</redirectTestOutputToFile>
- <systemPropertyVariables>
- <visibleassertions.silence>true</visibleassertions.silence>
- </systemPropertyVariables>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.camel</groupId>
@@ -447,10 +420,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- </plugin>
</plugins>
</build>
@@ -472,7 +441,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>${maven-surefire-plugin-version}</version>
<configuration>
<skipTests>${skipTests.aarch64}</skipTests>
</configuration>
@@ -480,7 +448,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
- <version>${maven-failsafe-plugin-version}</version>
<configuration>
<skipITs>${skipITs.aarch64}</skipITs>
</configuration>
@@ -544,6 +511,40 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <reuseForks>true</reuseForks>
+ <forkedProcessTimeoutInSeconds>${camel.failsafe.forkTimeout}</forkedProcessTimeoutInSeconds>
+ <redirectTestOutputToFile>false</redirectTestOutputToFile>
+ <systemPropertyVariables>
+ <visibleassertions.silence>true</visibleassertions.silence>
+ </systemPropertyVariables>
+ </configuration>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/core/camel-core/pom.xml b/core/camel-core/pom.xml
index 63bffdf8725..0c372afaea3 100644
--- a/core/camel-core/pom.xml
+++ b/core/camel-core/pom.xml
@@ -289,26 +289,39 @@
</excludes>
</configuration>
</plugin>
-
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <!-- skip file stress tests as they are intended to run manually -->
- <argLine>${camel.surefire.fork.vmargs} -Xmx2G</argLine>
- <excludes>
- <exclude>org/apache/camel/component/file/stress/**.java</exclude>
- <exclude>**/DistributedCompletionIntervalTest.java</exclude>
- <exclude>**/DistributedConcurrentPerCorrelationKeyTest.java</exclude>
- <exclude>${platform.skip.tests}</exclude>
- </excludes>
- <!-- needed for testing the properties component -->
- <environmentVariables>
- <FOO_SERVICE_HOST>myserver</FOO_SERVICE_HOST>
- <FOO_SERVICE_PORT>8081</FOO_SERVICE_PORT>
- </environmentVariables>
- </configuration>
- </plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- skip file stress tests as they are intended to run manually -->
+ <argLine>${camel.surefire.fork.vmargs} -Xmx2G</argLine>
+ <excludes>
+ <exclude>org/apache/camel/component/file/stress/**.java</exclude>
+ <exclude>**/DistributedCompletionIntervalTest.java</exclude>
+ <exclude>**/DistributedConcurrentPerCorrelationKeyTest.java</exclude>
+ <exclude>${platform.skip.tests}</exclude>
+ </excludes>
+ <!-- needed for testing the properties component -->
+ <environmentVariables>
+ <FOO_SERVICE_HOST>myserver</FOO_SERVICE_HOST>
+ <FOO_SERVICE_PORT>8081</FOO_SERVICE_PORT>
+ </environmentVariables>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/core/camel-util/pom.xml b/core/camel-util/pom.xml
index 78cc7b5909f..027cd06f6a1 100644
--- a/core/camel-util/pom.xml
+++ b/core/camel-util/pom.xml
@@ -146,21 +146,6 @@
</plugins>
</reporting>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <!-- needed for testing the properties component -->
- <environmentVariables>
- <FOO_SERVICE_HOST>myserver</FOO_SERVICE_HOST>
- <FOO_SERVICE_PORT>8081</FOO_SERVICE_PORT>
- </environmentVariables>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
<profiles>
<profile>
<id>release</id>
@@ -247,5 +232,27 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- needed for testing the properties component -->
+ <environmentVariables>
+ <FOO_SERVICE_HOST>myserver</FOO_SERVICE_HOST>
+ <FOO_SERVICE_PORT>8081</FOO_SERVICE_PORT>
+ </environmentVariables>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java b/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
index 265ffb1fc92..dbf6f20183a 100644
--- a/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
+++ b/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
@@ -178,7 +178,7 @@ public final class SensitiveUtils {
+ "|\\Qverificationcode\\E"
+ "|\\Qwebhookverifytoken\\E"
+ "|\\Qzookeeperpassword\\E"
- // SENSITIVE-PATTERN: END
+ // SENSITIVE-PATTERN: END
;
private SensitiveUtils() {
diff --git a/core/pom.xml b/core/pom.xml
index 8b5ab07ec5f..61051e773d5 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -106,7 +106,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
diff --git a/docs/pom.xml b/docs/pom.xml
index ef9185c72c5..ac81ec4f60c 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -44,77 +44,6 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <!-- we want to copy some adoc files from tooling -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-maven-plugin-doc</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/user-manual/modules/ROOT/pages</outputDirectory>
- <resources>
- <resource>
- <directory>../tooling/maven/camel-maven-plugin/src/main/docs</directory>
- </resource>
- <resource>
- <directory>../catalog/camel-report-maven-plugin/src/main/docs</directory>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.github.eirslett</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.12.1</version>
- <executions>
- <execution>
- <id>install node and yarn</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <configuration>
- <nodeVersion>v16.17.1</nodeVersion>
- <yarnVersion>v1.22.19</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn-gulp</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <phase>generate-resources</phase>
- <configuration>
- <arguments>gulp</arguments>
- <skip>${skipOnUnsupported}</skip>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-package-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>xref-check</id>
- <goals>
- <goal>xref-check</goal>
- </goals>
- <phase>generate-resources</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
<profiles>
<profile>
<id>x86</id>
@@ -149,6 +78,84 @@
<skipOnUnsupported>false</skipOnUnsupported>
</properties>
</profile>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <!-- we want to copy some adoc files from tooling -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-maven-plugin-doc</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/user-manual/modules/ROOT/pages</outputDirectory>
+ <resources>
+ <resource>
+ <directory>../tooling/maven/camel-maven-plugin/src/main/docs</directory>
+ </resource>
+ <resource>
+ <directory>../catalog/camel-report-maven-plugin/src/main/docs</directory>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>com.github.eirslett</groupId>
+ <artifactId>frontend-maven-plugin</artifactId>
+ <version>1.12.1</version>
+ <executions>
+ <execution>
+ <id>install node and yarn</id>
+ <goals>
+ <goal>install-node-and-yarn</goal>
+ </goals>
+ <configuration>
+ <nodeVersion>v16.17.1</nodeVersion>
+ <yarnVersion>v1.22.19</yarnVersion>
+ </configuration>
+ </execution>
+ <execution>
+ <id>yarn-gulp</id>
+ <goals>
+ <goal>yarn</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ <configuration>
+ <arguments>gulp</arguments>
+ <skip>${skipOnUnsupported}</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-package-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>xref-check</id>
+ <goals>
+ <goal>xref-check</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/dsl/camel-componentdsl/pom.xml b/dsl/camel-componentdsl/pom.xml
index ccd0cfba20b..70c667f56d1 100644
--- a/dsl/camel-componentdsl/pom.xml
+++ b/dsl/camel-componentdsl/pom.xml
@@ -116,20 +116,6 @@
<build>
<plugins>
- <plugin>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-package-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-component-dsl</id>
- <goals>
- <goal>generate-component-dsl</goal>
- <goal>generate-others-list</goal>
- </goals>
- <phase>generate-sources</phase>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
@@ -164,11 +150,40 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>net.revelc.code.formatter</groupId>
- <artifactId>formatter-maven-plugin</artifactId>
- </plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-package-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>generate-component-dsl</id>
+ <goals>
+ <goal>generate-component-dsl</goal>
+ <goal>generate-others-list</goal>
+ </goals>
+ <phase>generate-sources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>net.revelc.code.formatter</groupId>
+ <artifactId>formatter-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
diff --git a/dsl/camel-endpointdsl/pom.xml b/dsl/camel-endpointdsl/pom.xml
index 0bee47d8ee3..272da97074f 100644
--- a/dsl/camel-endpointdsl/pom.xml
+++ b/dsl/camel-endpointdsl/pom.xml
@@ -130,20 +130,6 @@
<build>
<plugins>
- <plugin>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-package-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-endpoint-dsl</id>
- <goals>
- <goal>generate-endpoint-dsl</goal>
- <goal>generate-others-list</goal>
- </goals>
- <phase>generate-sources</phase>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
@@ -181,11 +167,39 @@
<maxmem>1024M</maxmem>
</configuration>
</plugin>
- <plugin>
- <groupId>net.revelc.code.formatter</groupId>
- <artifactId>formatter-maven-plugin</artifactId>
- </plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-package-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>generate-endpoint-dsl</id>
+ <goals>
+ <goal>generate-endpoint-dsl</goal>
+ <goal>generate-others-list</goal>
+ </goals>
+ <phase>generate-sources</phase>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>net.revelc.code.formatter</groupId>
+ <artifactId>formatter-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/dsl/camel-kotlin-dsl/pom.xml b/dsl/camel-kotlin-dsl/pom.xml
index a46b4019184..04ce959ab89 100644
--- a/dsl/camel-kotlin-dsl/pom.xml
+++ b/dsl/camel-kotlin-dsl/pom.xml
@@ -214,15 +214,29 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkCount>1</forkCount>
- <reuseForks>false</reuseForks>
- </configuration>
- </plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>false</reuseForks>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/pom.xml b/dsl/camel-yaml-dsl/camel-yaml-dsl/pom.xml
index d722e300a20..11080c2083c 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl/pom.xml
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/pom.xml
@@ -258,7 +258,6 @@
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl-maven-plugin</artifactId>
- <version>${project.version}</version>
<executions>
<!-- camelCase -->
<execution>
diff --git a/dsl/pom.xml b/dsl/pom.xml
index 5a0bc2153b7..858dac81e23 100644
--- a/dsl/pom.xml
+++ b/dsl/pom.xml
@@ -99,7 +99,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
diff --git a/parent/pom.xml b/parent/pom.xml
index 76a121bf7e2..3a652c86eb9 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -340,7 +340,6 @@
<maven-plugin-plugin-version>3.9.0</maven-plugin-plugin-version>
<maven-plugin-annotations-version>3.9.0</maven-plugin-annotations-version>
<maven-plugin-testing-harness-version>3.3.0</maven-plugin-testing-harness-version>
- <maven-remote-resources-plugin-version>3.1.0</maven-remote-resources-plugin-version>
<!-- resources plugin needed by Camel maven archetypes -->
<maven-resources-plugin-version>3.3.1</maven-resources-plugin-version>
<maven-reporting-api-version>2.2.1</maven-reporting-api-version>
@@ -3175,107 +3174,8 @@
</execution>
</executions>
</plugin>
- <!-- Eclipse m2e Lifecycle Management -->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>${lifecycle-mapping-version}</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <versionRange>${maven-remote-resources-plugin-version}</versionRange>
- <goals>
- <goal>process</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${maven-surefire-plugin-version}</version>
- </plugin>
</plugins>
</pluginManagement>
- <plugins>
- <!-- skip site-plugin as we dont use Maven site (inherited from Apache BOM) -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-descriptor</id>
- <phase />
- </execution>
- </executions>
- </plugin>
- <!-- skip enforcer-plugin to speedup building (inherited from Apache BOM) -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-maven-version</id>
- <phase />
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${maven-surefire-plugin-version}</version>
- <configuration>
- <argLine>${camel.surefire.fork.vmargs}</argLine>
- <childDelegation>false</childDelegation>
- <useFile>true</useFile>
- <failIfNoTests>false</failIfNoTests>
- <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
- <runOrder>alphabetical</runOrder>
- <!-- lets re-run the failed test one more time, just to be sure -->
- <rerunFailingTestsCount>0</rerunFailingTestsCount>
- <systemPropertyVariables>
- <javax.xml.accessExternalSchema>file,http,https</javax.xml.accessExternalSchema>
- <javax.xml.accessExternalDTD>file,http</javax.xml.accessExternalDTD>
- <derby.stream.error.file>target/derby.log</derby.stream.error.file>
- <java.awt.headless>${java.awt.headless}</java.awt.headless>
- <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties
- </java.util.logging.config.file>
- <org.apache.activemq.default.directory.prefix>target/
- </org.apache.activemq.default.directory.prefix>
- </systemPropertyVariables>
- <includes>
- <include>**/*Test.java</include>
- </includes>
- <excludes>
- <exclude>**/*IntegrationTest.java</exclude>
- <exclude>**/*XXXTest.*</exclude>
- </excludes>
- <forkCount>${camel.surefire.forkCount}</forkCount>
- <reuseForks>${camel.surefire.reuseForks}</reuseForks>
- <forkedProcessTimeoutInSeconds>${camel.surefire.forkTimeout}</forkedProcessTimeoutInSeconds>
- <properties>
- <configurationParameters>
- junit.jupiter.execution.parallel.enabled = ${camel.surefire.parallel}
- junit.jupiter.execution.parallel.mode.default = same_thread
- junit.jupiter.execution.parallel.mode.classes.default = concurrent
- junit.jupiter.execution.parallel.config.strategy = ${camel.surefire.parallel.strategy}
- junit.jupiter.execution.parallel.config.dynamic.factor = ${camel.surefire.parallel.factor}
- </configurationParameters>
- </properties>
- </configuration>
- </plugin>
- </plugins>
</build>
<reporting>
@@ -3341,11 +3241,7 @@
</property>
</activation>
<properties>
- <skipTests>true</skipTests>
<archetype.test.skip>true</archetype.test.skip>
- <assembly.skipAssembly>true</assembly.skipAssembly>
- <fastinstall>true</fastinstall>
- <noassembly>true</noassembly>
</properties>
</profile>
@@ -3378,7 +3274,7 @@
<executions>
<execution>
<id>format</id>
- <phase />
+ <phase>none</phase>
</execution>
<execution>
<id>validate</id>
@@ -3395,7 +3291,7 @@
<executions>
<execution>
<id>sort-imports</id>
- <phase />
+ <phase>none</phase>
</execution>
<execution>
<id>check</id>
@@ -3503,5 +3399,60 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>${camel.surefire.fork.vmargs}</argLine>
+ <childDelegation>false</childDelegation>
+ <useFile>true</useFile>
+ <failIfNoTests>false</failIfNoTests>
+ <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
+ <runOrder>alphabetical</runOrder>
+ <!-- lets re-run the failed test one more time, just to be sure -->
+ <rerunFailingTestsCount>0</rerunFailingTestsCount>
+ <systemPropertyVariables>
+ <javax.xml.accessExternalSchema>file,http,https</javax.xml.accessExternalSchema>
+ <javax.xml.accessExternalDTD>file,http</javax.xml.accessExternalDTD>
+ <derby.stream.error.file>target/derby.log</derby.stream.error.file>
+ <java.awt.headless>${java.awt.headless}</java.awt.headless>
+ <java.util.logging.config.file>${basedir}/target/test-classes/logging.properties
+ </java.util.logging.config.file>
+ <org.apache.activemq.default.directory.prefix>target/
+ </org.apache.activemq.default.directory.prefix>
+ </systemPropertyVariables>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/*IntegrationTest.java</exclude>
+ <exclude>**/*XXXTest.*</exclude>
+ </excludes>
+ <forkCount>${camel.surefire.forkCount}</forkCount>
+ <reuseForks>${camel.surefire.reuseForks}</reuseForks>
+ <forkedProcessTimeoutInSeconds>${camel.surefire.forkTimeout}</forkedProcessTimeoutInSeconds>
+ <properties>
+ <configurationParameters>
+ junit.jupiter.execution.parallel.enabled = ${camel.surefire.parallel}
+ junit.jupiter.execution.parallel.mode.default = same_thread
+ junit.jupiter.execution.parallel.mode.classes.default = concurrent
+ junit.jupiter.execution.parallel.config.strategy = ${camel.surefire.parallel.strategy}
+ junit.jupiter.execution.parallel.config.dynamic.factor = ${camel.surefire.parallel.factor}
+ </configurationParameters>
+ </properties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/pom.xml b/pom.xml
index d7931e632ca..b2d6b9eba61 100644
--- a/pom.xml
+++ b/pom.xml
@@ -116,7 +116,7 @@
<minimalJavaBuildVersion>${jdk.version}</minimalJavaBuildVersion>
<!-- reproduceable builds: https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
- <project.build.outputTimestamp>1</project.build.outputTimestamp>
+ <project.build.outputTimestamp>1980-01-01T00:00:02Z</project.build.outputTimestamp>
<maven-compiler-plugin-version>3.11.0</maven-compiler-plugin-version>
<maven-javadoc-plugin-version>3.5.0</maven-javadoc-plugin-version>
@@ -126,7 +126,8 @@
<surefire.version>${maven-surefire-plugin-version}</surefire.version>
<java-diff-utils-version>4.7</java-diff-utils-version>
<maven-enforcer-plugin-version>3.3.0</maven-enforcer-plugin-version>
- <maven-dependency-plugin-version>3.5.0</maven-dependency-plugin-version>
+ <maven-dependency-plugin-version>3.6.0</maven-dependency-plugin-version>
+ <maven-remote-resources-plugin-version>3.1.0</maven-remote-resources-plugin-version>
<!-- eclipse plugin need the jaxb in this pom.xml file -->
<!-- Make sure to keep JAXB version up to date in parent/pom.xml in the bottom of the file -->
@@ -200,24 +201,48 @@
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>${maven-enforcer-plugin-version}</version>
- <executions>
- <execution>
- <id>enforce-maven</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireMavenVersion>
- <version>3.5.0</version>
- </requireMavenVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-maven-version</id>
+ <phase>none</phase><!-- unbound here to speedup -Dquickly build; bound to a phase in the full profile -->
+ </execution>
+ <execution>
+ <id>enforce-java-version</id>
+ <phase>none</phase><!-- unbound here to speedup -Dquickly build; bound to a phase in the full profile -->
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>process-resource-bundles</id>
+ <phase>none</phase><!-- unbound here to speedup -Dquickly build; bound to a phase in the full profile -->
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-test</id>
+ <phase>none</phase><!-- unbound here to speedup -Dquickly build; bound to a phase in the full profile -->
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-descriptor</id>
+ <phase>none</phase><!-- skip to save time -->
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -232,8 +257,13 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>${maven-javadoc-plugin-version}</version>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>${maven-assembly-plugin-version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>${maven-dependency-plugin-version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -251,6 +281,31 @@
<downloadJavadocs>false</downloadJavadocs>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>${maven-enforcer-plugin-version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>${maven-surefire-plugin-version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>${maven-failsafe-plugin-version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>${maven-javadoc-plugin-version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>${maven-remote-resources-plugin-version}</version>
+ </plugin>
<plugin>
<groupId>org.apache.rat</groupId>
@@ -378,17 +433,6 @@
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>process-resource-bundles</id>
- <phase>disabled</phase>
- </execution>
- </executions>
- </plugin>
-
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
@@ -426,7 +470,9 @@
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
+ <version>1.8</version>
<configuration>
<skipInstallation>${invoker.skip}</skipInstallation>
<skipInvocation>${invoker.skip}</skipInvocation>
@@ -440,18 +486,6 @@
</build>
<profiles>
- <profile>
- <id>assembly</id>
- <activation>
- <property>
- <name>!noassembly</name>
- </property>
- </activation>
- <modules>
- <module>apache-camel</module>
- </modules>
- </profile>
-
<profile>
<!-- When not on the Mac, we need to add tools.jar to the antrun plugin
for schemagen to work -->
@@ -761,5 +795,50 @@
</repository>
</repositories>
</profile>
+ <profile>
+ <!-- The full profile contains mojos *not* essential for the quick build. -->
+ <!-- These are typically various source checks and code generations whose result is stored in git anyway. -->
+ <!-- Pass -Dquickly to skip these non-essential plugin executions. -->
+ <!-- -Dquickly suits primarily the situation when building from a state that passed all checks on the CI. -->
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-maven-version</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>3.5.0</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-test</id>
+ <phase>test</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/test-infra/camel-test-infra-arangodb/pom.xml b/test-infra/camel-test-infra-arangodb/pom.xml
index bf03ff9fb79..bc762e10c71 100644
--- a/test-infra/camel-test-infra-arangodb/pom.xml
+++ b/test-infra/camel-test-infra-arangodb/pom.xml
@@ -45,14 +45,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
-
</project>
diff --git a/test-infra/camel-test-infra-artemis/pom.xml b/test-infra/camel-test-infra-artemis/pom.xml
index 2f150956689..673ef99c8e2 100644
--- a/test-infra/camel-test-infra-artemis/pom.xml
+++ b/test-infra/camel-test-infra-artemis/pom.xml
@@ -75,13 +75,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-aws-common/pom.xml b/test-infra/camel-test-infra-aws-common/pom.xml
index 25da9a7a179..b9f95044616 100644
--- a/test-infra/camel-test-infra-aws-common/pom.xml
+++ b/test-infra/camel-test-infra-aws-common/pom.xml
@@ -39,13 +39,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-aws-v2/pom.xml b/test-infra/camel-test-infra-aws-v2/pom.xml
index 372569571f3..9fa1f26385f 100644
--- a/test-infra/camel-test-infra-aws-v2/pom.xml
+++ b/test-infra/camel-test-infra-aws-v2/pom.xml
@@ -136,14 +136,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
-
</project>
diff --git a/test-infra/camel-test-infra-azure-common/pom.xml b/test-infra/camel-test-infra-azure-common/pom.xml
index 0d43d2631de..de5f8abfdad 100644
--- a/test-infra/camel-test-infra-azure-common/pom.xml
+++ b/test-infra/camel-test-infra-azure-common/pom.xml
@@ -38,14 +38,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
-
</project>
\ No newline at end of file
diff --git a/test-infra/camel-test-infra-azure-storage-blob/pom.xml b/test-infra/camel-test-infra-azure-storage-blob/pom.xml
index 3543639d4f7..545c9f8394b 100644
--- a/test-infra/camel-test-infra-azure-storage-blob/pom.xml
+++ b/test-infra/camel-test-infra-azure-storage-blob/pom.xml
@@ -69,13 +69,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-azure-storage-datalake/pom.xml b/test-infra/camel-test-infra-azure-storage-datalake/pom.xml
index fb1d2aff674..dc23344caba 100644
--- a/test-infra/camel-test-infra-azure-storage-datalake/pom.xml
+++ b/test-infra/camel-test-infra-azure-storage-datalake/pom.xml
@@ -63,13 +63,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-azure-storage-queue/pom.xml b/test-infra/camel-test-infra-azure-storage-queue/pom.xml
index 7fdff93d624..578c3d0c347 100644
--- a/test-infra/camel-test-infra-azure-storage-queue/pom.xml
+++ b/test-infra/camel-test-infra-azure-storage-queue/pom.xml
@@ -69,13 +69,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-cassandra/pom.xml b/test-infra/camel-test-infra-cassandra/pom.xml
index 36231ea85f2..56854e05ff0 100644
--- a/test-infra/camel-test-infra-cassandra/pom.xml
+++ b/test-infra/camel-test-infra-cassandra/pom.xml
@@ -50,12 +50,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/test-infra/camel-test-infra-chatscript/pom.xml b/test-infra/camel-test-infra-chatscript/pom.xml
index cac38abefd9..f576001df87 100644
--- a/test-infra/camel-test-infra-chatscript/pom.xml
+++ b/test-infra/camel-test-infra-chatscript/pom.xml
@@ -45,14 +45,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
-
</project>
diff --git a/test-infra/camel-test-infra-common/pom.xml b/test-infra/camel-test-infra-common/pom.xml
index bf13bdd994b..1bed1f290e9 100644
--- a/test-infra/camel-test-infra-common/pom.xml
+++ b/test-infra/camel-test-infra-common/pom.xml
@@ -31,15 +31,6 @@
<name>Camel :: Test Infra :: Common</name>
<description>Common test infrastructure code for Camel</description>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
<dependencies>
<dependency>
<groupId>org.testcontainers</groupId>
diff --git a/test-infra/camel-test-infra-consul/pom.xml b/test-infra/camel-test-infra-consul/pom.xml
index 19f8416415d..af843b64155 100644
--- a/test-infra/camel-test-infra-consul/pom.xml
+++ b/test-infra/camel-test-infra-consul/pom.xml
@@ -51,14 +51,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-couchbase/pom.xml b/test-infra/camel-test-infra-couchbase/pom.xml
index ac1034b25f5..92f0fcedc90 100644
--- a/test-infra/camel-test-infra-couchbase/pom.xml
+++ b/test-infra/camel-test-infra-couchbase/pom.xml
@@ -50,14 +50,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-couchdb/pom.xml b/test-infra/camel-test-infra-couchdb/pom.xml
index a427b3b8149..672dac7798a 100644
--- a/test-infra/camel-test-infra-couchdb/pom.xml
+++ b/test-infra/camel-test-infra-couchdb/pom.xml
@@ -45,14 +45,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-dispatch-router/pom.xml b/test-infra/camel-test-infra-dispatch-router/pom.xml
index ec5bf9d649b..7f525a68d97 100644
--- a/test-infra/camel-test-infra-dispatch-router/pom.xml
+++ b/test-infra/camel-test-infra-dispatch-router/pom.xml
@@ -52,13 +52,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-elasticsearch/pom.xml b/test-infra/camel-test-infra-elasticsearch/pom.xml
index a6a32dca4b5..69581606dc2 100644
--- a/test-infra/camel-test-infra-elasticsearch/pom.xml
+++ b/test-infra/camel-test-infra-elasticsearch/pom.xml
@@ -50,14 +50,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-etcd3/pom.xml b/test-infra/camel-test-infra-etcd3/pom.xml
index 7b662a81031..a242205d302 100644
--- a/test-infra/camel-test-infra-etcd3/pom.xml
+++ b/test-infra/camel-test-infra-etcd3/pom.xml
@@ -50,14 +50,5 @@
<version>${jetcd-version}</version>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/test-infra/camel-test-infra-fhir/pom.xml b/test-infra/camel-test-infra-fhir/pom.xml
index 199500db7e4..065d6591a66 100644
--- a/test-infra/camel-test-infra-fhir/pom.xml
+++ b/test-infra/camel-test-infra-fhir/pom.xml
@@ -46,13 +46,4 @@
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/test-infra/camel-test-infra-ftp/pom.xml b/test-infra/camel-test-infra-ftp/pom.xml
index d458c94eea5..e90310e7879 100644
--- a/test-infra/camel-test-infra-ftp/pom.xml
+++ b/test-infra/camel-test-infra-ftp/pom.xml
@@ -64,14 +64,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-google-pubsub/pom.xml b/test-infra/camel-test-infra-google-pubsub/pom.xml
index 52ba6b85037..fc932701d33 100644
--- a/test-infra/camel-test-infra-google-pubsub/pom.xml
+++ b/test-infra/camel-test-infra-google-pubsub/pom.xml
@@ -51,13 +51,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-hashicorp-vault/pom.xml b/test-infra/camel-test-infra-hashicorp-vault/pom.xml
index d526d152fbf..67b1e738f49 100644
--- a/test-infra/camel-test-infra-hashicorp-vault/pom.xml
+++ b/test-infra/camel-test-infra-hashicorp-vault/pom.xml
@@ -45,14 +45,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-hdfs/pom.xml b/test-infra/camel-test-infra-hdfs/pom.xml
index 816d91be0a8..6cb33deabf0 100644
--- a/test-infra/camel-test-infra-hdfs/pom.xml
+++ b/test-infra/camel-test-infra-hdfs/pom.xml
@@ -74,13 +74,4 @@
</exclusions>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/test-infra/camel-test-infra-ignite/pom.xml b/test-infra/camel-test-infra-ignite/pom.xml
index f4d38bd8ac7..f6b40db7ef0 100644
--- a/test-infra/camel-test-infra-ignite/pom.xml
+++ b/test-infra/camel-test-infra-ignite/pom.xml
@@ -50,13 +50,4 @@
<version>${ignite-version}</version>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/test-infra/camel-test-infra-infinispan/pom.xml b/test-infra/camel-test-infra-infinispan/pom.xml
index b5f4b2f3524..d4552f2f7e5 100644
--- a/test-infra/camel-test-infra-infinispan/pom.xml
+++ b/test-infra/camel-test-infra-infinispan/pom.xml
@@ -45,14 +45,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-jdbc/pom.xml b/test-infra/camel-test-infra-jdbc/pom.xml
index c9bc116cfab..57d0ad5c7e6 100644
--- a/test-infra/camel-test-infra-jdbc/pom.xml
+++ b/test-infra/camel-test-infra-jdbc/pom.xml
@@ -50,13 +50,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-jetty/pom.xml b/test-infra/camel-test-infra-jetty/pom.xml
index 3eaee2c7cc2..a72eb830983 100644
--- a/test-infra/camel-test-infra-jetty/pom.xml
+++ b/test-infra/camel-test-infra-jetty/pom.xml
@@ -79,14 +79,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-kafka/pom.xml b/test-infra/camel-test-infra-kafka/pom.xml
index 02b2812bc19..1fc4f4f0ecc 100644
--- a/test-infra/camel-test-infra-kafka/pom.xml
+++ b/test-infra/camel-test-infra-kafka/pom.xml
@@ -56,13 +56,4 @@
<version>${testcontainers-version}</version>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/test-infra/camel-test-infra-messaging-common/pom.xml b/test-infra/camel-test-infra-messaging-common/pom.xml
index 73c1ab293aa..6e69102a9b5 100644
--- a/test-infra/camel-test-infra-messaging-common/pom.xml
+++ b/test-infra/camel-test-infra-messaging-common/pom.xml
@@ -51,13 +51,4 @@
<scope>provided</scope>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/test-infra/camel-test-infra-microprofile-lra/pom.xml b/test-infra/camel-test-infra-microprofile-lra/pom.xml
index 81db28ab2d5..f13b21dccce 100644
--- a/test-infra/camel-test-infra-microprofile-lra/pom.xml
+++ b/test-infra/camel-test-infra-microprofile-lra/pom.xml
@@ -45,14 +45,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-minio/pom.xml b/test-infra/camel-test-infra-minio/pom.xml
index 39bc6b243f6..4cd96d48cec 100644
--- a/test-infra/camel-test-infra-minio/pom.xml
+++ b/test-infra/camel-test-infra-minio/pom.xml
@@ -45,14 +45,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-mongodb/pom.xml b/test-infra/camel-test-infra-mongodb/pom.xml
index a92b2bc4264..5e6045b7f42 100644
--- a/test-infra/camel-test-infra-mongodb/pom.xml
+++ b/test-infra/camel-test-infra-mongodb/pom.xml
@@ -51,14 +51,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-mosquitto/pom.xml b/test-infra/camel-test-infra-mosquitto/pom.xml
index 37b71d2bbd6..8583931004a 100644
--- a/test-infra/camel-test-infra-mosquitto/pom.xml
+++ b/test-infra/camel-test-infra-mosquitto/pom.xml
@@ -45,14 +45,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-nats/pom.xml b/test-infra/camel-test-infra-nats/pom.xml
index 7cc1cf7e534..8a645dea7c9 100644
--- a/test-infra/camel-test-infra-nats/pom.xml
+++ b/test-infra/camel-test-infra-nats/pom.xml
@@ -45,14 +45,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-openldap/pom.xml b/test-infra/camel-test-infra-openldap/pom.xml
index 02c0aaaa528..f483d092832 100644
--- a/test-infra/camel-test-infra-openldap/pom.xml
+++ b/test-infra/camel-test-infra-openldap/pom.xml
@@ -18,39 +18,30 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>camel-test-infra-parent</artifactId>
- <groupId>org.apache.camel</groupId>
- <relativePath>../camel-test-infra-parent/pom.xml</relativePath>
- <version>4.0.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>camel-test-infra-openldap</artifactId>
- <name>Camel :: Test Infra :: Openladp</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-test-infra-common</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- </dependency>
-
- <dependency>
- <groupId>org.testcontainers</groupId>
- <artifactId>testcontainers</artifactId>
- <version>${testcontainers-version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
+ <parent>
+ <artifactId>camel-test-infra-parent</artifactId>
+ <groupId>org.apache.camel</groupId>
+ <relativePath>../camel-test-infra-parent/pom.xml</relativePath>
+ <version>4.0.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>camel-test-infra-openldap</artifactId>
+ <name>Camel :: Test Infra :: Openladp</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-test-infra-common</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>testcontainers</artifactId>
+ <version>${testcontainers-version}</version>
+ </dependency>
+ </dependencies>
</project>
diff --git a/test-infra/camel-test-infra-postgres/pom.xml b/test-infra/camel-test-infra-postgres/pom.xml
index 2f440eef3bd..e39450f092a 100644
--- a/test-infra/camel-test-infra-postgres/pom.xml
+++ b/test-infra/camel-test-infra-postgres/pom.xml
@@ -51,14 +51,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-pulsar/pom.xml b/test-infra/camel-test-infra-pulsar/pom.xml
index 6f18151158c..1aa3121aa46 100644
--- a/test-infra/camel-test-infra-pulsar/pom.xml
+++ b/test-infra/camel-test-infra-pulsar/pom.xml
@@ -51,14 +51,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-rabbitmq/pom.xml b/test-infra/camel-test-infra-rabbitmq/pom.xml
index 88fdfe13406..84bfc934184 100644
--- a/test-infra/camel-test-infra-rabbitmq/pom.xml
+++ b/test-infra/camel-test-infra-rabbitmq/pom.xml
@@ -50,13 +50,4 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-redis/pom.xml b/test-infra/camel-test-infra-redis/pom.xml
index 5d8dcebf608..3bd1dc748a5 100644
--- a/test-infra/camel-test-infra-redis/pom.xml
+++ b/test-infra/camel-test-infra-redis/pom.xml
@@ -45,14 +45,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-xmpp/pom.xml b/test-infra/camel-test-infra-xmpp/pom.xml
index c19b744c211..2bd6bde5c55 100644
--- a/test-infra/camel-test-infra-xmpp/pom.xml
+++ b/test-infra/camel-test-infra-xmpp/pom.xml
@@ -45,14 +45,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/test-infra/camel-test-infra-zookeeper/pom.xml b/test-infra/camel-test-infra-zookeeper/pom.xml
index ee21fd01ac5..dbca6bb8375 100644
--- a/test-infra/camel-test-infra-zookeeper/pom.xml
+++ b/test-infra/camel-test-infra-zookeeper/pom.xml
@@ -45,14 +45,5 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
</project>
diff --git a/tests/camel-itest/pom.xml b/tests/camel-itest/pom.xml
index 25a15e2b974..aafa8033dd2 100644
--- a/tests/camel-itest/pom.xml
+++ b/tests/camel-itest/pom.xml
@@ -402,18 +402,6 @@
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <derby.stream.error.file>target/derby.log</derby.stream.error.file>
- </systemPropertyVariables>
- <excludes>
- <!-- exclude doc tests as they dont work on CI server -->
- <exclude>**/*DocumentationTest.*</exclude>
- </excludes>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
@@ -449,4 +437,30 @@
</plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemPropertyVariables>
+ <derby.stream.error.file>target/derby.log</derby.stream.error.file>
+ </systemPropertyVariables>
+ <excludes>
+ <!-- exclude doc tests as they dont work on CI server -->
+ <exclude>**/*DocumentationTest.*</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/tooling/maven/camel-eip-documentation-enricher-maven-plugin/pom.xml b/tooling/maven/camel-eip-documentation-enricher-maven-plugin/pom.xml
index 299ff520f60..4610b104baf 100644
--- a/tooling/maven/camel-eip-documentation-enricher-maven-plugin/pom.xml
+++ b/tooling/maven/camel-eip-documentation-enricher-maven-plugin/pom.xml
@@ -105,7 +105,7 @@
<artifactId>log4j-slf4j2-impl</artifactId>
<scope>test</scope>
</dependency>
-
+
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
@@ -166,16 +166,28 @@
</plugin>
</plugins>
</pluginManagement>
-
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>--add-opens java.base/java.io=ALL-UNNAMED --add-opens
- java.base/java.lang=ALL-UNNAMED
- </argLine>
- </configuration>
- </plugin>
- </plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>--add-opens java.base/java.io=ALL-UNNAMED --add-opens
+ java.base/java.lang=ALL-UNNAMED
+ </argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/tooling/maven/camel-maven-plugin/pom.xml b/tooling/maven/camel-maven-plugin/pom.xml
index a5437dd3097..4f2ee24764a 100644
--- a/tooling/maven/camel-maven-plugin/pom.xml
+++ b/tooling/maven/camel-maven-plugin/pom.xml
@@ -105,18 +105,28 @@
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-plugin-plugin</artifactId>
- <configuration>
- <mojoDependencies>
- <dep>org.codehaus.mojo:exec-maven-plugin</dep>
- <dep>org.apache.maven:maven-plugin-api</dep>
- </mojoDependencies>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <configuration>
+ <mojoDependencies>
+ <dep>org.codehaus.mojo:exec-maven-plugin</dep>
+ <dep>org.apache.maven:maven-plugin-api</dep>
+ </mojoDependencies>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/tooling/maven/camel-package-maven-plugin/pom.xml b/tooling/maven/camel-package-maven-plugin/pom.xml
index 718f94d3fbe..7009dfbe106 100644
--- a/tooling/maven/camel-package-maven-plugin/pom.xml
+++ b/tooling/maven/camel-package-maven-plugin/pom.xml
@@ -211,7 +211,12 @@
<profiles>
<profile>
- <id>plugin-itest</id>
+ <id>full</id>
+ <activation>
+ <property>
+ <name>!quickly</name>
+ </property>
+ </activation>
<build>
<plugins>
<plugin>
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
index 783328ce7fe..efced93f41c 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
@@ -135,49 +135,49 @@ public class PrepareCatalogMojo extends AbstractMojo {
/**
* The components directory where all the Apache Camel components are
*/
- @Parameter(defaultValue = "${project.build.directory}/../../../components")
+ @Parameter(defaultValue = "${project.basedir}/../../components")
protected File componentsDir;
/**
* The camel-core directory
*/
- @Parameter(defaultValue = "${project.build.directory}/../../../core/")
+ @Parameter(defaultValue = "${project.basedir}/../../core/")
protected File coreDir;
/**
* The camel-model directory
*/
- @Parameter(defaultValue = "${project.build.directory}/../../../core/camel-core-model")
+ @Parameter(defaultValue = "${project.basedir}/../../core/camel-core-model")
protected File modelDir;
/**
* The DSL directory
*/
- @Parameter(defaultValue = "${project.build.directory}/../../../dsl/")
+ @Parameter(defaultValue = "${project.basedir}/../../dsl")
protected File dslDir;
/**
* The camel-core-languages directory
*/
- @Parameter(defaultValue = "${project.build.directory}/../../../core/camel-core-languages")
+ @Parameter(defaultValue = "${project.basedir}/../../core/camel-core-languages")
protected File languagesDir;
/**
* The directory where the camel-spring XML models are
*/
- @Parameter(defaultValue = "${project.build.directory}/../../../components/camel-spring-xml")
+ @Parameter(defaultValue = "${project.basedir}/../../components/camel-spring-xml")
protected File springDir;
/**
* The directory where the camel-spring XML schema are
*/
- @Parameter(defaultValue = "${project.build.directory}/../../../components/camel-spring-xml/target/schema")
+ @Parameter(defaultValue = "${project.basedir}/../../components/camel-spring-xml/target/schema")
protected File springSchemaDir;
/**
* The directory where the camel-main metadata are
*/
- @Parameter(defaultValue = "${project.build.directory}/../../../core/camel-main/target/classes/META-INF")
+ @Parameter(defaultValue = "${project.basedir}/../../core/camel-main/target/classes/META-INF")
protected File mainDir;
/**
@@ -1195,7 +1195,7 @@ public class PrepareCatalogMojo extends AbstractMojo {
private Path getModule(Path p) {
Path parent = p;
- while (!parent.endsWith("target")) {
+ while (!parent.endsWith("target") && !parent.endsWith("src")) {
parent = parent.getParent();
}
return parent.getParent();
diff --git a/tooling/maven/camel-restdsl-openapi-plugin/pom.xml b/tooling/maven/camel-restdsl-openapi-plugin/pom.xml
index 784af502542..61b7ee1bc17 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/pom.xml
+++ b/tooling/maven/camel-restdsl-openapi-plugin/pom.xml
@@ -93,58 +93,53 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-invoker-plugin</artifactId>
- <configuration>
- <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
- <pomIncludes>
- <pomInclude>*/pom.xml</pomInclude>
- </pomIncludes>
- <postBuildHookScript>verify</postBuildHookScript>
- <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
- <settingsFile>src/it/settings.xml</settingsFile>
- <goals>
- <goal>clean</goal>
- <goal>verify</goal>
- </goals>
- </configuration>
- <executions>
- <execution>
- <id>integration-test</id>
- <phase>integration-test</phase>
- <goals>
- <goal>install</goal>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.apache.groovy</groupId>
- <artifactId>groovy</artifactId>
- <version>${groovy-version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
-
<profiles>
<profile>
- <id>fastinstall</id>
+ <id>full</id>
<activation>
- <activeByDefault>true</activeByDefault>
<property>
- <name>skipTests</name>
+ <name>!quickly</name>
</property>
</activation>
- <properties>
- <invoker.skip>true</invoker.skip>
- </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <configuration>
+ <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
+ <pomIncludes>
+ <pomInclude>*/pom.xml</pomInclude>
+ </pomIncludes>
+ <postBuildHookScript>verify</postBuildHookScript>
+ <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+ <settingsFile>src/it/settings.xml</settingsFile>
+ <goals>
+ <goal>clean</goal>
+ <goal>verify</goal>
+ </goals>
+ </configuration>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>install</goal>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.groovy</groupId>
+ <artifactId>groovy</artifactId>
+ <version>${groovy-version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
</profile>
</profiles>
</project>
diff --git a/tooling/maven/pom.xml b/tooling/maven/pom.xml
index 4556d103807..481371a154e 100644
--- a/tooling/maven/pom.xml
+++ b/tooling/maven/pom.xml
@@ -68,7 +68,5 @@
</plugin>
</plugins>
</pluginManagement>
- <plugins>
- </plugins>
</build>
</project>