What happened?
Every Texera build.sbt locally redeclares three build-level settings:
organization := "org.apache"
version := "1.0.0"
scalaVersion := "2.13.18"
This is duplicated across the root build.sbt and the 12 per-module build.sbt files. Three issues follow from that:
- Wrong groupId.
org.apache is the namespace reserved for the Apache Software Foundation itself. Every Apache TLP uses org.apache.<project>. Texera should be org.apache.texera.
- Stale per-module version. Each module ships as
1.0.0 while the root aggregator advertises 1.1.0-incubating. The module jars should carry the real project version.
- Duplication cost. A Scala upgrade today requires 12 identical edits; same for the project version. A single canonical declaration would avoid drift.
How to reproduce?
- Run
sbt 'AccessControlService/dist'.
- Inspect
access-control-service/target/universal/access-control-service-*.zip; jars inside lib/ are named org.apache.<artifact>-1.0.0.jar.
- Expected:
org.apache.texera.<artifact>-1.1.0-incubating.jar.
Version
1.1.0-incubating (Pre-release/Master)
Commit Hash (Optional)
ef66364
Proposed fix
Lift all three settings to ThisBuild in the root build.sbt and drop the per-module duplicates:
ThisBuild / organization := "org.apache.texera"
ThisBuild / version := "1.1.0-incubating"
ThisBuild / scalaVersion := "2.13.18"
Per-module overrides remain possible when a module genuinely needs a different value.
Was this authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 4.7)
What happened?
Every Texera
build.sbtlocally redeclares three build-level settings:This is duplicated across the root
build.sbtand the 12 per-modulebuild.sbtfiles. Three issues follow from that:org.apacheis the namespace reserved for the Apache Software Foundation itself. Every Apache TLP usesorg.apache.<project>. Texera should beorg.apache.texera.1.0.0while the root aggregator advertises1.1.0-incubating. The module jars should carry the real project version.How to reproduce?
sbt 'AccessControlService/dist'.access-control-service/target/universal/access-control-service-*.zip; jars insidelib/are namedorg.apache.<artifact>-1.0.0.jar.org.apache.texera.<artifact>-1.1.0-incubating.jar.Version
1.1.0-incubating (Pre-release/Master)
Commit Hash (Optional)
ef66364
Proposed fix
Lift all three settings to
ThisBuildin the rootbuild.sbtand drop the per-module duplicates:Per-module overrides remain possible when a module genuinely needs a different value.
Was this authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 4.7)