title: Executing Springboot application as jar gives "no main manifest attribute"
body: <p>I use different ways to get jar by idea.But when I input <code>java -jar ****.jar</code>.It is tell me <code>no main manifest attribute, in quark-common.jar</code></p>
  
  <p>It's url of my project:<code>https://github.com/ZYao123/JavaQuarkBBS</code>.The project has 5 modules.They can work on my idea,but when I want to package a jar for linux. The problems arise.
  The module is depend on <code>quark-parent</code>.<code>quark-parent</code> just has a <code>pom.xml</code> for public package.
  I have added this on <code>pom.xml</code> of <code>quark-common</code>,but they cann't work.
  I know it happend because it's cann't find main method,but how am I supposed to fix it?</p>
  
  <pre><code>&lt;parent&gt;
      &lt;artifactId&gt;quark-parent&lt;/artifactId&gt;
      &lt;groupId&gt;com.quark&lt;/groupId&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;relativePath&gt;../quark-parent/pom.xml&lt;/relativePath&gt;
  &lt;/parent&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;com.quark&lt;/groupId&gt;
  &lt;artifactId&gt;quark-common&lt;/artifactId&gt;
  &lt;packaging&gt;jar&lt;/packaging&gt;
  
  &lt;build&gt;
      &lt;finalName&gt;quark-common&lt;/finalName&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;1.5.6.RELEASE&lt;/version&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>META-INF/MANIFEST.MF:
  
  Manifest-Version: 1.0
  Class-Path: spring-tx-4.3.10.RELEASE.jar guava-19.0.jar hibernate-jpa-
   2.1-api-1.0.0.Final.jar spring-expression-4.3.10.RELEASE.jar tools.ja
   r dom4j-1.6.1.jar spring-boot-starter-data-jpa-1.5.6.RELEASE.jar spri
   ng-boot-starter-cache-1.5.6.RELEASE.jar spring-aspects-4.3.10.RELEASE
   .jar druid-1.0.29.jar spring-orm-4.3.10.RELEASE.jar spring-context-4.
   3.10.RELEASE.jar javassist-3.21.0-GA.jar slf4j-api-1.7.25.jar spring-
   boot-starter-aop-1.5.6.RELEASE.jar nekohtml-1.9.22.jar spring-boot-st
   arter-jdbc-1.5.6.RELEASE.jar spring-data-jpa-1.11.6.RELEASE.jar antlr
   -2.7.7.jar log4j-over-slf4j-1.7.25.jar jackson-annotations-2.8.0.jar 
   jul-to-slf4j-1.7.25.jar jconsole.jar javax.transaction-api-1.2.jar sp
   ring-boot-starter-1.5.6.RELEASE.jar spring-boot-1.5.6.RELEASE.jar log
   back-classic-1.1.11.jar spring-data-commons-1.13.6.RELEASE.jar fastjs
   on-1.2.16.jar spring-aop-4.3.10.RELEASE.jar spring-beans-4.3.10.RELEA
   SE.jar spring-core-4.3.10.RELEASE.jar xercesImpl-2.11.0.jar spring-co
   ntext-support-4.3.10.RELEASE.jar snakeyaml-1.17.jar hibernate-commons
   -annotations-5.0.1.Final.jar xml-apis-1.4.01.jar jboss-logging-3.3.1.
   Final.jar logback-core-1.1.11.jar aspectjweaver-1.8.10.jar ehcache-2.
   10.4.jar jandex-2.0.0.Final.jar hibernate-entitymanager-5.0.12.Final.
   jar jcl-over-slf4j-1.7.25.jar spring-boot-autoconfigure-1.5.6.RELEASE
   .jar tomcat-jdbc-8.5.16.jar spring-boot-starter-logging-1.5.6.RELEASE
   .jar hibernate-core-5.0.12.Final.jar mysql-connector-java-5.1.43.jar 
   spring-jdbc-4.3.10.RELEASE.jar tomcat-juli-8.5.16.jar
  Main-Class: com.quark.common.CommonApplication
  </code></pre>