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/10 15:19:14 UTC
[wicket] branch wicket-7.x updated: Update README
This is an automated email from the ASF dual-hosted git repository.
adelbene pushed a commit to branch wicket-7.x
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/wicket-7.x by this push:
new afa05fb Update README
afa05fb is described below
commit afa05fbca4a2de061b2e306e0fa7c34bf7dd6216
Author: Andrea Del Bene <ad...@apache.org>
AuthorDate: Sun Feb 10 16:19:09 2019 +0100
Update README
---
README | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/README b/README
index 0885cda..5e81441 100644
--- a/README
+++ b/README
@@ -216,20 +216,29 @@ 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
+ - `mvn package`
creates wicket-x.y.z.jar in target/ subdirectory.
- - mvn install
+ - `mvn install`
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 clean install -Pbuildbot,jdk11`
+
Migrating from 6.x
------------------