Skip to content

Fix Java 25 build compatibility: replace antlr-maven-plugin with exec-maven-plugin - #114

Open
speedytom wants to merge 1 commit into
apache:masterfrom
speedytom:fix/java-25-antlr-compatibility
Open

Fix Java 25 build compatibility: replace antlr-maven-plugin with exec-maven-plugin#114
speedytom wants to merge 1 commit into
apache:masterfrom
speedytom:fix/java-25-antlr-compatibility

Conversation

@speedytom

Copy link
Copy Markdown

Mention that ANTLR 2 invokes System.exit(), causing build failures on modern Java runtimes when executed in-process, and that delegating source generation to Phase 1 via exec-maven-plugin resolves the issue.

@elecharny

Copy link
Copy Markdown
Contributor

Hi,

any reason to embed the generated Antlr files in your commit?

Thanks!

@speedytom

Copy link
Copy Markdown
Author

Hi,

I do know the rules for generating files in your repo. I wanted military approach "hit and run".
You can remove them without any problem.

Regards

ST

@elecharny

Copy link
Copy Markdown
Contributor

Okie, no problem and thanks for the fix!

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