Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use coloured output #21

Open
mfoo opened this issue Jan 15, 2023 · 1 comment
Open

Use coloured output #21

mfoo opened this issue Jan 15, 2023 · 1 comment

Comments

@mfoo
Copy link
Owner

mfoo commented Jan 15, 2023

The plugin should support Maven's Batch Mode (no colours) and default to using colours if the output is a TTY.

As an example, the NodeJS libyear plugin output looks like this:

image

The intention is to highlight how outdated each package is when the Maven output is scrolling past.

@mfoo mfoo modified the milestone: Release 1.0.0 Jan 15, 2023
@mfoo
Copy link
Owner Author

mfoo commented Jan 28, 2023

This is not so simple - Maven uses SLF4J which has no native support for colour. I may be able to add a different logger implementation to the classpath for the plugin invocation though and have SLF4J use that, not the default one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant