I found differences of enabled JANSI between Windows/Ubuntu regarding
combination with "-B".
This is minimum configuration per platform if you want to enable JANSI
together with using -B:
Windows: mvn -B -Dstyle.color=always
Ubuntu: mvn -B -Dstyle.color=always and MAVEN_OPTS=-Djansi.force=true
Was this configuration in plan?
On Mon, Apr 9, 2018 at 8:28 PM, Tibor Digana <tibordig...@apache.org> wrote:
> >> CI servers are known to run in batch mode
> Therefore I asked because I exactly need something like this: "mvn -B
> -Dstyle.color=always ..." in my company on Jenkins CI.
> On Mon, Apr 9, 2018 at 6:53 PM, Robert Scholte <rfscho...@apache.org>
>> On Mon, 09 Apr 2018 16:24:39 +0200, Tibor Digana <tibordig...@apache.org>
>> Hi all,
>>> I want to use non-interactive mode, -B, together with JANSI colors.
>>> Is it possible?
>> Use Maven 3.5.3 and add -Dstyle.color=always to the commandline
>>> Why we bound JANSI to -B ?
>> To ensure CI servers didn't break after ANSI support. CI servers are
>> known to run in batch mode, or at least they should.