title: How to include folder with resource in Maven build
body: <p>I have a robot resource file within a folder and want to include both the folder and robot resource file when I perform a Maven install.</p>
  
  <p>Here is the project structure:</p>
  
  <p>Project > Folder > robot resource file</p>
  
  <p>Project > src > main > java ...</p>
  
  <p>In my pom.xml file, I've added:</p>
  
  <pre><code>&lt;resources&gt;
      &lt;resource&gt;
          &lt;directory&gt;/Project/Folder&lt;/directory&gt;
          &lt;includes&gt;
              &lt;include&gt;**/*.robot&lt;/include&gt;
          &lt;/includes&gt;
      &lt;/resource&gt;
  &lt;/resources&gt; 
  </code></pre>
  
  <p>When I perform Maven install, I only see the robot resource file inside the jar but don't see the Folder for it. How can I make it so that the robot resource file is inside the Folder? I am new to Maven so I'd appreciate any guidance. I've seen this reference but this doesn't provide the answer: <a href="http://maven.apache.org/plugins-archives/maven-resources-plugin-2.6/examples/resource-directory.html" rel="nofollow noreferrer">http://maven.apache.org/plugins-archives/maven-resources-plugin-2.6/examples/resource-directory.html</a></p>
  
  <p>Thank you!</p>