title: maven-assembly-plugin not packaging dependencies
body: <p>I've used maven-assembly-plugin to package dependencies into a single jar in other projects, however in my current project the jar with dependencies is not being created and I'm stumped as to why. In other projects I will see two jar's generated   <code>xxx-1.0-SNAPSHOT.jar</code> and <code>xxx-1.0-SNAPSHOT-jar-with-dependencies.jar</code>, but in this project just the <code>xxx-1.0-SNAPSHOT.jar</code> file is being generated.</p>
  
  <p>Here's my pom.xml</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;org.sk&lt;/groupId&gt;
    &lt;artifactId&gt;gt_tutorial&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;
  
    &lt;name&gt;gt_tutorial&lt;/name&gt;
  
    &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;maven.compiler.source&gt;1.8&lt;/maven.compiler.source&gt;
      &lt;maven.compiler.target&gt;1.8&lt;/maven.compiler.target&gt;
      &lt;geotools.version&gt;20-RC&lt;/geotools.version&gt;
      &lt;jts.version&gt;1.16.0-RC1&lt;/jts.version&gt;
    &lt;/properties&gt;
  
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;4.11&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
        &lt;groupId&gt;org.geotools&lt;/groupId&gt;
        &lt;artifactId&gt;gt-shapefile&lt;/artifactId&gt;
        &lt;version&gt;${geotools.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
        &lt;groupId&gt;org.geotools&lt;/groupId&gt;
        &lt;artifactId&gt;gt-swing&lt;/artifactId&gt;
        &lt;version&gt;${geotools.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
        &lt;groupId&gt;org.geotools&lt;/groupId&gt;
        &lt;artifactId&gt;gt-grid&lt;/artifactId&gt;
        &lt;version&gt;${geotools.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
        &lt;groupId&gt;org.geotools&lt;/groupId&gt;
        &lt;artifactId&gt;gt-epsg-hsql&lt;/artifactId&gt;
        &lt;version&gt;${geotools.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
        &lt;groupId&gt;org.geotools&lt;/groupId&gt;
        &lt;artifactId&gt;gt-geometry&lt;/artifactId&gt;
        &lt;version&gt;${geotools.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
        &lt;groupId&gt;org.geotools&lt;/groupId&gt;
        &lt;artifactId&gt;gt-geojson&lt;/artifactId&gt;
        &lt;version&gt;${geotools.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
        &lt;groupId&gt;org.locationtech.jts&lt;/groupId&gt;
        &lt;artifactId&gt;jts-core&lt;/artifactId&gt;
        &lt;version&gt;${jts.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- JSR-363 support as recommended for GeoTools 20 http://docs.geotools.org/latest/userguide/welcome/upgrade.html --&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;systems.uom&lt;/groupId&gt;
        &lt;artifactId&gt;systems-common-java8&lt;/artifactId&gt;
        &lt;version&gt;0.7.2&lt;/version&gt;
      &lt;/dependency&gt;
  
    &lt;/dependencies&gt;
  
    &lt;repositories&gt;
      &lt;repository&gt;
        &lt;id&gt;maven2-repository.dev.java.net&lt;/id&gt;
        &lt;name&gt;Java.net repository&lt;/name&gt;
        &lt;url&gt;http://download.java.net/maven/2&lt;/url&gt;
      &lt;/repository&gt;
      &lt;repository&gt;
        &lt;id&gt;osgeo&lt;/id&gt;
        &lt;name&gt;Open Source Geospatial Foundation Repository&lt;/name&gt;
        &lt;url&gt;http://download.osgeo.org/webdav/geotools/&lt;/url&gt;
      &lt;/repository&gt;
      &lt;repository&gt;
        &lt;snapshots&gt;
          &lt;enabled&gt;true&lt;/enabled&gt;
        &lt;/snapshots&gt;
        &lt;id&gt;boundless&lt;/id&gt;
        &lt;name&gt;Boundless Maven Repository&lt;/name&gt;
        &lt;url&gt;http://repo.boundlessgeo.com/main&lt;/url&gt;
      &lt;/repository&gt;
    &lt;/repositories&gt;
  
    &lt;build&gt;
      &lt;pluginManagement&gt;
        &lt;plugins&gt;
  
          &lt;plugin&gt;
            &lt;inherited&gt;true&lt;/inherited&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
            &lt;version&gt;3.2&lt;/version&gt;
            &lt;configuration&gt;
              &lt;source&gt;1.8&lt;/source&gt;
              &lt;target&gt;1.8&lt;/target&gt;
            &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          &lt;plugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
            &lt;executions&gt;
              &lt;execution&gt;
                &lt;phase&gt;package&lt;/phase&gt;
                &lt;goals&gt;
                  &lt;goal&gt;single&lt;/goal&gt;
                &lt;/goals&gt;
                &lt;configuration&gt;
                  &lt;archive&gt;
                    &lt;manifest&gt;
                      &lt;mainClass&gt;
                        org.sk.Grid4
                      &lt;/mainClass&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;/execution&gt;
            &lt;/executions&gt;
          &lt;/plugin&gt;
  
  
  
        &lt;/plugins&gt;
      &lt;/pluginManagement&gt;
    &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>