You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2017/04/21 06:40:00 UTC
[04/11] logging-log4j2 git commit: LOG4J2-1359 - Ignore javadoc
problems in core due to Java 9 classes. Modify build instructions
LOG4J2-1359 - Ignore javadoc problems in core due to Java 9 classes. Modify build instructions
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/e6ce8e4e
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/e6ce8e4e
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/e6ce8e4e
Branch: refs/heads/master
Commit: e6ce8e4e137f00e9c3ab2f341dfda03c1f76a88a
Parents: 4e44466
Author: Ralph Goers <rg...@nextiva.com>
Authored: Sat Mar 18 15:22:51 2017 -0700
Committer: Ralph Goers <rg...@nextiva.com>
Committed: Sat Mar 18 15:22:51 2017 -0700
----------------------------------------------------------------------
log4j-core/pom.xml | 1 +
src/site/markdown/build.md | 8 +++++++-
2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/e6ce8e4e/log4j-core/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-core/pom.xml b/log4j-core/pom.xml
index 47931da..f1bd976 100644
--- a/log4j-core/pom.xml
+++ b/log4j-core/pom.xml
@@ -494,6 +494,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.plugin.version}</version>
<configuration>
+ <failOnError>false</failOnError>
<bottom><![CDATA[<p align="center">Copyright © {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p>]]></bottom>
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/e6ce8e4e/src/site/markdown/build.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/build.md b/src/site/markdown/build.md
index fa1e27a..b63d985 100644
--- a/src/site/markdown/build.md
+++ b/src/site/markdown/build.md
@@ -28,7 +28,13 @@ most current source code can be found at
[Log4j Source Repository](source-repository.html). The source from the latest release may be
obtained by downloading it using the instructions at [Log4j Downloads](download.html).
-Log4j 2.x uses Maven 3 as its build tool. To build and install Log4j in your local Maven cache, from
+Log4j 2.x uses Maven 3 as its build tool. Log4j 2.x uses the Java 9 compiler in addition to
+the Java version installed in the path. This is accomplished by usin Maven's toolchains support.
+Log4j 2 provides a sample toolchains XML file 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
+-t ./toolchains-sample.xml when invoking Maven.
+
+To build and install Log4j in your local Maven cache, from
the root directory run: `mvn install`
Note that if your `/etc/hosts` file does not include an entry for your computer's hostname, then