title: How can I manually create a sources jar file to deploy to Nexus or use in Intellij?
body: <p>I have here an outdated source code built with ant. But it's stil used as a library though.
  For reference reason I want to able to have a look in the sources.</p>
  
  <p>How can I manually create a sources jar file so that it's recognized by Intellij and Nexus as source to an already existing library?</p>
  
  <p>So I can browse the referenced libraries sources for debugging reason for example.</p>