You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/11/27 22:26:00 UTC
[jira] [Commented] (MDEP-839) dependency:list should output a plain list whe used with a file
[ https://issues.apache.org/jira/browse/MDEP-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17639724#comment-17639724 ]
Michael Osipov commented on MDEP-839:
-------------------------------------
ANSI escapes must not be in the file, that is a bug.
> dependency:list should output a plain list whe used with a file
> ---------------------------------------------------------------
>
> Key: MDEP-839
> URL: https://issues.apache.org/jira/browse/MDEP-839
> Project: Maven Dependency Plugin
> Issue Type: Improvement
> Reporter: Christoph Läubrich
> Priority: Major
>
> There is a parameter to redirect the output to a file:
> https://maven.apache.org/plugins/maven-dependency-plugin/list-mojo.html#outputFile
> This currently has some issues I would not expect when redirecting such content to a file:
> # First line in the file is empty
> # Second line says 'The following files have been resolved:'
> # next lines are indented
> # ANSI Escape Characters are emmited e.g. [36m -- module maven.core[0;1;33m (auto)[m
> What I would expect:
> Each line just contains the raw resolved dependency e.g. "org.apache.maven:maven-core:jar:3.8.6:provided" and no more content is printed out, especially no ANSI Escapes
--
This message was sent by Atlassian Jira
(v8.20.10#820010)