You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bernhard M. Wiedemann (JIRA)" <ji...@apache.org> on 2019/04/09 14:34:00 UTC

[jira] [Created] (MCOMPILER-380) docs claim copyright for future years

Bernhard M. Wiedemann created MCOMPILER-380:
-----------------------------------------------

             Summary: 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


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 &#169; 2001&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>}}
{{+<p class="legalCopy"><small>Copyright &#169; 2001&#x2013;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)