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

Declare plexus-util dependency to a newer version #49

Open
npepinpe opened this issue Apr 10, 2022 · 0 comments
Open

Declare plexus-util dependency to a newer version #49

npepinpe opened this issue Apr 10, 2022 · 0 comments

Comments

@npepinpe
Copy link
Member

npepinpe commented Apr 10, 2022

It seems Maven 3 has a weird feature to be compatible with Maven 2, where any extension which doesn't declare an explicit plexus-util dependency will get it injected with the 1.1 version.

Since this is dynamic, the dependency plugin doesn't "know" that it's present and thus when you use the go-offline goal, this dependency isn't resolved. It might be simpler then to just add an explicit plexus-util dependency here so that it plays nice with the rest of the ecosystem.

Alternatives is that anyone including this plugin and who wants to go-offline, or wants to enforce dependency convergence, needs to set the plexus utils dependency manually when declaring the plugin.

Source: https://issues.apache.org/jira/browse/MNG-6965

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