Skip to content

build: replace storm-maven-plugins with git-commit-id-maven-plugin#8540

Open
rzo1 wants to merge 1 commit intomasterfrom
drop-storm-buildtools-check
Open

build: replace storm-maven-plugins with git-commit-id-maven-plugin#8540
rzo1 wants to merge 1 commit intomasterfrom
drop-storm-buildtools-check

Conversation

@rzo1
Copy link
Copy Markdown
Contributor

@rzo1 rzo1 commented Apr 28, 2026

The custom version-info Mojo in storm-buildtools/storm-maven-plugins only populated SCM commit/branch/uri, build time and a source MD5 used to filter storm-{client,core}-version-info.properties at build time. All of that is covered by io.github.git-commit-id:git-commit-id-maven-plugin (commit, branch) plus the plugin's own build timestamp, so the bespoke module is no longer needed.

  • Drop storm-buildtools/ tree (storm-maven-plugins module + leftover empty maven-shade-clojure-transformer dir from the Clojure removal).
  • Remove the storm-buildtools/storm-maven-plugins module from the root pom.
  • Manage git-commit-id-maven-plugin 9.0.1 in the parent pluginManagement.
  • Wire it into storm-client and storm-core in the initialize phase.
  • Update version-info templates to reference git.commit.id, git.branch and git.build.time. Drop srcChecksum from the templates (runtime VersionInfo already returns "Unknown" when the property is absent, preserving the IVersionInfo API and REST cluster-summary shape).

The custom version-info Mojo in storm-buildtools/storm-maven-plugins only
populated SCM commit/branch/uri, build time and a source MD5 used to filter
storm-{client,core}-version-info.properties at build time. All of that is
covered by io.github.git-commit-id:git-commit-id-maven-plugin (commit, branch)
plus the plugin's own build timestamp, so the bespoke module is no longer
needed.

- Drop storm-buildtools/ tree (storm-maven-plugins module + leftover empty
  maven-shade-clojure-transformer dir from the Clojure removal).
- Remove the storm-buildtools/storm-maven-plugins module from the root pom.
- Manage git-commit-id-maven-plugin 9.0.1 in the parent pluginManagement.
- Wire it into storm-client and storm-core in the initialize phase.
- Update version-info templates to reference git.commit.id, git.branch and
  git.build.time. Drop srcChecksum from the templates (runtime VersionInfo
  already returns "Unknown" when the property is absent, preserving the
  IVersionInfo API and REST cluster-summary shape).
@rzo1 rzo1 added this to the 3.0.0 milestone Apr 28, 2026
@rzo1 rzo1 requested review from jnioche and reiabreu April 28, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants