title: Why are the dependencies not included in the JAR file?
body: <p>If I look inside the JAR file there are no dependencies in it.
  I am using Netbeans 8.0 as IDE and the JDK 8 Update 25.</p>
  
  <p>This is my <em>pom.xml</em> file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.mycompany&lt;/groupId&gt;
      &lt;artifactId&gt;XmppMinimalClient&lt;/artifactId&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;maven.compiler.source&gt;1.7&lt;/maven.compiler.source&gt;
          &lt;maven.compiler.target&gt;1.7&lt;/maven.compiler.target&gt;
      &lt;/properties&gt;
  
      &lt;build&gt;
        &lt;plugins&gt;
          &lt;plugin&gt;
            &lt;!-- Build an executable JAR --&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
            &lt;version&gt;2.4&lt;/version&gt;
  
            &lt;configuration&gt;
              &lt;archive&gt;
                &lt;manifest&gt;
                  &lt;mainClass&gt;com.mycompany.xmppminimalclient.XmppMinimalClient&lt;/mainClass&gt;
                  &lt;addClasspath&gt;true&lt;/addClasspath&gt; 
                  &lt;addDefaultImplementationEntries&gt;true&lt;/addDefaultImplementationEntries&gt; 
                  &lt;addDefaultSpecificationEntries&gt;true&lt;/addDefaultSpecificationEntries&gt;
                &lt;/manifest&gt;
              &lt;/archive&gt;
              &lt;descriptorRefs&gt;
                  &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
              &lt;/descriptorRefs&gt;
            &lt;/configuration&gt;
  
          &lt;executions&gt;
              &lt;execution&gt;
                  &lt;id&gt;make-assembly&lt;/id&gt; &lt;!-- this is used for inheritance merges --&gt;
                  &lt;phase&gt;package&lt;/phase&gt; &lt;!-- bind to the packaging phase --&gt;
              &lt;/execution&gt;
          &lt;/executions&gt;
          &lt;/plugin&gt;
        &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.igniterealtime.smack&lt;/groupId&gt;
              &lt;artifactId&gt;smack-core&lt;/artifactId&gt;
              &lt;version&gt;4.0.5&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.igniterealtime.smack&lt;/groupId&gt;
              &lt;artifactId&gt;smack-tcp&lt;/artifactId&gt;
              &lt;version&gt;4.0.5&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>