delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/29/08:39:36

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BF71138618CC
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1609249130;
bh=7/YU9/fInraXHbG31KhAp9mvY39NSCrlmoO1rAtzy5k=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=bl/sXkhzxzFf9YbxDnp+ofofFm2C/W8LAEj7kkIypRKPsk7Oiu11+rFTrkwYFOBlb
+xikd2819Xr1QGuipNrOqNhccti03hORj+TDfsmH2H/FpjfjBoB5O5n8/+LpISJolt
GEdbcc6HgJE3tKFRKEKkf6hh2s3CnwXfdtXGSTdo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 395FD3858006
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 0BTDcH0R030643
X-Nifty-SrcIP: [122.249.67.108]
Date: Tue, 29 Dec 2020 22:38:20 +0900
To: cygwin AT cygwin DOT com
Subject: Re: cygwin introduces spaces in the console output when running a
maven build for a java project in windows 10
Message-Id: <20201229223820.7a010585bbfd0973faf618ae@nifty.ne.jp>
In-Reply-To: <CAPjM6w-mPf5h=xR2MK-cu-Eb7g313A3cZBcOuQ=ygTL2_dOmFw@mail.gmail.com>
References: <CAPjM6w-mPf5h=xR2MK-cu-Eb7g313A3cZBcOuQ=ygTL2_dOmFw AT mail DOT gmail DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Tue, 29 Dec 2020 11:59:29 +0000
Valentin Brasov via Cygwin <cygwin AT cygwin DOT com> wrote:

> Hi,
> 
> Check the following output fragment from a cygwin64 terminal on windows 10
> 64bit while running a maven 3 build using java 1.8:
> 
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory C:\proj\t020-domain\src\
>       test\resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile
> (default-testCompile) @ t020-domain ---
> m
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 2 source f          iles to
> C:\proj\t020-domain\target\test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @
> t020-domain                                     ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar)
>             @ t020-domain ---
> [INFO] Building jar: C:\proj\t020-domain\target\t020-domain-80.1-SNAPSHOT.jar
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.4:prepare-agent-integration
> (default-prepare-agent-integration) @36mt020-domain ---
> [INFO] argLine set to
> -javaagent:C:\\Users\\VBO07\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.4\\org.jacoco.agent-0.8.4-runtime.jar=destfile=C:\\proj\\t020-domain\\target\\jacoco-it.exec
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.2:integration-test (default) @
> t020-domain ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.2:verify (default) @ t020-domain
>                                           ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.4:report (default-
>           report) @ t020-domain ---
> [INFO] Skipping JaCoCo execution due to missing execution data file.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.4:report-integration (def
>                  ault-report-integration) @ t020-domain
>  ---
> [INFO] Skipping JaCoCo execution due to missing execution data file.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.8.4:check (default-check) @ t020-domain ---
> [INFO] Skipping JaCoCo execution due to mi          ssing execution
> data file:C:\proj\t020-domain\target\jacoco.exec
> 
> You can see it clearly happening on the lines:
> 
> [INFO] skip non existing resourceDirectory C:\proj\t020-domain\src\
>       test\resources
> 
> and
> 
> [INFO] Compiling 2 source f          iles to
> C:\proj\t020-domain\target\test-classes
> 
> and
> 
> [INFO] --- jacoco-maven-plugin:0.8.4:report (default-
>           report) @ t020-domain ---
> 
> and
> 
> [INFO] --- jacoco-maven-plugin:0.8.4:report-integration (def
>                  ault-report-integration) @ t020-domain
> 
> and
> 
> [INFO] Skipping JaCoCo execution due to mi          ssing execution
> data file:C:\proj\t020-domain\target\jacoco.exec
> 
> Please see attached the output of the command: cygcheck -s -v -r >
> cygcheck.out, with sensitive info (like my username, my employer domain,
> etc, removed)
> 
> How can I fix this?

This is the known problem which has been already fixed in latest jansi.
https://github.com/fusesource/jansi/issues/165

Solution 1:
The most essential solution is to replace jansi library
(jansi-1.17.1.jar) in maven lib directory with latest jansi (v2.1.1).

Solution 2:
Replace cygwin1.dll with the latest snapshot.
https://cygwin.com/snapshots/

Solution 3:
Use workaround such as:
env TERM=cygwin mvn

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019