Skip to content

Commit

Permalink
Merge pull request #16261 from ia3andy/fix-16141
Browse files Browse the repository at this point in the history
Add workaround to generated projects for maven.compiler.parameters problem in IntelliJ IDEA
  • Loading branch information
ia3andy authored Apr 12, 2021
2 parents 55687be + 3c854e5 commit 923ee07
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>$\{compiler-plugin.version}</version>
<!-- Workaround to support maven.compiler.parameters property (see https://youtrack.jetbrains.com/issue/IDEA-201496) -->
<configuration>
<parameters>$\{maven.compiler.parameters}</parameters>
</configuration>
</plugin>
<!-- Run the tests in JVM mode -->
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
<configuration>
<parameters>${maven.compiler.parameters}</parameters>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
<configuration>
<parameters>${maven.compiler.parameters}</parameters>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

0 comments on commit 923ee07

Please sign in to comment.