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

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


The following commit(s) were added to refs/heads/camel-3.x by this push:
     new 8941c51acab CAMEL-19871: camel-jooq - Set the proper scope to all test 
dependencies (#11415)
8941c51acab is described below

commit 8941c51acab98f111bc410cf6a7a098108049278
Author: Nicolas Filotto <essob...@users.noreply.github.com>
AuthorDate: Fri Sep 15 16:48:16 2023 +0200

    CAMEL-19871: camel-jooq - Set the proper scope to all test dependencies 
(#11415)
    
    ## 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 a2d0691f877..c3b5032b74a 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>

Reply via email to