Less hacky way to disable generating ComponentVersion

The `io` and `primitive-collections` modules are earlier in the build than the
`kernel`, and therefore cannot have ComponentVersions.

The generation of the ComponentVersion class can be disabled by simply not
having a `version-package` property in the pom file.
Lots better than going out of our way to sabotage the ant-run plugin.
Merge pull request #2842 from chrisvest/2.2-better-disabling-component-version

Less hacky way to disable generating ComponentVersion