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

nfilotto pushed a commit to branch 
CAMEL-19871/set-scope-to-test-dependencies-3.20
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 47395adc286650d355a937a933111a6a1d2dc9fd
Author: Nicolas Filotto <nfilo...@talend.com>
AuthorDate: Tue Sep 19 16:15:42 2023 +0200

    CAMEL-19871: camel-jooq - Set the proper scope to all test dependencies
---
 components/camel-jooq/pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/components/camel-jooq/pom.xml b/components/camel-jooq/pom.xml
index 213de8cedee..82d2bcd41ed 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>
@@ -234,6 +236,15 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <configuration combine.self="override">
+                    <!-- Prevent the maven-javadoc-plugin from generating the 
Javadoc of the test classes generated
+                    by jooq-codegen-maven -->
+                    
<sourcepath>${project.build.sourceDirectory};src/generated/java</sourcepath>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>

Reply via email to