You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Peter Somogyi (Jira)" <ji...@apache.org> on 2019/09/10 11:00:00 UTC

[jira] [Reopened] (HBASE-22997) Move to SLF4J

     [ https://issues.apache.org/jira/browse/HBASE-22997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Somogyi reopened HBASE-22997:
-----------------------------------

log4j-slf4j-impl adds transitive dependency to slf4j-api which has MIT license. License file needs to contain this MIT license text.

> Move to SLF4J
> -------------
>
>                 Key: HBASE-22997
>                 URL: https://issues.apache.org/jira/browse/HBASE-22997
>             Project: HBase
>          Issue Type: Sub-task
>          Components: hbase-operator-tools
>    Affects Versions: operator-1.0.0
>            Reporter: Peter Somogyi
>            Assignee: Peter Somogyi
>            Priority: Major
>             Fix For: operator-1.0.0
>
>
> Currently hbase-operator-tools uses org.apache.logging.log4j while the rest of our projects have SLF4J.
> When building the project with release profile the enforce plugin fails on  org.apache.logging.log4j:log4j-api:jar:2.11.1 dependency
> {noformat}
> [INFO] --- maven-enforcer-plugin:1.4:enforce (min-maven-min-java-banned-xerces) @ hbase-hbck2 ---
> [INFO] Restricted to JDK 1.8 yet org.apache.logging.log4j:log4j-api:jar:2.11.1:compile contains META-INF/versions/9/module-info.class targeted to JDK 1.9
> [WARNING] Rule 3: org.apache.maven.plugins.enforcer.EnforceBytecodeVersion failed with message:
> HBase has unsupported dependencies.
>   HBase requires that all dependencies be compiled with version 1.8 or earlier
>   of the JDK to properly build from source.  You appear to be using a newer dependency. You can use
>   either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
>   Non-release builds can temporarily build with a newer JDK version by setting the
>   'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
> Found Banned Dependency: org.apache.logging.log4j:log4j-api:jar:2.11.1
> Use 'mvn dependency:tree' to locate the source of the banned dependencies. {noformat}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)