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

Upgrade to Maven 4.0.0-rc-1 #1189

Merged
merged 6 commits into from
Nov 26, 2024
Merged

Upgrade to Maven 4.0.0-rc-1 #1189

merged 6 commits into from
Nov 26, 2024

Conversation

gnodet
Copy link
Contributor

@gnodet gnodet commented Nov 7, 2024

This PR updates mvnd to Maven 4.0.0-rc-1

@cstamas
Copy link
Member

cstamas commented Nov 13, 2024

All fine, manually tested as well, but one problem (and related IT) fails: raw streams

RawStreamsTest.version:55 Output should contain PrintOut{payload='Hello'} ==> expected: <true> but was: <false>

OTOH, the Hello string is in daemon output log.

IMO this is a problem in maven and not mvnd.

@cstamas
Copy link
Member

cstamas commented Nov 22, 2024

All looks good, tested locally.

@gnodet
Copy link
Contributor Author

gnodet commented Nov 22, 2024

Fixes #1203 and #1204.

terminal -> doConfigureWithTerminal(context, terminal));
context.terminal = MessageUtils.getTerminal();
context.closeables.add(MessageUtils::systemUninstall);
MessageUtils.registerShutdownHook();
Copy link
Member

Choose a reason for hiding this comment

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

We should remove this from here, and install it only once in LookupInvoker maybe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maven 3 did not create a Terminal, so this was needed. But now it should go away.

Copy link
Member

Choose a reason for hiding this comment

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

I'd leave all this as is, as shutdown hook is also removed on uninstall, hence IMO we are ok. Also, mvnd creates "exec" terminal while mvn not.

We can further simplify later.

@cstamas cstamas mentioned this pull request Nov 22, 2024
@gnodet gnodet force-pushed the beta-6 branch 2 times, most recently from f7a0bed to 62ab9a8 Compare November 25, 2024 09:43
@gnodet gnodet changed the title Upgrade to beta-6 Upgrade to Maven 4.0.0-rc-1 Nov 26, 2024
@gnodet gnodet merged commit 083a28b into apache:master Nov 26, 2024
5 checks passed
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