CMake: Improve FindWrapOpenAPIGenerator.cmake


The upstream generator jar is only needed at user project build time
when calling the cmake public api, not when building the qt openapi
generator plugin itself.

That means we don't need to find java, maven and go in the find
script. Remove them.

Improve the Find script to show what was found / what is missing by
using find_package_handle_standard_args.

Also look in some additional paths for the jar, where cmake's find_jar
usually looks.

Change-Id: Ie618319d979585dbb420f200019f33b15993fd0a
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
commit36a2ed4407170e72f0aef3afe5ee561ef02a516d
parent4d27d39b983d5a9fe35acadb957f26a4c6e5fd85
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeTue, 18 Nov 2025 14:14:35 +0100