Skip to content

Remove maven 2 output parsing, cleanup and some parsing fixes#8265

Merged
mbien merged 1 commit intoapache:masterfrom
mbien:remove-m2-output-parsing
Mar 13, 2025
Merged

Remove maven 2 output parsing, cleanup and some parsing fixes#8265
mbien merged 1 commit intoapache:masterfrom
mbien:remove-m2-output-parsing

Conversation

@mbien
Copy link
Copy Markdown
Member

@mbien mbien commented Feb 20, 2025

  • remove maven 2 specific output parsing
  • fix reactor summary parsing
  • disabled JavadocOutputProcessor since it doesn't do anything atm
  • code cleanup (dead code removal, Java 17 lang level simplifications, default methods for OutputListener)

reactor summary link on failure is working again (useful with --fail-at-end):

reactor-failure-link

@mbien mbien added Code cleanup Label for cleanup done on the Netbeans IDE Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Feb 20, 2025
@mbien mbien added this to the NB26 milestone Feb 20, 2025
nextLine = line.substring(execEventIdx);
line = line.substring(0, execEventIdx);
}
if (line.startsWith("[INFO] Final Memory:")) { //NOI18N
Copy link
Copy Markdown
Member Author

@mbien mbien Feb 21, 2025

Choose a reason for hiding this comment

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

@cstamas pretty sure this is a m2 relict. I do remember the line but since it isn't anywhere except here i suppose it was from m2 times?

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.

Yes, this is not logged anymore

@mbien mbien force-pushed the remove-m2-output-parsing branch from ffca65f to da236cc Compare February 21, 2025 01:23
@mbien mbien force-pushed the remove-m2-output-parsing branch from da236cc to 73fb802 Compare March 11, 2025 22:39
@mbien mbien requested a review from matthiasblaesing March 11, 2025 22:45
Copy link
Copy Markdown
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

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

Looks sane to me. Thank you.

I left some comments inline, you might want to have a look at, but nothing, that would stop integration.

Comment thread platform/openide.io/src/org/openide/windows/OutputListener.java
@mbien mbien removed the ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) label Mar 13, 2025
 - remove maven 2 specific output parsing
 - fix reactor summary parsing
 - disabled JavadocOutputProcessor since it doesn't do anything atm
 - OutputListener has now no-op default methods
 - code cleanup
@mbien mbien added the ci:all-tests [ci] enable all tests label Mar 13, 2025
@mbien mbien force-pushed the remove-m2-output-parsing branch from 73fb802 to 961ab95 Compare March 13, 2025 20:38
Copy link
Copy Markdown
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

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

Only eyeballed, but looks like a nice cleanup. I did not have this in mind, but thanks anyway.

@mbien mbien merged commit ea8e2a3 into apache:master Mar 13, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:all-tests [ci] enable all tests Code cleanup Label for cleanup done on the Netbeans IDE Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants