You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Friedman, Jacob" <ja...@optum.com> on 2017/08/24 20:54:26 UTC

1;34mINFO[m] formatting on console output

Howdy,

Previously, maven output for my project yielded some slight colorization to easily see test run results, errors etc. The other day it started producing some funky formatting that looked similar to:

1;34mINFO[m] on many lines.

I did some research and I see there was a recent maven release that actually added some more colorization. I learned via a google search i can use 'mvn test -B' to remove the aforementioned formatting, but the output is black and white. How do I configure it so that it runs in color per the samples videos I've seen online about the new release.

Here's my POM file text in case that helps troubleshoot:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>cloud</groupId>
  <artifactId>PINR</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>PINR</name>
  <url>http://maven.apache.org</url>
   <properties>
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  <build>
       <resources>
       <resource>
        <directory>src/main/java/resources</directory>
        <filtering>true</filtering>
      </resource>
       </resources>

  <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.20</version>


               <configuration>
                 <suiteXmlFiles>
                   <suiteXmlFile>testng.xml</suiteXmlFile>
                 </suiteXmlFiles>
                 <testFailureIgnore>true</testFailureIgnore>
                           </configuration>

      </plugin>
</plugins>


  </build>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>

     <dependency>
        <groupId>org.seleniumhq.selenium</groupId>
        <artifactId>selenium-java</artifactId>
        <version>3.4.0</version>
    </dependency>

       <dependency>
  <groupId>org.testng</groupId>
  <artifactId>testng</artifactId>
  <version>6.8</version>
  <scope>compile</scope>
       </dependency>

  <dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-api</artifactId>
    <version>2.8.2</version>
  </dependency>
  <dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-core</artifactId>
    <version>2.8.2</version>
  </dependency>
<dependency>
    <groupId>com.aventstack</groupId>
    <artifactId>extentreports</artifactId>
    <version>3.0.6</version>
</dependency>
       <dependency>
    <groupId>com.relevantcodes</groupId>
    <artifactId>extentreports</artifactId>
    <version>2.41.2</version>
</dependency>

<dependency>
    <groupId>com.saucelabs</groupId>
    <artifactId>sauce_testng</artifactId>
    <version>2.1.18</version>
    <scope>test</scope>
</dependency>

  </dependencies>
</project>




____________________________

Jacob Friedman, PMP, PMI-ACP | Optum
Scrum Master, Optum Technology

131 Morristown Rd, Basking Ridge, NJ 07920
T     +1 973-348-1521
jacob.friedman@optum.com<ma...@optum.com>
www.optum.com<http://inside.optum.com/resource/Documents/www.optum.com>


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.

Re: 1;34mINFO[m] formatting on console output

Posted by Hervé BOUTEMY <he...@free.fr>.
ok, let's adapt to your profile

First, let's see if the issue is related to your general Maven installation or 
to your project that uses Selenium and that could cause some sort of conflict.

Can you run "mvn -V -X" from a directory where there is no pom.xml, please, 
and report if color is ok or not?
If not ok, please send me in private the output: we'll dig more in details 
later.


If it is ok, that means that you pom.xml causes conflict with JAnsi at some 
level: I'll need your build file (in private) to investigate.

Regards,

Hervé

Le dimanche 27 août 2017, 03:07:28 CEST Friedman, Jacob a écrit :
> Hi Herve,
> 
> A little background about myself.  I am a Scrum Master on a team that does
> not have a QA resource for the product I'm working on.  I undertook
> regression testing manually and decided to teach myself how to code
> Automated Selenium Regression Tests in Java.  I'm VERY new to this, so
> doing a ton of learning.  I've set up a maven project that has a Base Test
> Class, page object classes, and Test Classes that reference base.  I can
> use a data.properties file to define if I want to run my tests locally or
> on a virtual machine called Sauce labs.
> 
> Given my limited knowledge, I do not fully understand what you'd like me to
> do in your below message.  Do I just need to add the jansi reference from
> the POM file on the github link you referenced to my project's POM file? 
> If more, can you guide a little bit?  Do I unzip the file from git hub and
> add those files to my project structure?
> 
> Thanks,
> Jake
> ____________________________
> 
> Jacob Friedman, PMP, PMI-ACP | Optum
> Scrum Master, Optum Technology
> 
> 131 Morristown Rd, Basking Ridge, NJ 07920
> T 	+1 973-348-1521
> jacob.friedman@optum.com
> www.optum.com
> 
> 
> -----Original Message-----
> From: Hervé BOUTEMY [mailto:herve.boutemy@free.fr]
> Sent: Friday, August 25, 2017 2:42 AM
> To: Maven Users List
> Subject: Re: 1;34mINFO[m] formatting on console output
> 
> then JAnsi http://fusesource.github.io/jansi/ should detect this OS and do
> the magic to interpret these ANSI escape codes
> 
> This is tested by many people on many Windows 7 machines: I don't know what
> is specific to yours
> 
> I opened a PR to JAnsi a few months ago https://github.com/fusesource/jansi/
> pull/88 to have a test utility built into JAnsi library to test its
> features independently of any integration (like Maven integrates it): but
> the PR is not yet merged. It's sad, since it's really to diagnose case like
> yours (when you report issues to Maven that are more probably tied to
> JAnsi)
> 
> Can you build this JAnsi snapshot with the PR and test, please?
> 
> Regards,
> 
> Hervé
> 
> Le jeudi 24 août 2017, 18:21:01 CEST Stephen Cobb a écrit :
> > That's what I have. I got a GO ProBook 7. It's got an Intel I-5 and a
> > 250 STATA HD but 4 GB RAM is all but it's not that slow. Runs at about 2.3
> > GH. This is a PHO Utility right?
> > 
> > On Aug 24, 2017 6:11 PM, "Friedman, Jacob" <ja...@optum.com>
> > wrote:
> > 
> > Hi Herve,
> > 
> > I'm using Windows 7 64 Bit machine.
> > 
> > I'm using cmd to get to the console.
> > 
> > I'm using maven 3.5
> > 
> > Thanks,
> > Jake
> > 
> > ____________________________
> > 
> > Jacob Friedman, PMP, PMI-ACP | Optum
> > Scrum Master, Optum Technology
> > 
> > 131 Morristown Rd, Basking Ridge, NJ 07920
> > T       +1 973-348-1521
> > jacob.friedman@optum.com
> > www.optum.com
> > 
> > 
> > -----Original Message-----
> > From: Hervé BOUTEMY [mailto:herve.boutemy@free.fr]
> > Sent: Thursday, August 24, 2017 5:43 PM
> > To: Maven Users List
> > Subject: Re: 1;34mINFO[m] formatting on console output
> > 
> > can you give info on Maven version and OS used?
> > And if you are on Windows, which command line you're using?
> > 
> > there is no reason to stop working:
> > - any Unix supports these ANSI escape codes natively
> > - we use JAnsi to add support on Windows
> > 
> > Regards,
> > 
> > Hervé
> > 
> > Le jeudi 24 août 2017, 20:54:26 CEST Friedman, Jacob a écrit :
> > > Howdy,
> > > 
> > > Previously, maven output for my project yielded some slight
> > > colorization to easily see test run results, errors etc. The other
> > > day it started producing some funky formatting that looked similar to:
> > > 
> > > 1;34mINFO[m] on many lines.
> > > 
> > > I did some research and I see there was a recent maven release that
> > > actually added some more colorization. I learned via a google search
> > > i can use 'mvn test -B' to remove the aforementioned formatting, but
> > > the output is black and white. How do I configure it so that it runs
> > > in color per the samples videos I've seen online about the new release.
> > > 
> > > Here's my POM file text in case that helps troubleshoot:
> > > <project xmlns="http://maven.apache.org/POM/4.0.0"
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > http://maven.apache.org/maven-v4_0_0.xsd">
> > > <modelVersion>4.0.0</modelVersion>
> > > 
> > >   <groupId>cloud</groupId>
> > >   <artifactId>PINR</artifactId>
> > >   <packaging>jar</packaging>
> > >   <version>1.0-SNAPSHOT</version>
> > >   <name>PINR</name>
> > >   <url>http://maven.apache.org</url>
> > >   
> > >    <properties>
> > > 
> > > <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> > > 
> > >   </properties>
> > >   <build>
> > >   
> > >        <resources>
> > >        <resource>
> > >        
> > >         <directory>src/main/java/resources</directory>
> > >         <filtering>true</filtering>
> > >       
> > >       </resource>
> > >       
> > >        </resources>
> > >   
> > >   <plugins>
> > >   
> > >       <plugin>
> > >       
> > >         <groupId>org.apache.maven.plugins</groupId>
> > >         <artifactId>maven-surefire-plugin</artifactId>
> > >         <version>2.20</version>
> > >         
> > >                <configuration>
> > >                
> > >                  <suiteXmlFiles>
> > >                  
> > >                    <suiteXmlFile>testng.xml</suiteXmlFile>
> > >                  
> > >                  </suiteXmlFiles>
> > >                  <testFailureIgnore>true</testFailureIgnore>
> > >                  
> > >                            </configuration>
> > >       
> > >       </plugin>
> > > 
> > > </plugins>
> > > 
> > >   </build>
> > >   
> > >   <dependencies>
> > >   
> > >     <dependency>
> > >     
> > >       <groupId>junit</groupId>
> > >       <artifactId>junit</artifactId>
> > >       <version>3.8.1</version>
> > >       <scope>test</scope>
> > >     
> > >     </dependency>
> > >     
> > >      <dependency>
> > >      
> > >         <groupId>org.seleniumhq.selenium</groupId>
> > >         <artifactId>selenium-java</artifactId>
> > >         <version>3.4.0</version>
> > >     
> > >     </dependency>
> > >     
> > >        <dependency>
> > >   
> > >   <groupId>org.testng</groupId>
> > >   <artifactId>testng</artifactId>
> > >   <version>6.8</version>
> > >   <scope>compile</scope>
> > >   
> > >        </dependency>
> > >   
> > >   <dependency>
> > >   
> > >     <groupId>org.apache.logging.log4j</groupId>
> > >     <artifactId>log4j-api</artifactId>
> > >     <version>2.8.2</version>
> > >   
> > >   </dependency>
> > >   <dependency>
> > >   
> > >     <groupId>org.apache.logging.log4j</groupId>
> > >     <artifactId>log4j-core</artifactId>
> > >     <version>2.8.2</version>
> > >   
> > >   </dependency>
> > > 
> > > <dependency>
> > > 
> > >     <groupId>com.aventstack</groupId>
> > >     <artifactId>extentreports</artifactId>
> > >     <version>3.0.6</version>
> > > 
> > > </dependency>
> > > 
> > >        <dependency>
> > >     
> > >     <groupId>com.relevantcodes</groupId>
> > >     <artifactId>extentreports</artifactId>
> > >     <version>2.41.2</version>
> > > 
> > > </dependency>
> > > 
> > > <dependency>
> > > 
> > >     <groupId>com.saucelabs</groupId>
> > >     <artifactId>sauce_testng</artifactId>
> > >     <version>2.1.18</version>
> > >     <scope>test</scope>
> > > 
> > > </dependency>
> > > 
> > >   </dependencies>
> > > 
> > > </project>
> > > 
> > > 
> > > 
> > > 
> > > ____________________________
> > > 
> > > Jacob Friedman, PMP, PMI-ACP | Optum Scrum Master, Optum Technology
> > > 
> > > 131 Morristown Rd, Basking Ridge, NJ 07920
> > > T     +1 973-348-1521
> > > jacob.friedman@optum.com<ma...@optum.com>
> > > www.optum.com<http://inside.optum.com/resource/Documents/www.optum.c
> > > om
> > > 
> > > 
> > > 
> > > This e-mail, including attachments, may include confidential and/or
> > > proprietary information, and may be used only by the person or
> > > entity to which it is addressed. If the reader of this e-mail is not
> > > the intended recipient or his or her authorized agent, the reader is
> > > hereby notified that any dissemination, distribution or copying of
> > > this e-mail is prohibited. If you have received this e-mail in
> > > error, please notify the sender by replying to this message and
> > > delete this
> > 
> > e-mail immediately.
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> > 
> > 
> > 
> > This e-mail, including attachments, may include confidential and/or
> > proprietary information, and may be used only by the person or entity
> > to which it is addressed. If the reader of this e-mail is not the
> > intended recipient or his or her authorized agent, the reader is
> > hereby notified that any dissemination, distribution or copying of
> > this e-mail is prohibited. If you have received this e-mail in error,
> > please notify the sender by replying to this message and delete this
> > e-mail immediately.
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: 1;34mINFO[m] formatting on console output

Posted by "Friedman, Jacob" <ja...@optum.com>.
Hi Herve,

A little background about myself.  I am a Scrum Master on a team that does not have a QA resource for the product I'm working on.  I undertook regression testing manually and decided to teach myself how to code Automated Selenium Regression Tests in Java.  I'm VERY new to this, so doing a ton of learning.  I've set up a maven project that has a Base Test Class, page object classes, and Test Classes that reference base.  I can use a data.properties file to define if I want to run my tests locally or on a virtual machine called Sauce labs.

Given my limited knowledge, I do not fully understand what you'd like me to do in your below message.  Do I just need to add the jansi reference from the POM file on the github link you referenced to my project's POM file?  If more, can you guide a little bit?  Do I unzip the file from git hub and add those files to my project structure?

Thanks,
Jake
____________________________
	
Jacob Friedman, PMP, PMI-ACP | Optum
Scrum Master, Optum Technology

131 Morristown Rd, Basking Ridge, NJ 07920 
T 	+1 973-348-1521
jacob.friedman@optum.com
www.optum.com


-----Original Message-----
From: Hervé BOUTEMY [mailto:herve.boutemy@free.fr] 
Sent: Friday, August 25, 2017 2:42 AM
To: Maven Users List
Subject: Re: 1;34mINFO[m] formatting on console output

then JAnsi http://fusesource.github.io/jansi/ should detect this OS and do the magic to interpret these ANSI escape codes

This is tested by many people on many Windows 7 machines: I don't know what is specific to yours

I opened a PR to JAnsi a few months ago https://github.com/fusesource/jansi/
pull/88 to have a test utility built into JAnsi library to test its features independently of any integration (like Maven integrates it): but the PR is not yet merged. It's sad, since it's really to diagnose case like yours (when you report issues to Maven that are more probably tied to JAnsi)

Can you build this JAnsi snapshot with the PR and test, please?

Regards,

Hervé

Le jeudi 24 août 2017, 18:21:01 CEST Stephen Cobb a écrit :
> That's what I have. I got a GO ProBook 7. It's got an Intel I-5 and a 
> 250 STATA HD but 4 GB RAM is all but it's not that slow. Runs at about 2.3 GH.
> This is a PHO Utility right?
> 
> On Aug 24, 2017 6:11 PM, "Friedman, Jacob" <ja...@optum.com> wrote:
> 
> Hi Herve,
> 
> I'm using Windows 7 64 Bit machine.
> 
> I'm using cmd to get to the console.
> 
> I'm using maven 3.5
> 
> Thanks,
> Jake
> 
> ____________________________
> 
> Jacob Friedman, PMP, PMI-ACP | Optum
> Scrum Master, Optum Technology
> 
> 131 Morristown Rd, Basking Ridge, NJ 07920
> T       +1 973-348-1521
> jacob.friedman@optum.com
> www.optum.com
> 
> 
> -----Original Message-----
> From: Hervé BOUTEMY [mailto:herve.boutemy@free.fr]
> Sent: Thursday, August 24, 2017 5:43 PM
> To: Maven Users List
> Subject: Re: 1;34mINFO[m] formatting on console output
> 
> can you give info on Maven version and OS used?
> And if you are on Windows, which command line you're using?
> 
> there is no reason to stop working:
> - any Unix supports these ANSI escape codes natively
> - we use JAnsi to add support on Windows
> 
> Regards,
> 
> Hervé
> 
> Le jeudi 24 août 2017, 20:54:26 CEST Friedman, Jacob a écrit :
> > Howdy,
> > 
> > Previously, maven output for my project yielded some slight 
> > colorization to easily see test run results, errors etc. The other 
> > day it started producing some funky formatting that looked similar to:
> > 
> > 1;34mINFO[m] on many lines.
> > 
> > I did some research and I see there was a recent maven release that 
> > actually added some more colorization. I learned via a google search 
> > i can use 'mvn test -B' to remove the aforementioned formatting, but 
> > the output is black and white. How do I configure it so that it runs 
> > in color per the samples videos I've seen online about the new release.
> > 
> > Here's my POM file text in case that helps troubleshoot:
> > <project xmlns="http://maven.apache.org/POM/4.0.0"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > http://maven.apache.org/maven-v4_0_0.xsd">
> > <modelVersion>4.0.0</modelVersion>
> > 
> >   <groupId>cloud</groupId>
> >   <artifactId>PINR</artifactId>
> >   <packaging>jar</packaging>
> >   <version>1.0-SNAPSHOT</version>
> >   <name>PINR</name>
> >   <url>http://maven.apache.org</url>
> >   
> >    <properties>
> >    
> >        
> > <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> >   
> >   </properties>
> >   <build>
> >   
> >        <resources>
> >        <resource>
> >        
> >         <directory>src/main/java/resources</directory>
> >         <filtering>true</filtering>
> >       
> >       </resource>
> >       
> >        </resources>
> >   
> >   <plugins>
> >   
> >       <plugin>
> >       
> >         <groupId>org.apache.maven.plugins</groupId>
> >         <artifactId>maven-surefire-plugin</artifactId>
> >         <version>2.20</version>
> >         
> >                <configuration>
> >                
> >                  <suiteXmlFiles>
> >                  
> >                    <suiteXmlFile>testng.xml</suiteXmlFile>
> >                  
> >                  </suiteXmlFiles>
> >                  <testFailureIgnore>true</testFailureIgnore>
> >                  
> >                            </configuration>
> >       
> >       </plugin>
> > 
> > </plugins>
> > 
> >   </build>
> >   
> >   <dependencies>
> >   
> >     <dependency>
> >     
> >       <groupId>junit</groupId>
> >       <artifactId>junit</artifactId>
> >       <version>3.8.1</version>
> >       <scope>test</scope>
> >     
> >     </dependency>
> >     
> >      <dependency>
> >      
> >         <groupId>org.seleniumhq.selenium</groupId>
> >         <artifactId>selenium-java</artifactId>
> >         <version>3.4.0</version>
> >     
> >     </dependency>
> >     
> >        <dependency>
> >   
> >   <groupId>org.testng</groupId>
> >   <artifactId>testng</artifactId>
> >   <version>6.8</version>
> >   <scope>compile</scope>
> >   
> >        </dependency>
> >   
> >   <dependency>
> >   
> >     <groupId>org.apache.logging.log4j</groupId>
> >     <artifactId>log4j-api</artifactId>
> >     <version>2.8.2</version>
> >   
> >   </dependency>
> >   <dependency>
> >   
> >     <groupId>org.apache.logging.log4j</groupId>
> >     <artifactId>log4j-core</artifactId>
> >     <version>2.8.2</version>
> >   
> >   </dependency>
> > 
> > <dependency>
> > 
> >     <groupId>com.aventstack</groupId>
> >     <artifactId>extentreports</artifactId>
> >     <version>3.0.6</version>
> > 
> > </dependency>
> > 
> >        <dependency>
> >     
> >     <groupId>com.relevantcodes</groupId>
> >     <artifactId>extentreports</artifactId>
> >     <version>2.41.2</version>
> > 
> > </dependency>
> > 
> > <dependency>
> > 
> >     <groupId>com.saucelabs</groupId>
> >     <artifactId>sauce_testng</artifactId>
> >     <version>2.1.18</version>
> >     <scope>test</scope>
> > 
> > </dependency>
> > 
> >   </dependencies>
> > 
> > </project>
> > 
> > 
> > 
> > 
> > ____________________________
> > 
> > Jacob Friedman, PMP, PMI-ACP | Optum Scrum Master, Optum Technology
> > 
> > 131 Morristown Rd, Basking Ridge, NJ 07920
> > T     +1 973-348-1521
> > jacob.friedman@optum.com<ma...@optum.com>
> > www.optum.com<http://inside.optum.com/resource/Documents/www.optum.c
> > om
> > 
> > 
> > 
> > This e-mail, including attachments, may include confidential and/or 
> > proprietary information, and may be used only by the person or 
> > entity to which it is addressed. If the reader of this e-mail is not 
> > the intended recipient or his or her authorized agent, the reader is 
> > hereby notified that any dissemination, distribution or copying of 
> > this e-mail is prohibited. If you have received this e-mail in 
> > error, please notify the sender by replying to this message and 
> > delete this
> 
> e-mail immediately.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> This e-mail, including attachments, may include confidential and/or 
> proprietary information, and may be used only by the person or entity 
> to which it is addressed. If the reader of this e-mail is not the 
> intended recipient or his or her authorized agent, the reader is 
> hereby notified that any dissemination, distribution or copying of 
> this e-mail is prohibited. If you have received this e-mail in error, 
> please notify the sender by replying to this message and delete this e-mail immediately.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: 1;34mINFO[m] formatting on console output

Posted by Hervé BOUTEMY <he...@free.fr>.
then JAnsi http://fusesource.github.io/jansi/ should detect this OS and do the 
magic to interpret these ANSI escape codes

This is tested by many people on many Windows 7 machines: I don't know what is 
specific to yours

I opened a PR to JAnsi a few months ago https://github.com/fusesource/jansi/
pull/88 to have a test utility built into JAnsi library to test its features 
independently of any integration (like Maven integrates it): but the PR is not 
yet merged. It's sad, since it's really to diagnose case like yours (when you 
report issues to Maven that are more probably tied to JAnsi)

Can you build this JAnsi snapshot with the PR and test, please?

Regards,

Hervé

Le jeudi 24 août 2017, 18:21:01 CEST Stephen Cobb a écrit :
> That's what I have. I got a GO ProBook 7. It's got an Intel I-5 and a 250
> STATA HD but 4 GB RAM is all but it's not that slow. Runs at about 2.3 GH.
> This is a PHO Utility right?
> 
> On Aug 24, 2017 6:11 PM, "Friedman, Jacob" <ja...@optum.com> wrote:
> 
> Hi Herve,
> 
> I'm using Windows 7 64 Bit machine.
> 
> I'm using cmd to get to the console.
> 
> I'm using maven 3.5
> 
> Thanks,
> Jake
> 
> ____________________________
> 
> Jacob Friedman, PMP, PMI-ACP | Optum
> Scrum Master, Optum Technology
> 
> 131 Morristown Rd, Basking Ridge, NJ 07920
> T       +1 973-348-1521
> jacob.friedman@optum.com
> www.optum.com
> 
> 
> -----Original Message-----
> From: Hervé BOUTEMY [mailto:herve.boutemy@free.fr]
> Sent: Thursday, August 24, 2017 5:43 PM
> To: Maven Users List
> Subject: Re: 1;34mINFO[m] formatting on console output
> 
> can you give info on Maven version and OS used?
> And if you are on Windows, which command line you're using?
> 
> there is no reason to stop working:
> - any Unix supports these ANSI escape codes natively
> - we use JAnsi to add support on Windows
> 
> Regards,
> 
> Hervé
> 
> Le jeudi 24 août 2017, 20:54:26 CEST Friedman, Jacob a écrit :
> > Howdy,
> > 
> > Previously, maven output for my project yielded some slight
> > colorization to easily see test run results, errors etc. The other day
> > it started producing some funky formatting that looked similar to:
> > 
> > 1;34mINFO[m] on many lines.
> > 
> > I did some research and I see there was a recent maven release that
> > actually added some more colorization. I learned via a google search i
> > can use 'mvn test -B' to remove the aforementioned formatting, but the
> > output is black and white. How do I configure it so that it runs in
> > color per the samples videos I've seen online about the new release.
> > 
> > Here's my POM file text in case that helps troubleshoot:
> > <project xmlns="http://maven.apache.org/POM/4.0.0"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > http://maven.apache.org/maven-v4_0_0.xsd">
> > <modelVersion>4.0.0</modelVersion>
> > 
> >   <groupId>cloud</groupId>
> >   <artifactId>PINR</artifactId>
> >   <packaging>jar</packaging>
> >   <version>1.0-SNAPSHOT</version>
> >   <name>PINR</name>
> >   <url>http://maven.apache.org</url>
> >   
> >    <properties>
> >    
> >        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> >   
> >   </properties>
> >   <build>
> >   
> >        <resources>
> >        <resource>
> >        
> >         <directory>src/main/java/resources</directory>
> >         <filtering>true</filtering>
> >       
> >       </resource>
> >       
> >        </resources>
> >   
> >   <plugins>
> >   
> >       <plugin>
> >       
> >         <groupId>org.apache.maven.plugins</groupId>
> >         <artifactId>maven-surefire-plugin</artifactId>
> >         <version>2.20</version>
> >         
> >                <configuration>
> >                
> >                  <suiteXmlFiles>
> >                  
> >                    <suiteXmlFile>testng.xml</suiteXmlFile>
> >                  
> >                  </suiteXmlFiles>
> >                  <testFailureIgnore>true</testFailureIgnore>
> >                  
> >                            </configuration>
> >       
> >       </plugin>
> > 
> > </plugins>
> > 
> >   </build>
> >   
> >   <dependencies>
> >   
> >     <dependency>
> >     
> >       <groupId>junit</groupId>
> >       <artifactId>junit</artifactId>
> >       <version>3.8.1</version>
> >       <scope>test</scope>
> >     
> >     </dependency>
> >     
> >      <dependency>
> >      
> >         <groupId>org.seleniumhq.selenium</groupId>
> >         <artifactId>selenium-java</artifactId>
> >         <version>3.4.0</version>
> >     
> >     </dependency>
> >     
> >        <dependency>
> >   
> >   <groupId>org.testng</groupId>
> >   <artifactId>testng</artifactId>
> >   <version>6.8</version>
> >   <scope>compile</scope>
> >   
> >        </dependency>
> >   
> >   <dependency>
> >   
> >     <groupId>org.apache.logging.log4j</groupId>
> >     <artifactId>log4j-api</artifactId>
> >     <version>2.8.2</version>
> >   
> >   </dependency>
> >   <dependency>
> >   
> >     <groupId>org.apache.logging.log4j</groupId>
> >     <artifactId>log4j-core</artifactId>
> >     <version>2.8.2</version>
> >   
> >   </dependency>
> > 
> > <dependency>
> > 
> >     <groupId>com.aventstack</groupId>
> >     <artifactId>extentreports</artifactId>
> >     <version>3.0.6</version>
> > 
> > </dependency>
> > 
> >        <dependency>
> >     
> >     <groupId>com.relevantcodes</groupId>
> >     <artifactId>extentreports</artifactId>
> >     <version>2.41.2</version>
> > 
> > </dependency>
> > 
> > <dependency>
> > 
> >     <groupId>com.saucelabs</groupId>
> >     <artifactId>sauce_testng</artifactId>
> >     <version>2.1.18</version>
> >     <scope>test</scope>
> > 
> > </dependency>
> > 
> >   </dependencies>
> > 
> > </project>
> > 
> > 
> > 
> > 
> > ____________________________
> > 
> > Jacob Friedman, PMP, PMI-ACP | Optum
> > Scrum Master, Optum Technology
> > 
> > 131 Morristown Rd, Basking Ridge, NJ 07920
> > T     +1 973-348-1521
> > jacob.friedman@optum.com<ma...@optum.com>
> > www.optum.com<http://inside.optum.com/resource/Documents/www.optum.com
> > 
> > 
> > 
> > This e-mail, including attachments, may include confidential and/or
> > proprietary information, and may be used only by the person or entity
> > to which it is addressed. If the reader of this e-mail is not the
> > intended recipient or his or her authorized agent, the reader is
> > hereby notified that any dissemination, distribution or copying of
> > this e-mail is prohibited. If you have received this e-mail in error,
> > please notify the sender by replying to this message and delete this
> 
> e-mail immediately.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: 1;34mINFO[m] formatting on console output

Posted by Stephen Cobb <co...@gmail.com>.
That's what I have. I got a GO ProBook 7. It's got an Intel I-5 and a 250
STATA HD but 4 GB RAM is all but it's not that slow. Runs at about 2.3 GH.
This is a PHO Utility right?

On Aug 24, 2017 6:11 PM, "Friedman, Jacob" <ja...@optum.com> wrote:

Hi Herve,

I'm using Windows 7 64 Bit machine.

I'm using cmd to get to the console.

I'm using maven 3.5

Thanks,
Jake

____________________________

Jacob Friedman, PMP, PMI-ACP | Optum
Scrum Master, Optum Technology

131 Morristown Rd, Basking Ridge, NJ 07920
T       +1 973-348-1521
jacob.friedman@optum.com
www.optum.com


-----Original Message-----
From: Hervé BOUTEMY [mailto:herve.boutemy@free.fr]
Sent: Thursday, August 24, 2017 5:43 PM
To: Maven Users List
Subject: Re: 1;34mINFO[m] formatting on console output

can you give info on Maven version and OS used?
And if you are on Windows, which command line you're using?

there is no reason to stop working:
- any Unix supports these ANSI escape codes natively
- we use JAnsi to add support on Windows

Regards,

Hervé

Le jeudi 24 août 2017, 20:54:26 CEST Friedman, Jacob a écrit :
> Howdy,
>
> Previously, maven output for my project yielded some slight
> colorization to easily see test run results, errors etc. The other day
> it started producing some funky formatting that looked similar to:
>
> 1;34mINFO[m] on many lines.
>
> I did some research and I see there was a recent maven release that
> actually added some more colorization. I learned via a google search i
> can use 'mvn test -B' to remove the aforementioned formatting, but the
> output is black and white. How do I configure it so that it runs in
> color per the samples videos I've seen online about the new release.
>
> Here's my POM file text in case that helps troubleshoot:
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
>   <groupId>cloud</groupId>
>   <artifactId>PINR</artifactId>
>   <packaging>jar</packaging>
>   <version>1.0-SNAPSHOT</version>
>   <name>PINR</name>
>   <url>http://maven.apache.org</url>
>    <properties>
>        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>   </properties>
>   <build>
>        <resources>
>        <resource>
>         <directory>src/main/java/resources</directory>
>         <filtering>true</filtering>
>       </resource>
>        </resources>
>
>   <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <version>2.20</version>
>
>
>                <configuration>
>                  <suiteXmlFiles>
>                    <suiteXmlFile>testng.xml</suiteXmlFile>
>                  </suiteXmlFiles>
>                  <testFailureIgnore>true</testFailureIgnore>
>                            </configuration>
>
>       </plugin>
> </plugins>
>
>
>   </build>
>
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>test</scope>
>     </dependency>
>
>      <dependency>
>         <groupId>org.seleniumhq.selenium</groupId>
>         <artifactId>selenium-java</artifactId>
>         <version>3.4.0</version>
>     </dependency>
>
>        <dependency>
>   <groupId>org.testng</groupId>
>   <artifactId>testng</artifactId>
>   <version>6.8</version>
>   <scope>compile</scope>
>        </dependency>
>
>   <dependency>
>     <groupId>org.apache.logging.log4j</groupId>
>     <artifactId>log4j-api</artifactId>
>     <version>2.8.2</version>
>   </dependency>
>   <dependency>
>     <groupId>org.apache.logging.log4j</groupId>
>     <artifactId>log4j-core</artifactId>
>     <version>2.8.2</version>
>   </dependency>
> <dependency>
>     <groupId>com.aventstack</groupId>
>     <artifactId>extentreports</artifactId>
>     <version>3.0.6</version>
> </dependency>
>        <dependency>
>     <groupId>com.relevantcodes</groupId>
>     <artifactId>extentreports</artifactId>
>     <version>2.41.2</version>
> </dependency>
>
> <dependency>
>     <groupId>com.saucelabs</groupId>
>     <artifactId>sauce_testng</artifactId>
>     <version>2.1.18</version>
>     <scope>test</scope>
> </dependency>
>
>   </dependencies>
> </project>
>
>
>
>
> ____________________________
>
> Jacob Friedman, PMP, PMI-ACP | Optum
> Scrum Master, Optum Technology
>
> 131 Morristown Rd, Basking Ridge, NJ 07920
> T     +1 973-348-1521
> jacob.friedman@optum.com<ma...@optum.com>
> www.optum.com<http://inside.optum.com/resource/Documents/www.optum.com
> >
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the
> intended recipient or his or her authorized agent, the reader is
> hereby notified that any dissemination, distribution or copying of
> this e-mail is prohibited. If you have received this e-mail in error,
> please notify the sender by replying to this message and delete this
e-mail immediately.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

RE: 1;34mINFO[m] formatting on console output

Posted by "Friedman, Jacob" <ja...@optum.com>.
Hi Herve,

I'm using Windows 7 64 Bit machine.

I'm using cmd to get to the console.

I'm using maven 3.5

Thanks,
Jake

____________________________
	
Jacob Friedman, PMP, PMI-ACP | Optum
Scrum Master, Optum Technology

131 Morristown Rd, Basking Ridge, NJ 07920 
T 	+1 973-348-1521
jacob.friedman@optum.com
www.optum.com


-----Original Message-----
From: Hervé BOUTEMY [mailto:herve.boutemy@free.fr] 
Sent: Thursday, August 24, 2017 5:43 PM
To: Maven Users List
Subject: Re: 1;34mINFO[m] formatting on console output

can you give info on Maven version and OS used?
And if you are on Windows, which command line you're using?

there is no reason to stop working:
- any Unix supports these ANSI escape codes natively
- we use JAnsi to add support on Windows

Regards,

Hervé

Le jeudi 24 août 2017, 20:54:26 CEST Friedman, Jacob a écrit :
> Howdy,
> 
> Previously, maven output for my project yielded some slight 
> colorization to easily see test run results, errors etc. The other day 
> it started producing some funky formatting that looked similar to:
> 
> 1;34mINFO[m] on many lines.
> 
> I did some research and I see there was a recent maven release that 
> actually added some more colorization. I learned via a google search i 
> can use 'mvn test -B' to remove the aforementioned formatting, but the 
> output is black and white. How do I configure it so that it runs in 
> color per the samples videos I've seen online about the new release.
> 
> Here's my POM file text in case that helps troubleshoot:
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
>   <groupId>cloud</groupId>
>   <artifactId>PINR</artifactId>
>   <packaging>jar</packaging>
>   <version>1.0-SNAPSHOT</version>
>   <name>PINR</name>
>   <url>http://maven.apache.org</url>
>    <properties>
>        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>   </properties>
>   <build>
>        <resources>
>        <resource>
>         <directory>src/main/java/resources</directory>
>         <filtering>true</filtering>
>       </resource>
>        </resources>
> 
>   <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <version>2.20</version>
> 
> 
>                <configuration>
>                  <suiteXmlFiles>
>                    <suiteXmlFile>testng.xml</suiteXmlFile>
>                  </suiteXmlFiles>
>                  <testFailureIgnore>true</testFailureIgnore>
>                            </configuration>
> 
>       </plugin>
> </plugins>
> 
> 
>   </build>
> 
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>test</scope>
>     </dependency>
> 
>      <dependency>
>         <groupId>org.seleniumhq.selenium</groupId>
>         <artifactId>selenium-java</artifactId>
>         <version>3.4.0</version>
>     </dependency>
> 
>        <dependency>
>   <groupId>org.testng</groupId>
>   <artifactId>testng</artifactId>
>   <version>6.8</version>
>   <scope>compile</scope>
>        </dependency>
> 
>   <dependency>
>     <groupId>org.apache.logging.log4j</groupId>
>     <artifactId>log4j-api</artifactId>
>     <version>2.8.2</version>
>   </dependency>
>   <dependency>
>     <groupId>org.apache.logging.log4j</groupId>
>     <artifactId>log4j-core</artifactId>
>     <version>2.8.2</version>
>   </dependency>
> <dependency>
>     <groupId>com.aventstack</groupId>
>     <artifactId>extentreports</artifactId>
>     <version>3.0.6</version>
> </dependency>
>        <dependency>
>     <groupId>com.relevantcodes</groupId>
>     <artifactId>extentreports</artifactId>
>     <version>2.41.2</version>
> </dependency>
> 
> <dependency>
>     <groupId>com.saucelabs</groupId>
>     <artifactId>sauce_testng</artifactId>
>     <version>2.1.18</version>
>     <scope>test</scope>
> </dependency>
> 
>   </dependencies>
> </project>
> 
> 
> 
> 
> ____________________________
> 
> Jacob Friedman, PMP, PMI-ACP | Optum
> Scrum Master, Optum Technology
> 
> 131 Morristown Rd, Basking Ridge, NJ 07920
> T     +1 973-348-1521
> jacob.friedman@optum.com<ma...@optum.com>
> www.optum.com<http://inside.optum.com/resource/Documents/www.optum.com
> >
> 
> 
> This e-mail, including attachments, may include confidential and/or 
> proprietary information, and may be used only by the person or entity 
> to which it is addressed. If the reader of this e-mail is not the 
> intended recipient or his or her authorized agent, the reader is 
> hereby notified that any dissemination, distribution or copying of 
> this e-mail is prohibited. If you have received this e-mail in error, 
> please notify the sender by replying to this message and delete this e-mail immediately.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: 1;34mINFO[m] formatting on console output

Posted by Hervé BOUTEMY <he...@free.fr>.
can you give info on Maven version and OS used?
And if you are on Windows, which command line you're using?

there is no reason to stop working:
- any Unix supports these ANSI escape codes natively
- we use JAnsi to add support on Windows

Regards,

Hervé

Le jeudi 24 août 2017, 20:54:26 CEST Friedman, Jacob a écrit :
> Howdy,
> 
> Previously, maven output for my project yielded some slight colorization to
> easily see test run results, errors etc. The other day it started producing
> some funky formatting that looked similar to:
> 
> 1;34mINFO[m] on many lines.
> 
> I did some research and I see there was a recent maven release that actually
> added some more colorization. I learned via a google search i can use 'mvn
> test -B' to remove the aforementioned formatting, but the output is black
> and white. How do I configure it so that it runs in color per the samples
> videos I've seen online about the new release.
> 
> Here's my POM file text in case that helps troubleshoot:
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
>   <groupId>cloud</groupId>
>   <artifactId>PINR</artifactId>
>   <packaging>jar</packaging>
>   <version>1.0-SNAPSHOT</version>
>   <name>PINR</name>
>   <url>http://maven.apache.org</url>
>    <properties>
>        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>   </properties>
>   <build>
>        <resources>
>        <resource>
>         <directory>src/main/java/resources</directory>
>         <filtering>true</filtering>
>       </resource>
>        </resources>
> 
>   <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <version>2.20</version>
> 
> 
>                <configuration>
>                  <suiteXmlFiles>
>                    <suiteXmlFile>testng.xml</suiteXmlFile>
>                  </suiteXmlFiles>
>                  <testFailureIgnore>true</testFailureIgnore>
>                            </configuration>
> 
>       </plugin>
> </plugins>
> 
> 
>   </build>
> 
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>test</scope>
>     </dependency>
> 
>      <dependency>
>         <groupId>org.seleniumhq.selenium</groupId>
>         <artifactId>selenium-java</artifactId>
>         <version>3.4.0</version>
>     </dependency>
> 
>        <dependency>
>   <groupId>org.testng</groupId>
>   <artifactId>testng</artifactId>
>   <version>6.8</version>
>   <scope>compile</scope>
>        </dependency>
> 
>   <dependency>
>     <groupId>org.apache.logging.log4j</groupId>
>     <artifactId>log4j-api</artifactId>
>     <version>2.8.2</version>
>   </dependency>
>   <dependency>
>     <groupId>org.apache.logging.log4j</groupId>
>     <artifactId>log4j-core</artifactId>
>     <version>2.8.2</version>
>   </dependency>
> <dependency>
>     <groupId>com.aventstack</groupId>
>     <artifactId>extentreports</artifactId>
>     <version>3.0.6</version>
> </dependency>
>        <dependency>
>     <groupId>com.relevantcodes</groupId>
>     <artifactId>extentreports</artifactId>
>     <version>2.41.2</version>
> </dependency>
> 
> <dependency>
>     <groupId>com.saucelabs</groupId>
>     <artifactId>sauce_testng</artifactId>
>     <version>2.1.18</version>
>     <scope>test</scope>
> </dependency>
> 
>   </dependencies>
> </project>
> 
> 
> 
> 
> ____________________________
> 
> Jacob Friedman, PMP, PMI-ACP | Optum
> Scrum Master, Optum Technology
> 
> 131 Morristown Rd, Basking Ridge, NJ 07920
> T     +1 973-348-1521
> jacob.friedman@optum.com<ma...@optum.com>
> www.optum.com<http://inside.optum.com/resource/Documents/www.optum.com>
> 
> 
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: 1;34mINFO[m] formatting on console output

Posted by Bill Mair <bi...@billmairsolutions.ltd.uk>.
Hi,

those a bash colour control sequences. I can only assume that you are
"not" running mvn in bash any more?

See: http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html

Regards,

    Bill


On 24/08/17 21:54, Friedman, Jacob wrote:
> Howdy,
>
> Previously, maven output for my project yielded some slight colorization to easily see test run results, errors etc. The other day it started producing some funky formatting that looked similar to:
>
> 1;34mINFO[m] on many lines.
>
> I did some research and I see there was a recent maven release that actually added some more colorization. I learned via a google search i can use 'mvn test -B' to remove the aforementioned formatting, but the output is black and white. How do I configure it so that it runs in color per the samples videos I've seen online about the new release.
>
> Here's my POM file text in case that helps troubleshoot:
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>cloud</groupId>
>   <artifactId>PINR</artifactId>
>   <packaging>jar</packaging>
>   <version>1.0-SNAPSHOT</version>
>   <name>PINR</name>
>   <url>http://maven.apache.org</url>
>    <properties>
>        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>   </properties>
>   <build>
>        <resources>
>        <resource>
>         <directory>src/main/java/resources</directory>
>         <filtering>true</filtering>
>       </resource>
>        </resources>
>
>   <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <version>2.20</version>
>
>
>                <configuration>
>                  <suiteXmlFiles>
>                    <suiteXmlFile>testng.xml</suiteXmlFile>
>                  </suiteXmlFiles>
>                  <testFailureIgnore>true</testFailureIgnore>
>                            </configuration>
>
>       </plugin>
> </plugins>
>
>
>   </build>
>
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>test</scope>
>     </dependency>
>
>      <dependency>
>         <groupId>org.seleniumhq.selenium</groupId>
>         <artifactId>selenium-java</artifactId>
>         <version>3.4.0</version>
>     </dependency>
>
>        <dependency>
>   <groupId>org.testng</groupId>
>   <artifactId>testng</artifactId>
>   <version>6.8</version>
>   <scope>compile</scope>
>        </dependency>
>
>   <dependency>
>     <groupId>org.apache.logging.log4j</groupId>
>     <artifactId>log4j-api</artifactId>
>     <version>2.8.2</version>
>   </dependency>
>   <dependency>
>     <groupId>org.apache.logging.log4j</groupId>
>     <artifactId>log4j-core</artifactId>
>     <version>2.8.2</version>
>   </dependency>
> <dependency>
>     <groupId>com.aventstack</groupId>
>     <artifactId>extentreports</artifactId>
>     <version>3.0.6</version>
> </dependency>
>        <dependency>
>     <groupId>com.relevantcodes</groupId>
>     <artifactId>extentreports</artifactId>
>     <version>2.41.2</version>
> </dependency>
>
> <dependency>
>     <groupId>com.saucelabs</groupId>
>     <artifactId>sauce_testng</artifactId>
>     <version>2.1.18</version>
>     <scope>test</scope>
> </dependency>
>
>   </dependencies>
> </project>
>
>
>
>
> ____________________________
>
> Jacob Friedman, PMP, PMI-ACP | Optum
> Scrum Master, Optum Technology
>
> 131 Morristown Rd, Basking Ridge, NJ 07920
> T     +1 973-348-1521
> jacob.friedman@optum.com<ma...@optum.com>
> www.optum.com<http://inside.optum.com/resource/Documents/www.optum.com>
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>