From 3c854e5ebf4fa1dd649c1ff0b63fdda20f72f93b 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 45b8902c61187..565612ea9b3ce 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 560edef2e7d1a..e788cce005dbc 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 bd832231ac1c5..9f9ea92a9e4b0 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