<parent>
...
<version>${platform.version}</version>
<parent>
IntelliJ报错: properties in parent definition are prohibited
解决:
- idea的错误提示,不用管
- 或者升级到maven3.5.2及以上(推荐)
- 改为
<version>${revision}</version>
- flatten-maven-plugin 好像可以不增加
- 改为
参考(较少,较好):
IntelliJ IDEA Bundled Maven version is 3.3.9, this is the 2015 version. Please update it to the latest version 3.5.2.
- https://stackoverflow.com/questions/45598007/properties-in-parent-definition-are-prohibited-in-the-intellij-maven-on-my-mac-o
- https://maven.apache.org/maven-ci-friendly.html