title: How to construct maven project from source code
body: <p>I have compiled sources of java web application. I know that project uses maven, because there is <code>pom.xml</code> files inside <code>.war</code> file.</p>
  
  <p>I want to know is it possible to re create maven project using <code>.war</code> file. I use <a href="http://jd.benow.ca/" rel="nofollow">Java Decompiler</a> to get sources, but i do not know how to combine all folders and .java files as it was in original project. </p>
  
  <p>Is there any tool or howto to do it automaticaly?</p>
  
  <p><a href="http://paste.ubuntu.com/6322771/" rel="nofollow">Here is</a> sources directory tree structure</p>
  
  <p>For information: <strong>I do not want to stole some project or code, it's just my work. There is some web app in our production that was done by other developers in 2007. Now we are supporting this projects, and i don't know why customers do not have sources.</strong></p>