This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch camel-4.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.0.x by this push:
new ab1af40879f CAMEL-19871: camel-jooq - Set the proper scope to all test
dependencies (#11414)
ab1af40879f is described below
commit ab1af40879f61bffe1fad2887c60950c167b5b30
Author: Nicolas Filotto <[email protected]>
AuthorDate: Fri Sep 15 15:11:17 2023 +0200
CAMEL-19871: camel-jooq - Set the proper scope to all test dependencies
(#11414)
## Motivation
There are many test dependencies of the camel-joor component for which no
scope has been set which pulls useless dependencies at runtime.
## Modifications:
* Add the test scope to all test dependencies to avoid getting the default
scope which is compile
---
components/camel-jooq/pom.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/components/camel-jooq/pom.xml b/components/camel-jooq/pom.xml
index 4d69b7c7ad8..e1d9625dd11 100644
--- a/components/camel-jooq/pom.xml
+++ b/components/camel-jooq/pom.xml
@@ -84,11 +84,13 @@
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring-version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring-version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
@@ -100,6 +102,7 @@
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>${awaitility-version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>