title: spring-boot-maven-plugin doesn't create fat jar
body: <p>I'm using <code>spring-boot-maven-plugin</code> to package my REST service. I'm building the jar using <code>mvn clean install</code> or <code>mvn clean package</code>. After I decompile the jar, I don't find any of the dependencies added (I was expecting it to be a fat jar with all dependencies)</p>
  
  <p><a href="https://i.stack.imgur.com/C3d9e.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/C3d9e.jpg" alt="enter image description here"></a></p>
  
  <pre><code> &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;1.5.9.RELEASE&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
             &lt;phase&gt;install&lt;/phase&gt;
             &lt;goals&gt;
                &lt;goal&gt;repackage&lt;/goal&gt;
                &lt;goal&gt;build-info&lt;/goal&gt;
             &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;configuration&gt;
          &lt;executable&gt;true&lt;/executable&gt;
          &lt;finalName&gt;myapp&lt;/finalName&gt;
          &lt;includeSystemScope&gt;true&lt;/includeSystemScope&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>When I run the spring boot using <code>java -jar myapp.jar -Drun.jvmArguments="-Dspring.profiles.active=qal"</code> I'm getting ClassNotFoundException for many of the classes. It's clear that artifact didn't build as expected. However, if I start spring boot application using maven <code>./mvnw spring-boot:run -Drun.jvmArguments="-Dspring.profiles.active=qal"</code> I guess, it finds all the dependencies in target folder hence works fine. How can I fix the build issue so that I can start app using java -jar command. </p>
  
  <p>EDIT: It's multi-module maven project</p>