Build Java generator plugin during the configuration (again)


This is a pre-requisite for properly generating the client source
files at configuration time when calling qt_add_openapi_client()
macro.

The commit tries to optimize the process a bit.
The plugin is only rebuild when the related source files are
changed or when the plugin jar file does not exist.

Task-number: QTBUG-143502
Pick-to: 6.11
Change-Id: I1b175fc5b43ecf3e2becb319c9249d2c63eaa7d1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit720f41b767b6dab54928fe3287bc09767d10ee46
parent8af7a913c381387a7d6a26e1548f9910297ee7cd
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeMon, 9 Feb 2026 10:25:00 +0100