Skip to content

Migrate from JAnsi to JLine, introduce MessageBuilderFactory#11874

Draft
slawekjaranowski wants to merge 1 commit intoapache:maven-3.10.xfrom
slawekjaranowski:jline
Draft

Migrate from JAnsi to JLine, introduce MessageBuilderFactory#11874
slawekjaranowski wants to merge 1 commit intoapache:maven-3.10.xfrom
slawekjaranowski:jline

Conversation

@slawekjaranowski
Copy link
Copy Markdown
Member

What changed:

  • Replaced JAnsi with JLine for terminal output handling.
  • Added new MessageBuilder and MessageBuilderFactory for JLine integration as replacement for maven-shared-utils

Why:

  • JAnsi is going to EOL

@slawekjaranowski slawekjaranowski self-assigned this Apr 1, 2026
@slawekjaranowski slawekjaranowski added the enhancement New feature or request label Apr 1, 2026
@slawekjaranowski slawekjaranowski added this to the 3.10.0 milestone Apr 1, 2026
@cstamas
Copy link
Copy Markdown
Member

cstamas commented Apr 1, 2026

Cool beanz! But, I am +0 on this... I am not blocking anything, so I am not blocking this, but this change is big, and may make "migration from 3.9.x to 3.10.x" a bit harder than anticipated? (unsure, I hope I am wrong).

@slawekjaranowski
Copy link
Copy Markdown
Member Author

Cool beanz! But, I am +0 on this... I am not blocking anything, so I am not blocking this, but this change is big, and may make "migration from 3.9.x to 3.10.x" a bit harder than anticipated? (unsure, I hope I am wrong).

I added org.fusesource.jansi.Ansi implentation with fallback to JLine
org.fusesource. package is exported so everything works with old implentation from maven-shared

Most code is copied from master branch

Also I hope that in 3.10.x we can introduce new classes, api - plugins will can drop dependencies to maven-shared when only use for message colorize

What changed:
- Replaced JAnsi with JLine for terminal output handling.
- Added new MessageBuilder and MessageBuilderFactory for JLine integration as replacement for maven-shared-utils

Why:
- JAnsi is going to EOL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request mvn3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants