title: maven assembly- sub folder
body: <p>I want to use maven assembly plugin
  assembly </p>
  
  <pre><code>     '&lt;plugin&gt;
              &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;dist&lt;/id&gt;
                      &lt;phase&gt;package&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;single&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;descriptors&gt;
                              &lt;descriptor&gt;src/main/dist.xml&lt;/descriptor&gt;
                          &lt;/descriptors&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;'
  </code></pre>
  
  <p>my descriptor file is :</p>
  
  <pre><code>&lt;assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 
    http://maven.apache.org/xsd/assembly-1.1.2.xsd"&gt;
   &lt;id&gt;dist&lt;/id&gt;
   &lt;formats&gt;
   &lt;format&gt;dir&lt;/format&gt;
    &lt;/formats&gt;
  &lt;files&gt;
  &lt;file&gt;
     &lt;source&gt;pom.xml&lt;/source&gt;
     &lt;outputDirectory&gt;/ET&lt;/outputDirectory&gt;
  &lt;/file&gt;
  
  &lt;/files&gt;
  
   &lt;/assembly&gt;
  </code></pre>
  
  <p>the result is folder hierarchy is:
   ET->  MyProject-MySnapshot-dist  ->    pom.xml</p>
  
  <p>I want the result to be :
   ET->pom.xml</p>
  
  <p>how can i configure it ?</p>