You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2021/11/19 17:07:02 UTC
[camel-quarkus] branch main updated: Make building possible with Java 11 through 17
This is an automated email from the ASF dual-hosted git repository.
ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new fcb60ef Make building possible with Java 11 through 17
fcb60ef is described below
commit fcb60efe89ebc9571803ae334a5882246b4d305d
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Fri Nov 19 12:38:38 2021 +0100
Make building possible with Java 11 through 17
---
.mvn/jvm.config | 1 +
extensions/kotlin/deployment/pom.xml | 2 +-
extensions/kotlin/runtime/pom.xml | 2 +-
pom.xml | 5 +----
4 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/.mvn/jvm.config b/.mvn/jvm.config
new file mode 100644
index 0000000..e0f791e
--- /dev/null
+++ b/.mvn/jvm.config
@@ -0,0 +1 @@
+--illegal-access=permit --add-opens jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-opens jdk.compiler/com. [...]
\ No newline at end of file
diff --git a/extensions/kotlin/deployment/pom.xml b/extensions/kotlin/deployment/pom.xml
index 36961d2..38e34ae 100644
--- a/extensions/kotlin/deployment/pom.xml
+++ b/extensions/kotlin/deployment/pom.xml
@@ -50,7 +50,7 @@
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<configuration>
- <jvmTarget>${maven.compiler.target}</jvmTarget>
+ <jvmTarget>${maven.compiler.release}</jvmTarget>
</configuration>
<executions>
<execution>
diff --git a/extensions/kotlin/runtime/pom.xml b/extensions/kotlin/runtime/pom.xml
index e9356ff..bb7b88d 100644
--- a/extensions/kotlin/runtime/pom.xml
+++ b/extensions/kotlin/runtime/pom.xml
@@ -98,7 +98,7 @@
</execution>
</executions>
<configuration>
- <jvmTarget>${maven.compiler.target}</jvmTarget>
+ <jvmTarget>${maven.compiler.release}</jvmTarget>
</configuration>
</plugin>
</plugins>
diff --git a/pom.xml b/pom.xml
index 70ab644..ec7e2ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -189,10 +189,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- maven-compiler-plugin -->
- <maven.compiler.target>11</maven.compiler.target>
- <maven.compiler.source>11</maven.compiler.source>
- <maven.compiler.testTarget>${maven.compiler.target}</maven.compiler.testTarget>
- <maven.compiler.testSource>${maven.compiler.source}</maven.compiler.testSource>
+ <maven.compiler.release>11</maven.compiler.release>
<!-- maven-enforcer-plugin -->
<min-maven-version>3.6.2</min-maven-version>