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-8332] Detach CLIng from deprecated Embedder #1882

Merged
merged 10 commits into from
Nov 8, 2024

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Nov 6, 2024

Detach maven-cli from maven-embedder (deprecated). Basically, classes are copied from embedder to cli, while embedder points to old classes and cli to new classes. One important exception is logging: the classes are moved to cli, and embedder modified to use those classes (and dependency reversed: embedder now depends on cli). Reason is Verifier, that still calls into "hack method" of deprecated MavenCli, and then without logging classes move would explode due casting.


https://issues.apache.org/jira/browse/MNG-8332

@cstamas cstamas requested a review from gnodet November 6, 2024 16:05
@cstamas cstamas self-assigned this Nov 6, 2024
@cstamas
Copy link
Member Author

cstamas commented Nov 7, 2024

Now that embedder depends on cli, the extension.xml generation should be fully removed from embedder (not just xsd generation). Make it all in cli and embedder should pull what it needed.

@cstamas cstamas marked this pull request as ready for review November 7, 2024 14:36
Copy link
Contributor

@gnodet gnodet left a comment

Choose a reason for hiding this comment

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

LGMT

@cstamas cstamas merged commit 4f79f2d into apache:master Nov 8, 2024
13 checks passed
@cstamas cstamas deleted the MNG-8332 branch November 8, 2024 08:49
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.

2 participants