title: Maven - maven-war-plugin change destination directory (other than webapp)
body: <p>I'm using springboot but I don't want it to copy my webapp folder during maven-war-plugin task because it contains a lot of files like bower_components folder. I'm using grunt so I'm adding another folder to my war.</p>
  
  <pre><code>[INFO] --- maven-war-plugin:2.6:war (default-war) @ saturne ---
  [INFO] Packaging webapp
  [INFO] Assembling webapp [saturne] in [D:\Workspaces\MyProject\trunk\target\saturne-1.0.0]
  [INFO] Processing war project
  ...
  [INFO] Copying webapp resources [D:\Workspaces\MyProject\trunk\src\main\webapp]
  </code></pre>
  
  <p>I tried a lot of things like excluding it in <code>&lt;resources&gt;</code> or like</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.6&lt;/version&gt;
      &lt;configuration&gt;
          &lt;webResources&gt;
              &lt;resource&gt;
                  &lt;directory&gt;src/main/webapp&lt;/directory&gt;
                  &lt;exclude&gt;**/*&lt;/exclude&gt;
              &lt;/resource&gt;
          &lt;/webResources&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>I can't find a way to exclude it from resource copy.</p>