Skip to content

Commit

Permalink
Merge pull request quarkusio#16980 from famod/kotlin-jvmTarget-11
Browse files Browse the repository at this point in the history
Raise kotlin-maven-plugin jvmTarget from 1.8 to 11
  • Loading branch information
evanchooly authored May 5, 2021
2 parents 6d3967d + 06d7cf9 commit af5cf81
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 23 deletions.
10 changes: 9 additions & 1 deletion build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@
<rules>
<dependencyConvergence/>
<requireJavaVersion>
<version>[11,)</version>
<version>[${maven.compiler.release},)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>${supported-maven-versions}</version>
Expand Down Expand Up @@ -610,6 +610,14 @@
<artifactId>revapi-maven-plugin</artifactId>
<version>${revapi-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<configuration>
<jvmTarget>${maven.compiler.release}</jvmTarget>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
Expand Down Expand Up @@ -117,9 +116,6 @@
</configuration>
</execution>
</executions>
<configuration>
<jvmTarget>1.8</jvmTarget>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
Expand All @@ -124,9 +123,6 @@
</goals>
</execution>
</executions>
<configuration>
<jvmTarget>11</jvmTarget>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
2 changes: 0 additions & 2 deletions extensions/panache/mongodb-panache-kotlin/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
Expand Down Expand Up @@ -93,7 +92,6 @@
</executions>
<configuration>
<javaParameters>true</javaParameters>
<jvmTarget>1.8</jvmTarget>
</configuration>
</plugin>
</plugins>
Expand Down
2 changes: 0 additions & 2 deletions extensions/panache/mongodb-panache-kotlin/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
Expand Down Expand Up @@ -147,7 +146,6 @@
</executions>
<configuration>
<javaParameters>true</javaParameters>
<jvmTarget>11</jvmTarget>
</configuration>
</plugin>
<plugin>
Expand Down
2 changes: 0 additions & 2 deletions integration-tests/hibernate-orm-panache-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
Expand Down Expand Up @@ -227,7 +226,6 @@
<pluginOptions>
<option>all-open:annotation=javax.ws.rs.Path</option>
</pluginOptions>
<jvmTarget>1.8</jvmTarget>
</configuration>
</plugin>
<plugin>
Expand Down
4 changes: 0 additions & 4 deletions integration-tests/kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
Expand All @@ -107,9 +106,6 @@
</goals>
</execution>
</executions>
<configuration>
<jvmTarget>1.8</jvmTarget>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
2 changes: 0 additions & 2 deletions integration-tests/mongodb-panache-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
Expand Down Expand Up @@ -195,7 +194,6 @@
<pluginOptions>
<option>all-open:annotation=javax.ws.rs.Path</option>
</pluginOptions>
<jvmTarget>1.8</jvmTarget>
</configuration>
</plugin>
<plugin>
Expand Down
2 changes: 0 additions & 2 deletions integration-tests/resteasy-reactive-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
Expand All @@ -143,7 +142,6 @@
</dependencies>
<configuration>
<javaParameters>true</javaParameters>
<jvmTarget>1.8</jvmTarget>
<compilerPlugins>
<plugin>all-open</plugin>
</compilerPlugins>
Expand Down

0 comments on commit af5cf81

Please sign in to comment.