You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2020/07/13 09:27:29 UTC
[syncope] branch 2_1_X updated: Add a note about how to run Syncope
2.1 with JDK 11
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/2_1_X by this push:
new a51c207 Add a note about how to run Syncope 2.1 with JDK 11
a51c207 is described below
commit a51c2079228c321ef55f4b5bd761a33d4e123f07
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Mon Jul 13 11:27:13 2020 +0200
Add a note about how to run Syncope 2.1 with JDK 11
---
src/main/asciidoc/getting-started/obtain.adoc | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/src/main/asciidoc/getting-started/obtain.adoc b/src/main/asciidoc/getting-started/obtain.adoc
index c649df1..88adf87 100644
--- a/src/main/asciidoc/getting-started/obtain.adoc
+++ b/src/main/asciidoc/getting-started/obtain.adoc
@@ -601,6 +601,30 @@ anonymousKey::
Maven will create a project for you (in a newly created directory named after the value of the `artifactId` property
specified above) containing four modules: `common`, `core`, `console` and `enduser`.
+[NOTE]
+====
+As stated above, Apache Syncope 2.1 requires JDK 8. In case you need to deploy your project with JDK 11, add the
+following right after `<build>` in the root `pom.xml` of the generated project:
+
+[source,xml]
+----
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <release>11</release>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+----
+
+Please note that, even with such addition, not all components in <<paths-and-components,embedded mode>> will work
+as expected; production features are anyway fully functional.
+====
+
You are now able to perform the first build via
[source,bash]