-
Notifications
You must be signed in to change notification settings - Fork 23
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
[MNG-6915] Add a helper method to get the terminal width #70
Conversation
src/main/java/org/apache/maven/shared/utils/logging/MessageUtils.java
Outdated
Show resolved
Hide resolved
src/main/java/org/apache/maven/shared/utils/logging/MessageUtils.java
Outdated
Show resolved
Hide resolved
pom.xml
Outdated
@@ -70,7 +70,7 @@ | |||
<dependency> | |||
<groupId>org.fusesource.jansi</groupId> | |||
<artifactId>jansi</artifactId> | |||
<version>2.0.1</version> | |||
<version>2.2.0</version> | |||
<optional>true</optional> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this marked optional instead of simply declaring it? It feels like unnecessary complexity. The model code checks for its presence but the test code doesn't seem to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It must be optional, it is Maven that's responsible to provide it and to decide which features are supported.
Maven 3.3.9 and earlier would otherwise have mixed output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, @gnodet! Can you please rebase on master and squash your commits?
649252d
to
f94bb25
Compare
@MartinKanters rebased and squashed |
running through Jenkins now: https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-shared-utils/job/MNG-6915/ |
rebased and squashed as requested
No description provided.