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
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 0030bab41cae478236399cd5b8effc531429e757
Author: Nicolas Filotto <[email protected]>
AuthorDate: Tue Sep 19 10:37:06 2023 +0200

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

diff --git a/components/camel-jooq/pom.xml b/components/camel-jooq/pom.xml
index 4cc9dfe6833..1418b91af50 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>
@@ -232,6 +235,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