title: How to include libraries/dependencies when creating a jar file?
body: <p>I created a Confluence plugin(A Java application) which has Maven on it and includes some dependencies in the pom.xml as follows: (It needs to use the Google Client Library)</p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.apis&lt;/groupId&gt;
          &lt;artifactId&gt;google-api-services-calendar&lt;/artifactId&gt;
          &lt;version&gt;v3-rev254-1.22.0&lt;/version&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.api-client&lt;/groupId&gt;
          &lt;artifactId&gt;google-api-client&lt;/artifactId&gt;
          &lt;version&gt;1.22.0&lt;/version&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
  
      ..... Skip .....
  
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>I also downloaded the Google Client Library and created a "libs" folder at the "src/main/resources/" path in this maven project to store them, and added them as jars in Eclipse as follows:</p>
  
  <p><a href="https://i.stack.imgur.com/YFZXj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YFZXj.png" alt="enter image description here"></a></p>
  
  <p>However, after executed "atlas-debug" to invoke a Confluence instance or "atlas-package" commands, the final <strong>exported jar</strong> file usually does not include the dependencies/libraries (I found this according to the failed jar file size, it is much smaller than the successful one).</p>
  
  <p>How to make the library files really be included into the <strong>exported jar</strong> file every time I executed "atlas-debug" or "atlas-package" commands?</p>