Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-839

dependency:list should output a plain list whe used with a file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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:

      1. First line in the file is empty
      2. Second line says 'The following files have been resolved:'
      3. next lines are indented
      4. ANSI Escape Characters are emmited e.g.  – module maven.core (auto)

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            laeubi Christoph Läubrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: