This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new 74496fe Update text to refer to Java 8, not 7.
74496fe is described below
commit 74496fef7b2a31b1f67f1d63bd9e0368c4815575
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Feb 23 14:54:22 2021 -0500
Update text to refer to Java 8, not 7.
---
BUILDING.md | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/BUILDING.md b/BUILDING.md
index d973458..11a544e 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -15,29 +15,29 @@
limitations under the License.
-->
# Building Log4j 2
-
-To build Log4j 2, you need a JDK implementation version 1.7 or greater, JDK
+
+To build Log4j 2, you need a JDK implementation version 1.7 or greater, JDK
version 9, and Apache Maven 3.x.
-Log4j 2.x uses the Java 9 compiler in addition to
+Log4j 2.x uses the Java 9 compiler in addition to
the Java version installed in the path. This is accomplished by using Maven's
toolchains support.
-Log4j 2 provides sample toolchains XML files in the root folder. This may be
used by
-modifying it and installing the file as toolchains.xml in the .m2 folder or by
using the
+Log4j 2 provides sample toolchains XML files in the root folder. This may be
used by
+modifying it and installing the file as toolchains.xml in the .m2 folder or by
using the
following when invoking Maven.
```
-[Macintosh] -t ./toolchains-sample-mac.xml
-[Windows] -t ./toolchains-sample-win.xml
-[Linux] -t ./toolchains-sample-linux.xml
+[Macintosh] -t ./toolchains-sample-mac.xml
+[Windows] -t ./toolchains-sample-win.xml
+[Linux] -t ./toolchains-sample-linux.xml
```
To perform the license release audit, a.k.a. "RAT check", run.
mvn apache-rat:check
-To build the site with Java 7, make sure you give Maven enough memory using
-`MAVEN_OPTS` with options appropriate for your JVM. Alternatively, you can
-build with Java 8 and not deal with `MAVEN_OPTS`.
+To build the site with Java 7, make sure you give Maven enough memory using
+`MAVEN_OPTS` with options appropriate for your JVM. Alternatively, you can
+build with Java 8 and not deal with `MAVEN_OPTS`.
To install the jars in your local Maven repository, from a command line, run:
@@ -51,7 +51,7 @@ Once install is run, you can run the Clirr check on the API
and 1.2 API modules:
Next, to build the site:
-If Java 7 runs out of memory building the site, you will need:
+If Java 8 runs out of memory building the site, you will need:
set MAVEN_OPTS=-Xmx2000m -XX:MaxPermSize=384m