title: How to configure maven jar plugin to exclude properties on profile
body: <p>I have this configuration in my pom</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.2&lt;/version&gt;
      &lt;configuration&gt;
          &lt;excludes&gt;                      
              &lt;exclude&gt;**/logging/*&lt;/exclude&gt;
              &lt;exclude&gt;**/config/*&lt;/exclude&gt;
          &lt;/excludes&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>I use profiles to handle different behaviour from local environment to production environment.
  Is it possible not activate the exclusions when executing mvn install with local profile?
  I tried to set a blank properties on local environment like this 
  
  but the plugin complains.</p>