Skip to content

Commit f38c0ee

Browse files
yrodieregsmet
authored andcommitted
HV-1939 Fix compilation in IDEA
1 parent 2065108 commit f38c0ee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,6 +1532,13 @@
15321532
<name>idea.maven.embedder.version</name>
15331533
</property>
15341534
</activation>
1535+
<properties>
1536+
<!-- Intellij IDEA only understands the main -release argument,
1537+
so we need to do this in order for tests to compile.
1538+
Here's the issue in the IDEA bug tracker: https://youtrack.jetbrains.com/issue/IDEA-85478
1539+
It's supposedly fixed in 2022.1 EAP 6, but I couldn't get that to work. -->
1540+
<java-version.main.release>${java-version.test.release}</java-version.main.release>
1541+
</properties>
15351542
<build>
15361543
<pluginManagement>
15371544
<plugins>

0 commit comments

Comments
 (0)