This is an automated email from the ASF dual-hosted git repository. nfilotto pushed a commit to branch camel-4.0.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.0.x by this push: new 2050bbaac3d CAMEL-19871: camel-jooq - Set the proper scope to all test dependencies (#11465) 2050bbaac3d is described below commit 2050bbaac3d7b104e6ed6204d0d22fe7b548e41f Author: Nicolas Filotto <essob...@users.noreply.github.com> AuthorDate: Tue Sep 19 18:31:30 2023 +0200 CAMEL-19871: camel-jooq - Set the proper scope to all test dependencies (#11465) ## 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 * Prevent the maven-javadoc-plugin from generating the Javadoc of the test classes generated by jooq-codegen-maven --- 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 4d69b7c7ad8..d472bba06ba 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>