How to make maven generate sources using antlr-plugin and update the jar to contain the classes.
I am using antlr to generate a parser for a simple command line too. But the tool needs to support user specification of commands. So, In my main class I call a code to create a map of commands specified by the user. Using that map I need to modify the grammar and thereby generate a new parser at runtime. Is there any way I can do that using maven? Thankyou.