I have an existing java command-line program, that takes a bazillion of arguments and parses them using excellent args4j.
I now want to make a maven plugin mojo that will run the Java code contained in this application.
As of now, I've tried the basic way : replicating each and any command line argument into a mojo parameter. Bu I find this exceptionnally boring and error-prone, as maven mojo javadoc annotations are far less complete and integrated than can be args4j annotations.
So, using maven 3, is there a better way to have my executable run as a maven mojo ? Oh, please don't talk me about exec-maven-plugin, as I find it far too limited in that case (my executable will have to be run using a mix of project settings and user profile ones, and I guess simply calling maven-exec-plugin won't do the trick).