Add generation of PackageVersion.java using maven-replacer-plugin.
Move generated sources into their own directory under 'target/generated-sources'.