accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Updated] (ACCUMULO-3641) Mark slf4j implementation dependencies "optional"
Date Tue, 07 Apr 2015 20:46:12 GMT


Christopher Tubbs updated ACCUMULO-3641:
    Fix Version/s:     (was: 1.8.0)

This will probably need to wait until 2.0.0, when we can actually remove the direct dependency
on log4j.

> Mark slf4j implementation dependencies "optional"
> -------------------------------------------------
>                 Key: ACCUMULO-3641
>                 URL:
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Christopher Tubbs
>             Fix For: 2.0.0
> After ACCUMULO-1242 is complete, we should not have any more direct usage of log4j or
any other particular slf4j implementation. As such, we should mark log4j (and any other slf4j
implementations) as optional in the dependencies section of the POM.
> ["Optional" dependencies in Maven|]
are not automatically inherited transitively when other projects depend on ours. This is important,
because if somebody writes a client application which depends on Accumulo code, we should
not be forcing that application into a particular logging implementation. Marking it optional
is preferable to forcing them to exclude the transitive dependencies in order to provide their
own. It will also prevent conflicts when they have dependencies on other projects, which require
a particular conflicting implementation of slf4j.

This message was sent by Atlassian JIRA

View raw message