Fix setting generator version
Maven is complaining when using an expression instead of a
constant in the version parameter:
[WARNING] 'version' contains an expression but should be
a constant.
However, we actually *need* to have an expression there, because
we want to pass the version from a CMake variable.
Maven has a list of whitelisted property names, for which the
warning is suppressed. One of these properties is 'revision',
so use it instead of a custom Qt-specific property name.
Amends ef4bc6aadb89f9e23db5cfdc733a5a3f82ff365f.
Task-number: QTBUG-143768
Pick-to: 6.11
Change-Id: I073e8cc83976b0be4c77939694bad04734f4d397
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>