[ 
https://issues.apache.org/jira/browse/CASSANDRA-12996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16097078#comment-16097078
 ] 

Michael Shuler commented on CASSANDRA-12996:
--------------------------------------------

Bummer, that almost always works :)
Well, it looks like there are 3 different lower versions downloaded  that are 
sub-dependencies of other dependencies somewhere..

Removing all of {{~/.m2/repository/}}, a nice {{git clean -xdf}}, and fresh 
build of trunk saving the output off:

{noformat}
(trunk)mshuler@hana:~/git/cassandra$ egrep 'Downloading.*slf4j-api' 
/tmp/slf4j-jar-dep.txt 
[artifact:dependencies] Downloading: 
org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.pom from repository apache at 
http://repo.maven.apache.org/maven2
[artifact:dependencies] Downloading: 
org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.pom from repository apache at 
http://repo.maven.apache.org/maven2
[artifact:dependencies] Downloading: 
org/slf4j/slf4j-api/1.7.12/slf4j-api-1.7.12.pom from repository apache at 
http://repo.maven.apache.org/maven2
[artifact:dependencies] Downloading: 
org/slf4j/slf4j-api/1.7.12/slf4j-api-1.7.12.jar from repository apache at 
http://repo.maven.apache.org/maven2
[artifact:dependencies] Downloading: 
org/slf4j/slf4j-api/1.7.12/slf4j-api-1.7.12-sources.jar from repository central 
at http://repo1.maven.org/maven2
{noformat}

Yep, I do have 1.7.12 under {{build/lib/}}:
{noformat}
(trunk)mshuler@hana:~/git/cassandra$ find ./ -name slf4j-api*jar
./lib/slf4j-api-1.7.25.jar
./build/lib/sources/slf4j-api-1.7.12-sources.jar
./build/lib/jars/slf4j-api-1.7.12.jar
{noformat}

Not sure why I don't also have 1.5.2 and 1.7.7 in there, if they were 
downloaded from maven, nor which jars pulled all these in as dependencies.

> update slf4j dependency to 1.7.21
> ---------------------------------
>
>                 Key: CASSANDRA-12996
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12996
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Libraries
>            Reporter: Tomas Repik
>            Assignee: Stefan Podkowinski
>             Fix For: 4.0
>
>         Attachments: cassandra-3.11.0-slf4j.patch, 
> jcl-over-slf4j-1.7.25.jar.asc, log4j-over-slf4j-1.7.25.jar.asc, 
> slf4j-api-1.7.25.jar.asc
>
>
> Cassandra 3.11.0 is about to be included in Fedora. There are some tweaks to 
> the sources we need to do in order to successfully build it. Cassandra 
> depends on slf4j 1.7.7, but In Fedora we have the latest upstream version 
> 1.7.21 It was released some time ago on April 6 2016. I attached a patch 
> updating Cassandra sources to depend on the newer slf4j sources. The only 
> actual change is the number of parameters accepted by SubstituteLogger class. 
> Please consider updating.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to