title: spring-boot-maven-plugin repackage not including dependancies
body: <p>Here is my pom.xml:</p>
  
  <pre><code>    &lt;groupId&gt;com.securebort.services&lt;/groupId&gt;
      &lt;artifactId&gt;services&lt;/artifactId&gt;
      &lt;version&gt;0.0.2&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt; 
  
      &lt;name&gt;services&lt;/name&gt;
      &lt;description&gt;Cipherworks services exposed to the client applications&lt;/description&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
          &lt;version&gt;2.0.4.RELEASE&lt;/version&gt; 
          &lt;relativePath/&gt; 
      &lt;/parent&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
          &lt;java.version&gt;1.8&lt;/java.version&gt;
          &lt;maven.compiler.source&gt;${java.version}&lt;/maven.compiler.source&gt;
          &lt;maven.compiler.target&gt;${java.version}&lt;/maven.compiler.target&gt;
          &lt;maven.build.timestamp.format&gt;yyyyMMddHHmmss&lt;/maven.build.timestamp.format&gt;
          &lt;beanstalk.versionLabel&gt;${maven.build.timestamp}&lt;/beanstalk.versionLabel&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter&lt;/artifactId&gt;
                          &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                      &lt;artifactId&gt;spring-boot-starter-logging&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
                          &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                      &lt;artifactId&gt;spring-boot-starter-logging&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                  &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                  &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                      &lt;artifactId&gt;spring-boot-starter-logging&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
  
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-tomcat&lt;/artifactId&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
                          &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                      &lt;artifactId&gt;spring-boot-starter-logging&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
             &lt;groupId&gt;org.apache.tomcat&lt;/groupId&gt;
             &lt;artifactId&gt;tomcat-jdbc&lt;/artifactId&gt;
             &lt;version&gt;9.0.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
             &lt;groupId&gt;com.cipherworks&lt;/groupId&gt;
             &lt;artifactId&gt;cwcommon&lt;/artifactId&gt;
             &lt;version&gt;0.0.1&lt;/version&gt;
          &lt;/dependency&gt;       
          &lt;dependency&gt;
             &lt;groupId&gt;securebort&lt;/groupId&gt;
             &lt;artifactId&gt;datacrypt&lt;/artifactId&gt;
             &lt;version&gt;0.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
             &lt;groupId&gt;com.cwkit&lt;/groupId&gt;
             &lt;artifactId&gt;cwkit&lt;/artifactId&gt;
           &lt;version&gt;0.0.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
             &lt;groupId&gt;com.cipherworks&lt;/groupId&gt;
             &lt;artifactId&gt;iam&lt;/artifactId&gt;
             &lt;version&gt;0.0.1&lt;/version&gt;
          &lt;/dependency&gt;                 
  
          &lt;dependency&gt;
              &lt;groupId&gt;mysql&lt;/groupId&gt;
              &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
              &lt;version&gt;5.1.6&lt;/version&gt;
          &lt;/dependency&gt;                         
      &lt;/dependencies&gt;
      &lt;build&gt;
          &lt;plugins&gt;       
                &lt;plugin&gt;
                &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.0.4.RELEASE&lt;/version&gt; 
                &lt;configuration&gt;
                   &lt;layout&gt;JAR&lt;/layout&gt;
                   &lt;mainClass&gt;com.cipherworks.services.ServicesApplication&lt;/mainClass&gt;
                  &lt;/configuration&gt; 
                &lt;executions&gt;
                    &lt;execution&gt;
                        &lt;goals&gt;
                           &lt;goal&gt;repackage&lt;/goal&gt;
                        &lt;/goals&gt;
                     &lt;/execution&gt;
                 &lt;/executions&gt;
            &lt;/plugin&gt;  
          &lt;/plugins&gt;
      &lt;/build&gt;
  </code></pre>
  
  <p>when i do mvn package, it creates a repackaged jar file. But the repackaged jar does not contain my dependancies cwcommon, datacrypt and cwkit jars. I have checked my local repository and it has all my dependent jar files. For some reason, they are not getting repackaged into the fat jar. </p>
  
  <p>Output of the goal dependency:tree:
  I could not copy and paste all the output due to size limitation in stack overflow. I have only copied sections that has my dependencies.</p>
  
  <pre><code>....
  ....
  ....
  [DEBUG] Using local repository at C:\Users\CipherWorks\.m2\repository
  [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\CipherWorks\.m2\repository
  [INFO] Scanning for projects...
  [DEBUG] Extension realms for project com.securebort.services:services:jar:0.0.2: (none)
  [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
  [DEBUG] Extension realms for project org.springframework.boot:spring-boot-starter-parent:pom:2.0.4.RELEASE: (none)
  [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
  [DEBUG] Extension realms for project org.springframework.boot:spring-boot-dependencies:pom:2.0.4.RELEASE: (none)
  [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
  [DEBUG] Resolving plugin prefix dependency from [org.apache.maven.plugins, org.codehaus.mojo]
  [DEBUG] Resolved plugin prefix dependency to org.apache.maven.plugins:maven-dependency-plugin from POM com.securebort.services:services:jar:0.0.2
  [DEBUG] === REACTOR BUILD PLAN ================================================
  [DEBUG] Project: com.securebort.services:services:jar:0.0.2
  [DEBUG] Tasks:   [dependency:tree]
  [DEBUG] Style:   Regular
  [DEBUG] =======================================================================
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building services 0.0.2
  ....
  ....
  ....
  [DEBUG] Lifecycle clean -&gt; [pre-clean, clean, post-clean]
  [DEBUG] Lifecycle site -&gt; [pre-site, site, post-site, site-deploy]
  [DEBUG] === PROJECT BUILD PLAN ================================================
  [DEBUG] Project:       com.securebort.services:services:0.0.2
  ....
  ....
  [DEBUG]       org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.32:provided
  [DEBUG]       org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.32:provided
  [DEBUG]       org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.32:provided
  [DEBUG]    org.apache.tomcat:tomcat-jdbc:jar:9.0.1:compile
  [DEBUG]       org.apache.tomcat:tomcat-juli:jar:9.0.1:compile
  [DEBUG]    com.cipherworks:cwcommon:jar:0.0.1:compile
  [DEBUG]    securebort:datacrypt:jar:0.0.1:compile
  [DEBUG]    com.cwkit:cwkit:jar:0.0.1:compile
  [DEBUG]       com.google.code.gson:gson:jar:2.8.5:compile (version managed from 2.6.2 by org.springframework.boot:spring-boot-dependencies:2.0.4.RELEASE)
  [DEBUG]       org.slf4j:slf4j-api:jar:1.7.25:compile (version managed from 1.7.24 by org.springframework.boot:spring-boot-dependencies:2.0.4.RELEASE)
  [DEBUG]       com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.9.6:compile (version managed from 2.9.5 by com.fasterxml.jackson:jackson-bom:2.9.6)
  [DEBUG]          com.fasterxml.jackson.core:jackson-core:jar:2.9.6:compile
  ....
  ....
  [DEBUG]          org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
  [DEBUG]          com.fasterxml.woodstox:woodstox-core:jar:5.0.3:compile
  [DEBUG]    com.cipherworks:iam:jar:0.0.1:compile
  [DEBUG]       com.amazonaws:aws-java-sdk:jar:1.11.396:compile
  [DEBUG]          com.amazonaws:aws-java-sdk-dlm:jar:1.11.396:compile
  .....
  .....
  [DEBUG]   (f) outputType = text
  [DEBUG]   (f) project = MavenProject: com.securebort.services:services:0.0.2 @ C:\git\services\pom.xml
  [DEBUG]   (f) reactorProjects = [MavenProject: com.securebort.services:services:0.0.2 @ C:\git\services\pom.xml]
  [DEBUG]   (f) session = org.apache.maven.execution.MavenSession@3872bc37
  ...
  ...
  [DEBUG]       org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.32:provided
  [DEBUG]       org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.32:provided
  [DEBUG]    org.apache.tomcat:tomcat-jdbc:jar:9.0.1:compile
  [DEBUG]       org.apache.tomcat:tomcat-juli:jar:9.0.1:compile
  [DEBUG]    com.cipherworks:cwcommon:jar:0.0.1:compile
  [DEBUG]    securebort:datacrypt:jar:0.0.1:compile
  [DEBUG]    com.cwkit:cwkit:jar:0.0.1:compile
  [DEBUG]       com.google.code.gson:gson:jar:2.8.5:compile (version managed from 2.6.2 by org.springframework.boot:spring-boot-dependencies:2.0.4.RELEASE)
  ...
  ...
  [DEBUG]          com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.9.6:compile
  [DEBUG]          org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
  [DEBUG]          com.fasterxml.woodstox:woodstox-core:jar:5.0.3:compile
  [DEBUG]    com.cipherworks:iam:jar:0.0.1:compile
  [DEBUG]       com.amazonaws:aws-java-sdk:jar:1.11.396:compile
  [DEBUG]          com.amazonaws:aws-java-sdk-dlm:jar:1.11.396:compile
  ...
  ...
  [INFO] |  +- org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.32:provided
  [INFO] |  \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.32:provided
  [INFO] +- org.apache.tomcat:tomcat-jdbc:jar:9.0.1:compile
  [INFO] |  \- org.apache.tomcat:tomcat-juli:jar:9.0.1:compile
  [INFO] +- com.cipherworks:cwcommon:jar:0.0.1:compile
  [INFO] +- securebort:datacrypt:jar:0.0.1:compile
  [INFO] +- com.cwkit:cwkit:jar:0.0.1:compile
  [INFO] |  +- com.google.code.gson:gson:jar:2.8.5:compile
  [INFO] |  +- org.slf4j:slf4j-api:jar:1.7.25:compile
  ...
  ...
  </code></pre>
  
  <p>My dependencies (cwkit, cwcommon, datacrypt, iam) are showing up in the INFO output. But they are not getting included in fat jar.</p>