[ https://issues.apache.org/jira/browse/MCOMPILER-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16815178#comment-16815178 ]
Bernhard M. Wiedemann commented on MCOMPILER-380: ------------------------------------------------- The goal of reproducible builds is to be able to get from a given source + toolchain to the same binaries anytime and anywhere. This allows people to independently verify that published binaries indeed are what they are meant to be. See [https://reproducible-builds.org/] for details. Apart from that, having today's software claiming copyright for 2034 is questionable from a legal point of view, because it requires authors to author something copyright-worthy. There are more reproducible-builds issues with maven-compiler-plugin, but I just wanted to start with something easy. > 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.3#76005)