You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christoph Deppisch (Jira)" <ji...@apache.org> on 2025/02/04 18:21:00 UTC
[jira] [Created] (CAMEL-21715) Fix camel-test-infra-common test-jar dependencies
Christoph Deppisch created CAMEL-21715:
------------------------------------------
Summary: Fix camel-test-infra-common test-jar dependencies
Key: CAMEL-21715
URL: https://issues.apache.org/jira/browse/CAMEL-21715
Project: Camel
Issue Type: Bug
Components: camel-test-infra
Reporter: Christoph Deppisch
With https://issues.apache.org/jira/browse/CAMEL-21452 some classes in the _camel-test-infra-common_ have been moved from *src/test/java* to *src/main/java* so dependent modules need to switch the Maven dependency from *type=test-jar* to a normal dependency. The _camel-jbang-plugin-kubernetes_ is a good example it has
{noformat}
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-test-infra-common</artifactId>
<version>${project.version}</version>
<scope>test</scope>
<type>test-jar</test>
</dependency>{noformat}
but it needs to remove
{noformat}
<type>test-jar</type>{noformat}
So we need to go through the modules that depend on _camel-test-infra-common_ and see if we need test-jar + normal jar dependency in Maven POMs
--
This message was sent by Atlassian Jira
(v8.20.10#820010)