Hi Thomas,

Saw your other thread about the reproducible builds. Really interesting. I 
found something else, pertinent to this thread, so posting it here.

I was dumbfound with that 2020, so I opened both the NOTICE.txt from the GitHub 
tag, and the one from the zip bin dist archive, one on each monitor, and 
reading it noticed a difference. The one in the ZIP/tar.gz files has the ":: 
Distribution" suffix.

Looking at the jcs-dist Maven module, it has this following line in the 
assembly files: 
https://github.com/apache/commons-jcs/blob/7e38d3342dfd96b8078fd9ca60ff3a43d539df4f/commons-jcs-dist/src/assembly/bin.xml#L57

If you run this command `mvn clean package -Prelease -DskipTests` on your 
branch, and once it has completed, open 
./target/maven-shared-archive-resources/META-INF/, there you should find the 
NOTICE file with the wrong dates.

Now... how that file got there... still not clear to me.

-Bruno


    On Thursday, 6 January 2022, 10:30:44 pm NZDT, Thomas Vandahl 
<t...@apache.org> wrote:  
 
 Hi Bruno,

> Am 05.01.2022 um 21:59 schrieb Bruno P. Kinoshita 
> <brunodepau...@yahoo.com.br.INVALID>:
> 
> Did you have an old NOTICE file in the directory where you built the jcs 
> release? I read the release instructions [1] and the code of 
> commons-release-plugin [2], and found nothing that appeared to replace files 
> or dates. The tag on GitHub is showing NOTICE.txt (with the extension) with 
> the correct dates. 

No, I haven’t. I completely rely on the files automatically generated by the 
plugin. If you look at the code of the plugin, you see the mentioned 
outputTimestamp property is being used. 
I found docs about this here: 
https://maven.apache.org/guides/mini/guide-reproducible-builds.html

> Maybe somebody else knows how that can happen.
The effective POM shows the following entry:
<project.build.outputTimestamp>2020-01-22T15:10:15Z</project.build.outputTimestamp>

Now we see why the year number in NOTICE is wrong. But who sets this?

Bye, Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

  

Reply via email to