Solution to this error

Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-antrun-plugin:1.3:run (execution:
generate-version-  class, phase: generate-sources)