Make the Wicket release artifacts reproducible

未关闭
#1,941 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@dashorst 已经在做这个了。

开始于 2026年11月17日。

评估

这个 Issue 还没有评估数据。

描述

Blocked by WICKET-7090.

Rebuilding a Wicket release from its source tag should produce the same bytes as the artifacts on Maven Central, so anyone can verify that a published jar was built from the published source.

WICKET-7090 set project.build.outputTimestamp in the root pom, so archive entries carry a fixed timestamp instead of the build time. That is the prerequisite, not the whole job. What remains:

  • Build twice and compare (mvn clean install -DskipTests, then mvn clean verify -DskipTests artifact:compare) and list what differs: jars, OSGi manifests, javadoc and sources jars, the minified JavaScript, the examples war. Nothing differs; 11.0.0 rebuilds identically to Central with umask 022.
  • Fix each difference in the build. None to fix.
  • Make sure every release sets project.build.outputTimestamp to its own date. release:prepare does this.
  • Consider registering Wicket at Reproducible Central, so releases are rebuilt and checked independently. Already registered: 10.1.0 to 11.0.0 are all reproducible.

Findings and an explanation of Reproducible Central are in the comments.

主要语言
Java
星标
800
派生
437
平均合并
21 小时 36 分钟
30 天内合并 PR
167

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/wicket 的其他 Issue

查看 apache/wicket 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。