springboot打包jar并发布
1.pom修该打包方式 <packaging>jar</packaging>
2.配置打包插件,及打包的jdk版本,必须有打包插件才能打包
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>utf-8</encoding>
</configuration>
</plugin>
3.pom配置对tomcat的支持<