我们在项目中都会遇到项目打包,可以通过assembly对我们的项目进行打包。1、首先看一下在打包前的项目文件结构。2、在pom.xml中配置assembly插件<build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><configuration><source>1.8</sour...
继续阅读 >
分类:maven插件assembly使用
我们在项目中都会遇到项目打包,可以通过assembly对我们的项目进行打包。1、首先看一下在打包前的项目文件结构。2、在pom.xml中配置assembly插件<build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><configuration><source>1.8</sour...
继续阅读 >