Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-380

docs claim copyright for future years

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Information Provided
    • 3.8.0
    • None
    • None

    Description

      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>

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              bmwiedemann Bernhard M. Wiedemann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: