You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/05/01 20:41:50 UTC

[GitHub] [maven-javadoc-plugin] bmwiedemann commented on a change in pull request #67: [MJAVADOC-619] Maven Javadoc bottom claims copyright for future years

bmwiedemann commented on a change in pull request #67:
URL: https://github.com/apache/maven-javadoc-plugin/pull/67#discussion_r624562883



##########
File path: src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
##########
@@ -922,9 +924,12 @@
      * Specifies the text to be placed at the bottom of each output file.<br/>
      * If you want to use html, you have to put it in a CDATA section, <br/>
      * e.g. <code>&lt;![CDATA[Copyright 2005, &lt;a href="http://www.mycompany.com">MyCompany, Inc.&lt;a>]]&gt;</code>
-     * <br/>
+     * <br>
+     * <strong>Note:<strong>If the project has the property <code>project.build.outputTimestamp</code>, its year will
+     * be used as {currentYear}. This way it is possible to generate reproducible javadoc jars.
+     * <br>
      * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/javadoc.html#bottom">bottom</a>.
-     * <br/>
+     * <br>

Review comment:
       If this is XHTML, then `<br/>` is the correct way to write a standalone (unpaired) tag that is already closed. Same for the other two `<br>` above.
   In case of doubt, pass the rendered output to http://validator.w3.org/




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org