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

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


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

commit 95e86f9110aae64fe1e6ece19a46e89c63c3136e
Author: Nicolas Filotto <[email protected]>
AuthorDate: Fri Sep 15 16:48:30 2023 +0200

    CAMEL-19871: camel-jooq - Set the proper scope to all test dependencies 
(#11416)
    
    ## 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 63f3cb99e25..ed8fbd406d6 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