The producer hardcoded its version, so released artifacts reported a stale literal or -SNAPSHOT as the qbit's metadata version.
Fix: this follows the authentik pattern. A Maven-filtered qbit-backups.properties holds version=${project.version}, and the producer loads it. The tests assert that the producer version, the help bundle version and the artifact version are equal (surefire passes qbit.artifactVersion).
Codex notes:
Implemented in five files:
pom.xml: resource filtering and Surefire artifact-version property.
qbit-backups.properties: build-derived version.
BackupsQBitProducer.java: loads version; fails clearly if missing or invalid.
The producer hardcoded its version, so released artifacts reported a stale literal or `-SNAPSHOT` as the qbit's metadata version.
**Fix:** this follows the authentik pattern. A Maven-filtered `qbit-backups.properties` holds `version=${project.version}`, and the producer loads it. The tests assert that the producer version, the help bundle version and the artifact version are equal (surefire passes `qbit.artifactVersion`).
**Codex notes:**
Implemented in five files:
- `pom.xml`: resource filtering and Surefire artifact-version property.
- `qbit-backups.properties`: build-derived version.
- `BackupsQBitProducer.java`: loads version; fails clearly if missing or invalid.
- `BackupsQBitProducerTest.java`: strict artifact/producer/bundle equality.
- `CHANGELOG.md`: Unreleased entry.
`./mvnw.cmd -q verify` passed. RC.99 proof passed: all four producer tests succeeded with `0.1.0-RC.99`.
Restored `pom.xml` byte-for-byte, preserving `${revision}`; diff contains only intended changes. No commit or push.
Second Brain save was blocked by filesystem write restrictions.
Low priority: this rides the repo's next RC.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The producer hardcoded its version, so released artifacts reported a stale literal or
-SNAPSHOTas the qbit's metadata version.Fix: this follows the authentik pattern. A Maven-filtered
qbit-backups.propertiesholdsversion=${project.version}, and the producer loads it. The tests assert that the producer version, the help bundle version and the artifact version are equal (surefire passesqbit.artifactVersion).Codex notes:
Implemented in five files:
pom.xml: resource filtering and Surefire artifact-version property.qbit-backups.properties: build-derived version.BackupsQBitProducer.java: loads version; fails clearly if missing or invalid.BackupsQBitProducerTest.java: strict artifact/producer/bundle equality.CHANGELOG.md: Unreleased entry../mvnw.cmd -q verifypassed. RC.99 proof passed: all four producer tests succeeded with0.1.0-RC.99.Restored
pom.xmlbyte-for-byte, preserving${revision}; diff contains only intended changes. No commit or push.Second Brain save was blocked by filesystem write restrictions.
Low priority: this rides the repo's next RC.
🤖 Generated with Claude Code