logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "whaefelinger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-797) log4j-core should be listed as runtime dependency
Date Tue, 26 Aug 2014 10:26:58 GMT

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

whaefelinger commented on LOG4J2-797:
-------------------------------------

Thanks for the clarification although, I must admit, I dot fully get the point why custom
plugins do need an annotation processor? But .. never mind.

However, the point that log4j-core can be used as runtime dependency in absence of custom
plugins could/should be mentioned in the documentation; it is truly a bit confusing :-)



> log4j-core should be listed as runtime dependency
> -------------------------------------------------
>
>                 Key: LOG4J2-797
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-797
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 2.0.2
>         Environment: http://logging.apache.org/log4j/2.x/maven-artifacts.html
>            Reporter: whaefelinger
>            Priority: Minor
>
> The documentation (website: http://logging.apache.org/log4j/2.x/maven-artifacts.html)
lists "log4j-core" as compile dependency (Gradle). 
> While this at not wrong, it does not hit the idea of api/core separation. Thus I suggest
to list "log4j-core" as runtime dependency, i.e.
> {code}
> dependencies {
>   compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.0.2'
>   runtime group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.0.2'
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message