title: How do I use Proguard obfuscation while building a "maven-plugin" package?
body: <p>The generated output JAR of a "maven-plugin" project (using the <a href="https://maven.apache.org/plugin-tools/maven-plugin-plugin" rel="noreferrer">maven-plugin-plugin</a>) is broken by the obfuscation performed by the <a href="https://www.guardsquare.com/en/proguard" rel="noreferrer">Proguard</a> tool. Attempting to use the obfuscated JAR as a Maven plugin generates exceptions, such as a <a href="https://maven.apache.org/ref/current/maven-plugin-api/apidocs/org/apache/maven/plugin/MojoExecutionException.html" rel="noreferrer">MojoExecutionException</a>, which terminate the build with an error. What are the proper Proguard configuration options to allow the generation of a working "maven-plugin" JAR containing an automatically generated plugin descriptor?</p>