title: Working maven obfuscate example
body: <p>I just want to obfuscate simple maven java app. I use maven-proguard-plugin. All classes main/java must be obfuscated. I try different configs with no luck. The last is:</p>
  
  <pre><code>    &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;com.github.wvengen&lt;/groupId&gt;
              &lt;artifactId&gt;proguard-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.0.6&lt;/version&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;net.sf.proguard&lt;/groupId&gt;
                      &lt;artifactId&gt;proguard-base&lt;/artifactId&gt;
                      &lt;version&gt;4.10&lt;/version&gt;
                      &lt;scope&gt;runtime&lt;/scope&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
              &lt;executions&gt;
                 &lt;execution&gt;
                     &lt;phase&gt;package&lt;/phase&gt;
                     &lt;goals&gt;&lt;goal&gt;proguard&lt;/goal&gt;&lt;/goals&gt;
                 &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;configuration&gt;
                  &lt;proguardVersion&gt;4.10&lt;/proguardVersion&gt;
                  &lt;options&gt;
                      &lt;option&gt;-keep class *{*;}&lt;/option&gt;
                  &lt;/options&gt;
                  &lt;libs&gt;
                      &lt;lib&gt;${java.home}/lib/rt.jar&lt;/lib&gt;
                  &lt;/libs&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>result - all classes exist in target jar, but not obfuscated, jad decompiles it well. How to do obfuscate right?
  Can't understand - is just obfuscate all source are very uncommon task? All other plugins works out of the box like a charm. Why i must type some strange options in this one? I spent a day already. I want convention over configuration! :)</p>