Skip to content

Avoid an AssertionError with Maven folds - #4957

Merged
mbien merged 1 commit into
apache:masterfrom
jglick:foldsBroken
Dec 8, 2022
Merged

mbien merged 1 commit into
apache:masterfrom
jglick:foldsBroken

Conversation

@jglick

@jglick jglick commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

Fixes #3675 by just disabling output window folds when they would otherwise lead to errors and loss of output. Observed when using mvnd with forked executions in a multimodule build. (The same project gets folds when building one module at a time, or using mvn, and probably also when skipping the mojo causing a forked execution though I did not manage to test that.)

@lkishalmi lkishalmi added this to the NB17 milestone Nov 10, 2022
@lkishalmi lkishalmi added the Maven [ci] enable "build tools" tests label Nov 10, 2022
@mbien

mbien commented Nov 11, 2022 •

Copy link
Copy Markdown
Member

restarting tests so that they pick up the label using our super secret restart button.

edit: glad to see someone using mvnd with NetBeans :)

@apache apache locked and limited conversation to collaborators Nov 11, 2022
@apache apache unlocked this conversation Nov 11, 2022

@sdedic sdedic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, Jesse.

@jglick

jglick commented Nov 11, 2022

Copy link
Copy Markdown
Contributor Author

glad to see someone using mvnd with NetBeans

Other than this issue, it works well! (Almost a satisfactory replacement for compile-on-save, unless you have snapshot dependencies on other projects you are actively editing.) For large multimodule reactors I prefer to run mvnd from a terminal to get parallel builds, which involves complex (multiline) terminal rendering not compatible with an append-style output window.

@mbien mbien left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

awesome, lets get this merged.

@mbien
mbien merged commit 8bec57f into apache:master Dec 8, 2022
@jglick
jglick deleted the foldsBroken branch December 8, 2022 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maven [ci] enable "build tools" tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maven threaded build output

4 participants