You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by bo...@apache.org on 2017/08/01 11:38:44 UTC
[8/8] logging-chainsaw git commit: fix javadoc generation
fix javadoc generation
Project: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/commit/f0941995
Tree: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/tree/f0941995
Diff: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/diff/f0941995
Branch: refs/heads/master
Commit: f09419950f3256f6db15b86fa60723aafc21e347
Parents: ddb1c2c
Author: Stefan Bodewig <st...@innoq.com>
Authored: Tue Aug 1 13:38:19 2017 +0200
Committer: Stefan Bodewig <st...@innoq.com>
Committed: Tue Aug 1 13:38:19 2017 +0200
----------------------------------------------------------------------
pom.xml | 41 +++++++++++++++++++++++++++++++++++++----
1 file changed, 37 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-chainsaw/blob/f0941995/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 717de29..32c4408 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,6 +23,7 @@
<version>2.1.0-SNAPSHOT</version>
<description>Graphical Viewer for Logging events from a local or remote log4j event system.</description>
<url>https://logging.apache.org/chainsaw</url>
+ <inceptionYear>2002</inceptionYear>
<issueManagement>
<system>Bugzilla</system>
<url>https://issues.apache.org/bugzilla/</url>
@@ -106,6 +107,22 @@
<url>http://www.apache.org</url>
</organization>
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>${javadoc.plugin.version}</version>
+ <configuration>
+ <bottom><![CDATA[<p align="center">Copyright © {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, 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>${javadoc.opts}</additionalparam>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
@@ -274,9 +291,6 @@
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
<executions>
<execution>
<goals>
@@ -485,7 +499,14 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.7</version>
+ <version>${javadoc.plugin.version}</version>
+ <configuration>
+ <bottom><![CDATA[<p align="center">Copyright © {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
+ Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, 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>${javadoc.opts}</additionalparam>
+ <encoding>UTF-8</encoding>
+ </configuration>
</plugin>
</plugins>
</reporting>
@@ -501,6 +522,18 @@
</distributionManagement>
<properties>
<chainsaw.mainclass>org.apache.log4j.chainsaw.LogUI</chainsaw.mainclass>
+ <javadoc.plugin.version>2.10.4</javadoc.plugin.version>
</properties>
+ <profiles>
+ <profile>
+ <id>java8-doclint-disabled</id>
+ <activation>
+ <jdk>[1.8,)</jdk>
+ </activation>
+ <properties>
+ <javadoc.opts>-Xdoclint:none</javadoc.opts>
+ </properties>
+ </profile>
+ </profiles>
</project>