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/11 15:44:42 UTC

[22/52] [abbrv] logging-log4j2 git commit: Add jdk8 profile to disable doclint

Add jdk8 profile to disable doclint


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/6de5fb0d
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/6de5fb0d
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/6de5fb0d

Branch: refs/heads/java9NoMultiRelease
Commit: 6de5fb0deaf52a51920a60ecfd40569333371af2
Parents: c43e583
Author: Matt Sicker <bo...@gmail.com>
Authored: Sun Apr 2 14:01:11 2017 -0500
Committer: Matt Sicker <bo...@gmail.com>
Committed: Sun Apr 2 14:01:11 2017 -0500

----------------------------------------------------------------------
 pom.xml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/6de5fb0d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index eeb9bed..96c8d3e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -829,7 +829,7 @@
             <bottom><![CDATA[<p align="center">Copyright &#169; {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>
-            <!--<additionalparam>-Xdoclint:none</additionalparam>-->
+            <additionalparam>${javadoc.opts}</additionalparam>
           </configuration>
         </plugin>
         <plugin>
@@ -1498,5 +1498,14 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>java8-doclint-disabled</id>
+      <activation>
+        <jdk>[1.8,)</jdk>
+      </activation>
+      <properties>
+        <javadoc.opts>-Xdoclint:none</javadoc.opts>
+      </properties>
+    </profile>
   </profiles>
 </project>