Open seaswalker opened 3 years ago
mvn clean install -pl 'spring-boot-starter' -am -Dmaven.test.skip=true
此命令应该在父module的目录执行,以shiro的spring-boot-starter为例,执行路径应该是: 父module的pom.xml中定义了子module的名称:
<modules> <module>spring-boot-starter</module> <module>spring-boot-web-starter</module> </modules>
实际打包时子module可能依赖其它module,所以可能需要首先对整个工程所有module进行编译、打包。
此命令应该在父module的目录执行,以shiro的spring-boot-starter为例,执行路径应该是:
父module的pom.xml中定义了子module的名称:
实际打包时子module可能依赖其它module,所以可能需要首先对整个工程所有module进行编译、打包。