Charles Oliver Nutter created MDEP-974:
------------------------------------------

             Summary: ANSI color sequences are output to files
                 Key: MDEP-974
                 URL: https://issues.apache.org/jira/browse/MDEP-974
             Project: Maven Dependency Plugin
          Issue Type: Bug
            Reporter: Charles Oliver Nutter
         Attachments: Screenshot 2025-02-06 at 17.38.09.png

In 2017, the output of dependency:list was modified to use color to offset the 
" -- module ..." portion of the resolved resource, following a previous change 
in 2016 to add that text with Java module information. However this colorized 
output is emitted to both the consoleĀ *and* any output file. See the attached 
screenshot.

This output is frequently parsed by other tools to get the list of dependencies 
for a project, and being text output it should not contain ANSI color escape 
sequences.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to