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 2020/12/16 09:19:45 UTC
[camel-quarkus] branch master updated: Require Java 11 #1299
This is an automated email from the ASF dual-hosted git repository.
ppalaga pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push:
new 83b6983 Require Java 11 #1299
83b6983 is described below
commit 83b698301692e46857d7ab607b98e558fc36cb8b
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Wed Jun 3 11:49:16 2020 +0200
Require Java 11 #1299
---
.github/workflows/ci-build.yaml | 4 ++--
docs/modules/ROOT/pages/contributor-guide/index.adoc | 2 +-
docs/modules/ROOT/pages/user-guide/first-steps.adoc | 2 +-
pom.xml | 3 +++
4 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index a75abb2..e59fed3 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -280,7 +280,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- java: [ '8' , '14' ]
+ java: [ '14' ]
env:
MAVEN_OPTS: -Xmx3000m
steps:
@@ -373,7 +373,7 @@ jobs:
# - name: Set Up Java
# uses: actions/setup-java@v1
# with:
- # java-version: 1.8
+ # java-version: 11
# - name: Download Maven Repo
# uses: actions/download-artifact@v1
# with:
diff --git a/docs/modules/ROOT/pages/contributor-guide/index.adoc b/docs/modules/ROOT/pages/contributor-guide/index.adoc
index 28ab7bd..b49b1d5 100644
--- a/docs/modules/ROOT/pages/contributor-guide/index.adoc
+++ b/docs/modules/ROOT/pages/contributor-guide/index.adoc
@@ -11,7 +11,7 @@
documentation.
* If your are on Linux, `docker` is sufficient for the native mode too. Use `-Pnative,docker` instead of `-Pnative`
if you choose this option.
-* JDK 8+
+* Java 11
* Maven 3.6.2+ (unless you use the Maven Wrapper, a.k.a. `mvnw` available in the source tree).
[[how-to-build]]
diff --git a/docs/modules/ROOT/pages/user-guide/first-steps.adoc b/docs/modules/ROOT/pages/user-guide/first-steps.adoc
index 2103232..1c5e8fd 100644
--- a/docs/modules/ROOT/pages/user-guide/first-steps.adoc
+++ b/docs/modules/ROOT/pages/user-guide/first-steps.adoc
@@ -7,7 +7,7 @@ The following guide outlines various ways to create a Camel Quarkus project.
* A `git` client
* An IDE
-* JDK 8+ with JAVA_HOME configured appropriately
+* JDK 11+ with JAVA_HOME configured appropriately
* Apache Maven 3.6.2+
* GraalVM with the `native-image` command installed and the `GRAALVM_HOME` environment variable set. See
https://quarkus.io/guides/building-native-image-guide[Building a native executable] section of the Quarkus
diff --git a/pom.xml b/pom.xml
index fa3c21e..ff3b7fe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -584,6 +584,9 @@
<version>3.6.2</version>
</requireMavenVersion>
<rules>
+ <requireJavaVersion>
+ <version>11</version>
+ </requireJavaVersion>
<dependencyConvergence />
<requireMavenVersion>
<version>${supported-maven-versions}</version>