bobbai00 opened a new issue, #4446:
URL: https://github.com/apache/texera/issues/4446

   ### What happened?
   
   Every module's `build.sbt` declares `organization := "org.apache"` locally 
(root `build.sbt` plus 11 per-module files). As a result, `sbt dist` produces 
jars with Maven coordinates in the bare `org.apache` groupId:
   
   ```
   org.apache:dao
   org.apache:config
   org.apache:auth
   org.apache:config-service
   org.apache:access-control-service
   org.apache:pybuilder
   org.apache:workflow-core
   org.apache:computing-unit-managing-service
   org.apache:file-service
   org.apache:workflow-operator
   org.apache:workflow-compiling-service
   org.apache:amber
   ```
   
   The `org.apache` groupId is reserved for the Apache Software Foundation 
itself. Each top-level Apache project uses `org.apache.<project>` as its 
groupId. Texera should be `org.apache.texera`.
   
   **Secondary effect:** the `check-binary-licenses.yml` CI job reports every 
Texera-produced jar as a "NEW JVM jar not claimed by `LICENSE-binary`", since 
the checker has no notion of Texera's own jars and they appear 
indistinguishable from third-party `org.apache.*` dependencies.
   
   ### How to reproduce?
   
   1. From a fresh clone of `apache/texera@main`, run:
      ```
      sbt 'clean; ConfigService/dist; AccessControlService/dist; 
FileService/dist; ComputingUnitManagingService/dist; 
WorkflowCompilingService/dist; WorkflowExecutionService/dist'
      ```
   2. Inspect the produced zips under `*/target/universal/`; the jars use 
`org.apache.<artifact>-<version>.jar` naming (e.g. 
`org.apache.amber-1.1.0-incubating.jar`).
   3. Run `./bin/licensing/check_binary_deps.py jar <dist-lib-dirs>`; it 
reports Texera's own jars as unclaimed dependencies.
   
   ### Version
   
   1.1.0-incubating (Pre-release/Master)
   
   ### Commit Hash (Optional)
   
   ef663648d (current `main` at time of filing)
   
   ### Relevant log output
   
   ```
   NEW JVM jars not claimed by LICENSE-binary:
     + org.apache.access-control-service
     + org.apache.amber
     + org.apache.auth
     + org.apache.computing-unit-managing-service
     + org.apache.config
     + org.apache.config-service
     + org.apache.dao
     + org.apache.file-service
     + org.apache.pybuilder
     + org.apache.workflow-compiling-service
     + org.apache.workflow-core
     + org.apache.workflow-operator
   ```
   
   ### Proposed fix
   
   Set `ThisBuild / organization := "org.apache.texera"` once in the root 
`build.sbt` and remove the per-module `organization := "org.apache"` overrides. 
Jars then publish as `org.apache.texera:<artifact>`, matching the Apache TLP 
convention.
   
   A follow-up change is also needed in `bin/licensing/check_binary_deps.py` to 
skip jars whose groupId matches Texera's own namespace.
   
   ### Was this authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Opus 4.7)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to