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
- requires
-
MJAVADOC-619 Maven Javadoc bottom claims copyright for future years
- Closed