Fix a warning related to the pom.xml file structure


- The maven-compiler-plugin was mentioned twice in the pom.xml
file tree.
It leaded to the following warning at the compilation step:

WARNING:
'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin
org.apache.maven.plugins:maven-compiler-plugin @ line 110, column 21

Note: Instead of configuring source and target, use the release option,
which ensures proper system module resolution for Java 9+.

Change-Id: I0d6dc58ec4ffdf2250669cd3bd824c375074ec34
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Rym Bouabid <rym.bouabid@qt.io>
commitc0880cedcbc3bca352521be0c47e776d4a784ab4
parentb0e91dccdb284f9cfeea8469c0da3d9458b4cc9b
authorTatiana Borisova <tatiana.borisova@qt.io>
committerTatiana Borisova <tatiana.borisova@qt.io>
commit timeThu, 24 Jul 2025 11:52:45 +0200