title: Using maven using non standard directory layout
body: <p>I am trying to apply maven to an existing project which already has a directory structure in place. All I can find from previous question is the following.</p>
  
  <p><a href="https://stackoverflow.com/questions/4040888/maven-directory-structure">Maven directory structure</a></p>
  
  <p>However, my requirement is more detailed. Please see below for the directory structure:</p>
  
  <pre><code> &lt;root dir&gt;
      |
      +--src-java
      |
      +--src-properties
      |
      +--WEB-INF
  </code></pre>
  
  <p>I know we could have something like</p>
  
  <pre><code>&lt;build&gt;
  &lt;sourceDirectory&gt;src-java&lt;/sourceDirectory&gt;
  ...
  &lt;/build&gt;
  </code></pre>
  
  <p>But <code>sourceDirectory</code> is for JAVA source code only, if I'm not mistaken.</p>
  
  <p>For the above structure, how do I declare it in <code>pom.xml</code>? Moving the directory is my last option right now.</p>