Re: SLF4J related issues

2015-10-07 Thread Arnaud Héritier
ok I will do some tests in that direction to see if I can find a solution. Clearly I would like to be able to break maven logging by just adding an extension jar including a simple logger.properties. If it is the case we need to fix it. But have a way with a distinct/specific file to do it may be

Re: SLF4J related issues

2015-10-07 Thread Igor Fedorenko
>From what I can tell, alternative logging backend can be distributed as an extension that is dropped into M2_HOME/lib/ext folder. The only real limitation is that you can't provide default logging configuration as part of the extension. This is due to odd/wrong order of entries in m2.conf file,

Re: SLF4J related issues

2015-10-07 Thread Arnaud Héritier
Hi Igor, I didn't know this part of the code. It seems to be the right place to do it like you did here : https://github.com/takari/io.takari.m2e.lifecycle/blob/master/io.takari.m2e.incrementalbuild.core/src/io/takari/m2e/incrementalbuild/core/internal/MavenComponentContributor.java Thus in t

Re: SLF4J related issues

2015-10-05 Thread Igor Fedorenko
It is possible to use ClassRealmManagerDelegate to replace "bad" slf4j-related plugin dependencies with compatible "good" dependencies. This is what I do in my "better multithreaded logging" maven extension and it works quite well from what I can tell. -- Regards, Igor On Sun, Oct 4, 2015, at 10

Re: SLF4J related issues

2015-10-04 Thread Arnaud Héritier
On Sun, Oct 4, 2015 at 5:23 PM, Tibor Digana wrote: > How is the change working on CI? Is not there any escape codes around > every line? > In Jenkins we have an ansi colors interpreter plugin. I need to check if it will work correctly with Maven jobs. Maybe for users who don't like colors or f

Re: SLF4J related issues

2015-10-04 Thread Tibor Digana
How is the change working on CI? Is not there any escape codes around every line? I guess jansi has or needs JNI lib or should be added for Win. Working on all platforms? On Sun, Oct 4, 2015 at 4:38 PM, Arnaud Héritier wrote: > Hi all, > > After our exchanges this week at ApacheCon Core I wan

SLF4J related issues

2015-10-04 Thread Arnaud Héritier
Hi all, After our exchanges this week at ApacheCon Core I wanted to have a look at what avoided us to provide for exemple in 3.4 a colorised output... 1/ Looking at this I found several issues related to a missing export of classes from SLF4J: https://issues.apache.org/jira/browse/MNG-5787 htt