You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2019/02/09 15:25:16 UTC
[wicket] branch wicket-8.x updated: updated building instructions
This is an automated email from the ASF dual-hosted git repository.
adelbene pushed a commit to branch wicket-8.x
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/wicket-8.x by this push:
new bb35b49 updated building instructions
bb35b49 is described below
commit bb35b499cf2f48e729278cc3daa50d77acaa0903
Author: Andrea Del Bene <ad...@apache.org>
AuthorDate: Sat Feb 9 16:25:11 2019 +0100
updated building instructions
---
README.md | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index a17dd27..6849c7d 100644
--- a/README.md
+++ b/README.md
@@ -193,10 +193,11 @@ The Wicket distribution contains the final Wicket jar. You can use this
directly in your applications. The Wicket project also uploads the source
and JavaDoc jars as well as the final jar to the Maven repository used by
the Maven build tool. So there is actually no specific need to build Wicket
-yourself from the distribution.
+yourself from the distribution. Nontheless, if you wish to build Wicket from
+source you can follow these instructions:
-Building using Maven 2 or 3, change the working directory to src and either
-do:
+##### With a JDK 8 as default Java distribution
+With Maven either do:
- mvn package
@@ -207,6 +208,14 @@ do:
creates wicket-x.y.z.jar in target/ subdirectory and installs the file
into your local Maven repository for use in other projects.
+##### With a JDK 11 (or newer) as default Java distribution
+Due to the changes introduced after Java 8 the building process must uses
+Maven Toolchains plugin (https://maven.apache.org/guides/mini/guide-using-toolchains.html)
+so you must have Maven properly configured to find a JDK 8 distribution on your machine.
+Then you have to run Maven commands activating profiles `buildbot` and `jdk11`
+
+ mvn install -Pbuildbot,jdk11
+
Migrating from 7.x
------------------