maven-dependency-plugin
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
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 replaceMDEP-XXXwith 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 verifyto 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).
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?
This can be solved with mvn -B as well.
Resolve #1351