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

Brandon Williams commented on CASSANDRA-16541:
----------------------------------------------

bq. Are you actually seeing the jboss-logging jar present or downloaded 
somewhere?

This is what I was saying before... we don't even pull this to build, I 
checked.  This is neither a runtime nor compile time dependency for Cassandra.  
It does not ship it, it does not pull it down locally.

metrics-reporter-config pulls hibernate as a compile time dependency and does 
not ship it.  It has subprojects, reporter-config-base and reporter-config3. 
These are compiled against hibernate-validator (which is in turn compiled 
against jboss logging.)

Cassandra does ship reporter-config-base and report-config3 (seen 
[here|https://github.com/apache/cassandra/tree/trunk/lib])  Obviously, we can't 
really control if our dependencies have compile time dependencies that then 
also have further compile time dependencies against LGPL libraries. (Though my 
understand is still that this would be ok, as long as those libraries are not 
included.)

bq. even after changing to runtime scope we get following list of dependencies 
that "should" be included to make cassandra-all work

This is where maven seems to be getting overzealous and causing confusion.  You 
certainly don't need hibernate or jboss to compile, let alone run, Cassandra.  
It also seems to suggest ant is required to run, which is a bit strange.  
Perhaps this is some artifact of us not actually using maven to build, I'm not 
sure, but it's not painting a completely accurate picture of Cassandra's 
dependencies.

> LGPL dependency in cassandra-all 3.11.10
> ----------------------------------------
>
>                 Key: CASSANDRA-16541
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16541
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Build
>            Reporter: Matt Casters
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 2.2.20, 3.0.25, 3.11.11, 4.0
>
>
> Dear Cassandra devs.
> While integrating Cassandra in Apache Hop functionality we found out that the 
> cassandra-all maven package drags in an older version of jboss-logging via 
> reporter-config3:
> {code:java}
> +- org.apache.cassandra:cassandra-all:jar:3.11.10:compile
> |  +- com.addthis.metrics:reporter-config3:jar:3.0.3:compile
> |  |  +- com.addthis.metrics:reporter-config-base:jar:3.0.3:compile
> |  |  \- org.hibernate:hibernate-validator:jar:4.3.0.Final:compile
> |  |     +- javax.validation:validation-api:jar:1.0.0.GA:compile
> |  |     \- org.jboss.logging:jboss-logging:jar:3.1.0.CR2:compile
> {code}
> jboss-logging 3.1.0.CR2 is from November 2011 and the library only changed to 
> APL in 2012.
> [https://github.com/jboss-logging/jboss-logging/blob/master/src/main/resources/META-INF/LICENSE.txt]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to