This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.7.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit d24422d927c756c6288b298906427ae7908f1f06 Author: Claus Ibsen <[email protected]> AuthorDate: Sat Dec 11 09:13:14 2021 +0100 CAMEL-17316: camel-nsq - Remove log4j-core dependency as only log4j-api is needed. --- components/camel-nsq/pom.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/components/camel-nsq/pom.xml b/components/camel-nsq/pom.xml index 3aac669..27a3df3 100644 --- a/components/camel-nsq/pom.xml +++ b/components/camel-nsq/pom.xml @@ -29,26 +29,38 @@ <packaging>jar</packaging> <name>Camel :: NSQ</name> - <properties> - </properties> - <dependencies> + <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-support</artifactId> </dependency> + <!-- nsq client --> <dependency> <groupId>com.github.brainlag</groupId> <artifactId>nsq-client</artifactId> <version>${nsq-client-version}</version> + <!-- only log4j-api is needed but nsq-client depends on log4j-core --> + <exclusions> + <exclusion> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-api</artifactId> </dependency> + <!-- testing --> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-test-junit5</artifactId> <scope>test</scope> </dependency> + <!-- logging --> <dependency> <groupId>org.apache.logging.log4j</groupId>
