version' for org.apache.maven.plugins:maven-compiler-plugin must be a valid version but is '${maven.compiler.plugin.version}' code example
Example: build.plugins.plugin.version
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
</dependency>