You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/02/01 11:14:32 UTC

[GitHub] [kafka] Indupa commented on pull request #7898: KAFKA-9366: Change log4j dependency into log4j2

Indupa commented on pull request #7898:
URL: https://github.com/apache/kafka/pull/7898#issuecomment-1026731878


   Hi @dongjinleekr ,
   
   Can you please help me to build this latest patch you have released on top of Kafka_2.8,1. I tried using this following command to compile kafka source code always, but iam facing an issue to build this latest source code of  log4j2 patch .
   
   The command i used is : gradle -PscalaVersion=2.13 releaseTarGz -x signArchives
   
   The Error iam getting is :   
   
                   Build file 'C:\kafka-2.8.1-log4j2\build.gradle' line: 1339
   
   * What went wrong:
   A problem occurred evaluating root project 'kafka-2.8.1-log4j2(patch by github)'.
   > Cannot convert a null value to an object of type Dependency.
     The following types/formats are supported:
       - Instances of Dependency.
       - String or CharSequence values, for example 'org.gradle:gradle-core:1.0'.
       - Maps, for example [group: 'org.gradle', name: 'gradle-core', version: '1.0'].
       - FileCollections, for example files('some.jar', 'someOther.jar').
       - Projects, for example project(':some:project:path').
       - ClassPathNotation, for example gradleApi().
   
     Comprehensive documentation on dependency notations is available in DSL reference for DependencyHandler type.
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
   
   * Get more help at https://help.gradle.org
   
   Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
   Use '--warning-mode all' to show the individual deprecation warnings.
   See https://docs.gradle.org/6.8.1/userguide/command_line_interface.html#sec:command_line_warnings
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org