This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch camel-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.20.x by this push:
new f8e74e0bac6 CAMEL-19871: camel-jooq - Set the proper scope to all test
dependencies (#11417)
f8e74e0bac6 is described below
commit f8e74e0bac6475aa00e6463f4f6ec3f1f99e92a5
Author: Nicolas Filotto <[email protected]>
AuthorDate: Fri Sep 15 16:48:38 2023 +0200
CAMEL-19871: camel-jooq - Set the proper scope to all test dependencies
(#11417)
## 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 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/components/camel-jooq/pom.xml b/components/camel-jooq/pom.xml
index 213de8cedee..78661813c7f 100644
--- a/components/camel-jooq/pom.xml
+++ b/components/camel-jooq/pom.xml
@@ -89,11 +89,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>