Generator: remove apiVersion key and add pluginVersion instead
The apiVersion key was always hardcoded to 1.0.0 and its meaning
was not clear. It could also easily be confused with the API
version that is specified in a yaml file. The latter is
represented by the appVersion key (note app instead of api).
To avoid the confusion, this patch removes the apiVersion key
and introduces pluginVersion instead.
The pluginVersion key represents the version of the Qt6 Client
Generator. Its value is obtained from the generated jar package,
and matches the version that is specified in the pom.xml file.
Note that we needed to extend the pom.xml file to explicitly
specify that this information needs to be included.
Task-number: QTBUG-143768
Pick-to: 6.11
Change-Id: I1ce37ed681ec3648c856c2fc0d5741f6b0cefbf8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>