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? Cheers Tibor On Mon, Apr 9, 2018 at 8:28 PM, Tibor Digana <[email protected]> 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. > > Thx > > On Mon, Apr 9, 2018 at 6:53 PM, Robert Scholte <[email protected]> > wrote: > >> On Mon, 09 Apr 2018 16:24:39 +0200, Tibor Digana <[email protected]> >> wrote: >> >> Hi all, >>> >>> I want to use non-interactive mode, -B, together with JANSI colors. >>> Is it possible? >>> >> Yes. >> >> How? >> 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. >> >> >>> Cheers >>> Tibor >>> >> >
