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

[MNG-7812] Get rid of maven-shared-utils #1158

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

gnodet
Copy link
Contributor

@gnodet gnodet commented Jun 13, 2023

JIRA issue: https://issues.apache.org/jira/browse/MNG-7812

The PR apache/maven-shared-utils#154 propose to deprecate maven-shared-utils, as it's nearly a complete duplicate of plexus-utils / plexus-xml.
This PR brings back the few missing things (the message builder using jansi) by enhancing the v4 api with the missing bits and completely removed the maven-shared-utils dependency.

Given maven-shared-utils is now deprecated (see MSHARED-1269), we need to remove its usage in maven.  Maven core only uses the logging/message related classes from maven-shared-utils, so this PR enhance the initial v4 api with the needed interfaces and move the jansi specific code into maven-embedder
@gnodet gnodet force-pushed the remove-maven-shared-utils branch from 7ea1048 to 1a7c64b Compare June 13, 2023 21:08
@gnodet gnodet changed the title remove maven shared utils Get rid of maven-shared-utils Jun 13, 2023
@gnodet gnodet changed the title Get rid of maven-shared-utils [MNG-7812] Get rid of maven-shared-utils Jun 14, 2023
@gnodet gnodet added this to the 4.0.0-alpha-6 milestone Jun 14, 2023
@cstamas
Copy link
Member

cstamas commented Jun 15, 2023

And shared utils was never exported by maven core, so this is just fine (dump it from core)

@gnodet gnodet merged commit a2d435b into apache:master Jun 15, 2023
* <p>
* Internally, <a href="http://fusesource.github.io/jansi/">Jansi</a> is used to render
* <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#Colors">ANSI colors</a> on any platform.
* @since 3.1.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment should be updated.


/**
* Configurable message styles.
* @since 3.1.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4.0

@gnodet gnodet deleted the remove-maven-shared-utils branch November 18, 2023 21:38
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

Successfully merging this pull request may close these issues.

3 participants