Created by: andriy-dmytruk
(Rebased version of the https://github.com/OpenAPITools/openapi-generator/pull/11778 to exclude lots of previous commits)
This change is made based on this issue: https://github.com/OpenAPITools/openapi-generator/issues/11694 Additional fix for error of target files generated outside output directory in the maven plugin.
I ran the following to build and test the project:
./mvnw clean package
./bin/generate-samples.sh
./bin/utils/export_docs_generators.sh
./bin/meta-codegen.sh
./mvnw integration-test -P java-micronaut-client -P java-micronaut-server
@wing328 @pfyod
Java technical committee (not sure if required): @bbdouglas @sreeshas @jfiala @lukoyanov @cbornet @jeff9finger @karismann @Zomzog @lwlee2608