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

Inline EmptyScanner into build context #55

Closed
wants to merge 1 commit into from

Conversation

laeubi
Copy link
Collaborator

@laeubi laeubi commented Nov 23, 2022

EmptyScanner is actually only used (and useful) in the DefaultBuildContext and should be a private final inner class to not blow the API that needs to be maintained.

Fix #46

EmptyScanner is actually only used (and useful) in the
DefaultBuildContext and should be a private final inner class to not
blow the API that needs to be maintained.

Fix codehaus-plexus#46
@laeubi
Copy link
Collaborator Author

laeubi commented Nov 23, 2022

@olamy can you review?

@kwin
Copy link
Contributor

kwin commented Dec 5, 2022

A bit dangerous as consumers could have used EmptyScanner (for whatever reason). I wouldn't touch the API here just for cleanup purposes...

@laeubi
Copy link
Collaborator Author

laeubi commented Dec 5, 2022

This API is actually used nowhere else as it has a new group ID and m2e was the only provider here and there is no use for the empty scanner there.

And exactly for "consumers could have used EmptyScanner (for whatever reason)" I like to get rid of it for the new API (probably even get rid of scanner at all).

@kwin
Copy link
Contributor

kwin commented Dec 5, 2022

Even though the coordinates have changed I would rather keep the API backwards compatible to ease updates. A new API 2.0 should rather be developed in Maven 4….

@laeubi
Copy link
Collaborator Author

laeubi commented Dec 5, 2022

Why? m2e will not need any backward compatibility and yes... maven 4... lets talk about that in 2245 maybe... I don't wait that long.

An for all that need "backwardcompatible" could simply use the old API, so there is not any value at all, most of the new requirements for such API will not be backward compatible.

@laeubi
Copy link
Collaborator Author

laeubi commented Jun 2, 2023

Obsolete now

@laeubi laeubi closed this Jun 2, 2023
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.

Inline EmptyScanner into build context
2 participants