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

nfilotto pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new d0945022444 CAMEL-19871: camel-jooq - Set the proper scope to all test 
dependencies (#11407)
d0945022444 is described below

commit d0945022444306ee1a009a0d0fe774f1401dbf1d
Author: Nicolas Filotto <[email protected]>
AuthorDate: Fri Sep 15 14:12:53 2023 +0200

    CAMEL-19871: camel-jooq - Set the proper scope to all test dependencies 
(#11407)
    
    ## 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 4cc9dfe6833..9fe1745de4f 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>

Reply via email to