Skip to content

Commit

Permalink
Merge pull request #1471 from smallrye/fix/disable-maven-compiler-plu…
Browse files Browse the repository at this point in the history
…gin-in-kotlin

fix: disable the Maven compiler plugin in the Kotlin module
  • Loading branch information
jponge committed Dec 19, 2023
2 parents 72e36ac + eb76731 commit 66dbc63
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<skip>true</skip>
<skipMain>true</skipMain>
</configuration>
</plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
Expand Down Expand Up @@ -147,5 +155,5 @@
</build>
</profile>
</profiles>

</project>

0 comments on commit 66dbc63

Please sign in to comment.