maven-dependency-plugin icon indicating copy to clipboard operation
maven-dependency-plugin copied to clipboard

[MDEP-845] - adding skipColors toggle to list mojo to enable to not write content with colors for an easier parsing

Open rmannibucau opened this issue 2 years ago • 3 comments

Main issue: the fact the output is not deterministic when dumping content to a file until you always disable colors (otherwise you often have a difference between local and CI outputs). This PR just adds a toggle to always disable the colors for the output for list mojo.

Following this checklist to help us incorporate your contribution quickly and easily:

  • [X] Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
  • [X] Each commit in the pull request should have a meaningful subject line and body.
  • [X] Format the pull request title like [MDEP-XXX] - Fixes bug in ApproximateQuantiles, where you replace MDEP-XXX with the appropriate JIRA issue. Best practice is to use the JIRA issue title in the pull request title and in the first line of the commit message.
  • [X] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • [X] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • [ ] You have run the integration tests successfully (mvn -Prun-its clean verify).

rmannibucau avatar Mar 13 '23 09:03 rmannibucau

Is there a use case for writing control characters to a file? Instead of adding another option, can we skip colors automatically when writing to a file?

buerkle avatar Oct 25 '23 17:10 buerkle

This can be solved with mvn -B as well.

michael-o avatar Jun 09 '24 10:06 michael-o

Resolve #1351

jira-importer avatar Jun 18 '25 08:06 jira-importer