搭建springcloud项目时,mvn-clean一直报错Invalid packaging for parent POM com.cloud:springcloud_demo:1.0-SNAPSHOT, must be “pom“ but is “jar“
解决:在springcloud多模块项目中,在父模块pom中加入
<packaging>pom</packaging>
在各同级的子模块中加入
<packaging>jar</packaging>
搭建springcloud项目时,mvn-clean一直报错Invalid packaging for parent POM com.cloud:springcloud_demo:1.0-SNAPSHOT, must be “pom“ but is “jar“
解决:在springcloud多模块项目中,在父模块pom中加入
<packaging>pom</packaging>
在各同级的子模块中加入
<packaging>jar</packaging>