From 0124909f89a6b2ff9eb37741349f57cb84b0ad4c Mon Sep 17 00:00:00 2001 From: Andy Damevin Date: Tue, 6 Apr 2021 10:36:40 +0200 Subject: [PATCH] Add workaround to generated projects for maven.compiler.parameters problem in IntelliJ IDEA Fixes #16141 --- .../codestarts/quarkus/buildtool/maven/base/pom.tpl.qute.xml | 4 ++++ .../QuarkusCodestartGenerationTest/generateDefault/pom.xml | 3 +++ .../generateMavenWithCustomDep/pom.xml | 3 +++ 3 files changed, 10 insertions(+) diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/buildtool/maven/base/pom.tpl.qute.xml b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/buildtool/maven/base/pom.tpl.qute.xml index 45b8902c611877..565612ea9b3ce1 100644 --- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/buildtool/maven/base/pom.tpl.qute.xml +++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/buildtool/maven/base/pom.tpl.qute.xml @@ -118,6 +118,10 @@ maven-compiler-plugin $\{compiler-plugin.version} + + + $\{maven.compiler.parameters} + diff --git a/integration-tests/devtools/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateDefault/pom.xml b/integration-tests/devtools/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateDefault/pom.xml index 560edef2e7d1ab..e788cce005dbcb 100644 --- a/integration-tests/devtools/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateDefault/pom.xml +++ b/integration-tests/devtools/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateDefault/pom.xml @@ -60,6 +60,9 @@ maven-compiler-plugin ${compiler-plugin.version} + + ${maven.compiler.parameters} + maven-surefire-plugin diff --git a/integration-tests/devtools/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenWithCustomDep/pom.xml b/integration-tests/devtools/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenWithCustomDep/pom.xml index bd832231ac1c53..9f9ea92a9e4b03 100644 --- a/integration-tests/devtools/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenWithCustomDep/pom.xml +++ b/integration-tests/devtools/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateMavenWithCustomDep/pom.xml @@ -74,6 +74,9 @@ maven-compiler-plugin ${compiler-plugin.version} + + ${maven.compiler.parameters} + maven-surefire-plugin