Menu

Make proguard compatible with mojo exec-maven-plugin?

2019-02-04
2019-02-05
  • Stelios Adamantidis

    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

     
  • Eric Lafortune

    Eric Lafortune - 2019-02-05

    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.

     
MongoDB Logo MongoDB