Skip to content

Commit a8713ef

Browse files
asolntsevclaude
andauthored
fix(build): use releaseJavaVersion for kotlin-maven-plugin jvmTarget (#1874)
kotlin-maven-plugin's <jvmTarget> referenced the undeclared property maven.compiler.target, which silently resolved to null (Maven doesn't fail on unresolved plugin-config expressions), so the plugin fell back to its internal default and compiled Kotlin sources targeting JVM 1.8 instead of the project's actual release target. Introduced in 740895e. Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 7c32435 commit a8713ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@
539539
</execution>
540540
</executions>
541541
<configuration>
542-
<jvmTarget>${maven.compiler.target}</jvmTarget>
542+
<jvmTarget>${releaseJavaVersion}</jvmTarget>
543543
</configuration>
544544
</plugin>
545545
<plugin>

0 commit comments

Comments
 (0)