[ https://issues.apache.org/jira/browse/MCOMPILER-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897722#comment-16897722 ]
Bernhard M. Wiedemann commented on MCOMPILER-380: ------------------------------------------------- Moved to https://issues.apache.org/jira/browse/MJAVADOC-619 Thanks for the pointers. > docs claim copyright for future years > ------------------------------------- > > Key: MCOMPILER-380 > URL: https://issues.apache.org/jira/browse/MCOMPILER-380 > Project: Maven Compiler Plugin > Issue Type: Bug > Affects Versions: 3.8.0 > Reporter: Bernhard M. Wiedemann > Priority: Minor > Fix For: waiting-for-feedback > > > While working on reproducible builds for openSUSE, I found that > building the maven-compiler-plugin package in 2034, claimed copyright for > future years. > One simple fix could be to instead use the mtime of some file that is > unlikely to be touched during build (e.g. ChangeLog). Or just use a constant. > A copyright 2019 will remain correct and effective even in 2050. > > Diff: > > {{--- > old//usr/share/javadoc/maven-compiler-plugin/org/apache/maven/plugin/compiler/TestCompilerMojo.html > 2019-04-09 14:24:53.465960240 +0000}} > {{+++ > new//usr/share/javadoc/maven-compiler-plugin/org/apache/maven/plugin/compiler/TestCompilerMojo.html > 2019-04-09 14:24:53.473960286 +0000}} > {{@@ -642,7 +642,7 @@}} > {{ <!-- ======== END OF BOTTOM NAVBAR ======= -->}} > {{ </nav>}} > {{-<p class="legalCopy"><small>Copyright © 2001–2019 <a > href="https://www.apache.org/">The Apache Software Foundation</a>. All rights > reserved.</small></p>}} > {{+<p class="legalCopy"><small>Copyright © 2001–2034 <a > href="https://www.apache.org/">The Apache Software Foundation</a>. All rights > reserved.</small></p>}} -- This message was sent by Atlassian JIRA (v7.6.14#76016)