title: Maven Resource Plugin Copying Files
body: <p>I currently have some Maven projects which when I install the project I need to copy all files from the conf folder to the target folder.</p>
  
  <pre><code>|-Project
      |--src
      |--conf &lt;--FROM HERE --&gt;
      |--lib
      |--target &lt;--TO HERE--&gt;
  </code></pre>
  
  <p>I have attempted this in the pom.xml to no avail. What am I doing wrong? My plugin part of the pom.xml is below:</p>
  
  <pre><code>&lt;plugin&gt;
  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
  &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
  &lt;version&gt;2.6&lt;/version&gt;
  &lt;executions&gt;
      &lt;execution&gt;
          &lt;id&gt;copy-resources&lt;/id&gt;
          &lt;phase&gt;install&lt;/phase&gt;
          &lt;goals&gt;
              &lt;goal&gt;copy-resources&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
              &lt;outputDirectory&gt;${basedir}/target&lt;/outputDirectory&gt;
              &lt;resources&gt;
                  &lt;resource&gt;
                      &lt;directory&gt;${basedir}/conf&lt;/directory&gt;
                      &lt;includes&gt;
                          &lt;include&gt;*&lt;/include&gt;
                      &lt;/includes&gt;
                  &lt;/resource&gt;
              &lt;/resources&gt;
          &lt;/configuration&gt;
      &lt;/execution&gt;
  &lt;/executions&gt;
  </code></pre>
  
  <p></p>