install maven 时候报 `version` contains an expression but should be a constant 错误 因为Maven3 不允许出现version 为非 常量值出现的情况;
病因父类pom
<modelVersion>4.0.0</modelVersion>
<groupId>top.springCloud</groupId>
<artifactId>springCloud</artifactId>
<packaging>pom</packaging>
<version>${top.version}</version>
子类pom
<groupId>top.springCloud.provider</groupId>
<artifactId>springCloud-provider</artifactId>
<packaging>jar</packaging>
<name>provider</name>
<version>${top.version}<version>
将版本号改为常量
<version>1.0<version>
解决问题