For the past few days I was trying to make proguard run as a plugin dependency with exec-maven-plugin. The problem is that proguard has a redundant System.exit(0) at the end of main(). As a result this kills the hosting VM (maven in my case) and renders the build unusable.
Currently I have uploaded in my company's maven repo a modified version of proguard without this line and it works. Is there any chance that we can have this in one of the future versions? I will save us the extra effort.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For the past few days I was trying to make proguard run as a plugin dependency with exec-maven-plugin. The problem is that proguard has a redundant
System.exit(0)at the end ofmain(). As a result this kills the hosting VM (maven in my case) and renders the build unusable.Currently I have uploaded in my company's maven repo a modified version of proguard without this line and it works. Is there any chance that we can have this in one of the future versions? I will save us the extra effort.
Thanks
System.exit is the official way to end a stand-alone tool, so it can properly provide a return code -- I can't change that.