title: What are the differences between javadoc.jar, sources.jar and .jar?
body: <p>Looking at Google gson 2.8.5 , I see several jars are distributed here <a href="https://repo1.maven.org/maven2/com/google/code/gson/gson/2.8.5/" rel="noreferrer">https://repo1.maven.org/maven2/com/google/code/gson/gson/2.8.5/</a></p>
  
  <ul>
  <li>gson-2.8.5-javadoc.jar  </li>
  <li>gson-2.8.5-sources.jar  </li>
  <li>gson-2.8.5.jar</li>
  </ul>
  
  <p>By reading other posts, I understand that <strong>sources.jar</strong> contains source code, but <strong>jar</strong> contains the compiled class files.</p>
  
  <ol>
  <li>Does this mean that, given the sources.jar, I can generate the jar myself? What is the general relationship between these three jars?</li>
  <li>What is javadoc.jar? Does it only contain documentation, or source code / compiled classes too?</li>
  </ol>