HBASE-2850 slf4j version needs to be reconciled in pom: thrift wants 1.5.x and hadoop/avro 1.4.x
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@966661 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
baf6eb43ff
commit
21cbe58d6e
|
@ -788,6 +788,8 @@ Release 0.21.0 - Unreleased
|
|||
and other helper classes
|
||||
HBASE-2845 Small edit of shell main help page cutting down some on white
|
||||
space and text
|
||||
HBASE-2850 slf4j version needs to be reconciled in pom: thrift wants 1.5.x
|
||||
and hadoop/avro 1.4.x
|
||||
|
||||
NEW FEATURES
|
||||
HBASE-1961 HBase EC2 scripts
|
||||
|
|
19
pom.xml
19
pom.xml
|
@ -582,21 +582,6 @@
|
|||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--
|
||||
This is highly dubious!
|
||||
|
||||
We need SLF4J >= 1.5.6 and Thrift depends on that version.
|
||||
hadoop-core on the other hand depends on SLF4J 1.4.3 (even though it is optional)
|
||||
and Mavens dependency resolution mechanism choses the 'nearest' dependency in case
|
||||
of a conflict of dependencies on the same level. The nearest is always the one
|
||||
that was defined first in the pom:
|
||||
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
|
||||
|
||||
That's why we've added an explicit dependency to SFL4J-API even though we don't need it.
|
||||
Make sure to check the version of SLF4J Hadoop and Thrift depend on when you upgrade
|
||||
one of them.
|
||||
-->
|
||||
<dependency>
|
||||
<groupId>org.apache.thrift</groupId>
|
||||
<artifactId>thrift</artifactId>
|
||||
|
@ -724,7 +709,7 @@
|
|||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-log4j12</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>${slf4j.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.hadoop</groupId>
|
||||
|
@ -734,7 +719,7 @@
|
|||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>1.4.3</version>
|
||||
<version>${slf4j.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.jackson</groupId>
|
||||
|
|
Loading…
Reference in New Issue