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

[MSHARED-1269] Deprecate maven-shared-utils #154

Closed
wants to merge 1 commit into from

Conversation

gnodet
Copy link
Contributor

@gnodet gnodet commented Jun 12, 2023

JIRA issue: https://issues.apache.org/jira/browse/MSHARED-1269

Maven-shared-utils was created so that plexus-utils could be deprecated on kinda come back into the maven land. However, this did never happened and we end-up with the exact same library duplicated and duplicate maintenance effort.

The only problematic point is the org.apache.maven.shared.utils.logging package which is used by several components and does not exists in plexus-utils. Maven 4 provides a similar API already with the MessageBuilderFactory service which allows the creation of MessageBuilder. I thus propose to get rid completely of maven-shared-utils.

The maven PR get rid of maven-shared-utils in maven core.

Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

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

IMHO plexus-utils is the one that needs to go, not this. Plexus is not an apache project, and doesn't have the same controls or support as Maven. The preference order is

JDK > Apache Commons > maben-shared-utils > plexus

@elharo
Copy link
Contributor

elharo commented Jun 16, 2023

Where we can get rid of this, do so. There are many cases where there's better in the JDK or Apache commons these days. But we should not replace this with plexus utils.

@elharo
Copy link
Contributor

elharo commented Jun 17, 2023

The more I look at this the more places I find where these two have diverged. E.g. plexus-utils does not seem to have any equivalent of org.apache.maven.shared.utils.logging. Even after a package rename it's not a drop-in replacement. I don't think this proposal is feasible.

@elharo elharo closed this Jun 17, 2023
@slawekjaranowski
Copy link
Member

IMHO plexus-utils is the one that needs to go, not this. Plexus is not an apache project, and doesn't have the same controls or support as Maven. The preference order is

JDK > Apache Commons > maben-shared-utils > plexus

Here I agree with @elharo, even more many plexus components have an unclear licenses.

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