问题
[ERROR] Invalid packaging for parent POM com.xin:spring-cloud-demo:0.0.1-SNAPSHOT (E:\coding\spring-cloud-demo\pom.xml), must be "pom" but is "jar" @ com.xin:spring-cloud-demo:0.0.1-SNAPSHOT, E:\coding\spring-cloud-demo\pom.xml
解决办法
parent工程的pom.xml文件的project节点下加入如下节点:
<packaging>pom</packaging>