Skip to content

feat: as-4.16 change Maven groupId from org.apache to com.ascentstream#7

Merged
liudezhi2098 merged 1 commit into
branch-as-4.16from
feat/change-groupid-to-ascentstream
Apr 10, 2026
Merged

feat: as-4.16 change Maven groupId from org.apache to com.ascentstream#7
liudezhi2098 merged 1 commit into
branch-as-4.16from
feat/change-groupid-to-ascentstream

Conversation

@liudezhi2098

@liudezhi2098 liudezhi2098 commented Apr 9, 2026

Copy link
Copy Markdown

Summary

将 AscentStream BookKeeper fork 的所有 Maven groupId 从 org.apache.bookkeeper 更改为 com.ascentstream.bookkeeper,涉及所有构建配置文件。

变更范围

groupId 替换映射

旧 groupId 新 groupId
org.apache.bookkeeper com.ascentstream.bookkeeper
org.apache.bookkeeper.http com.ascentstream.bookkeeper.http
org.apache.bookkeeper.stats com.ascentstream.bookkeeper.stats
org.apache.bookkeeper.tests com.ascentstream.bookkeeper.tests
org.apache.bookkeeper.metadata.drivers com.ascentstream.bookkeeper.metadata.drivers

修改的文件类型(94 files, +311/-311)

  • pom.xml — 所有模块的 <groupId> 声明、parent 引用、dependency 引用
  • dependency-reduced-pom.xml — shade 模块的 groupId + artifactSet includes
  • Assembly XML (bookkeeper-dist/src/assemble/*.xml) — exclude 模式
  • bin/common.sh — 模块名正则匹配
  • NAR 配置 (cpu-affinity/pom.xml, native-io/pom.xml) — narSystemPackage 值
  • Shade plugin — artifactSet <include> 模式以匹配新 groupId

未修改

  • Java 源文件中的 package 声明和 import 语句
  • Log4j2 配置文件中的 logger 名称
  • FindBugs exclude 文件中的 class 引用
  • 文档文件(markdown)

Verification

  • mvn install -DskipTests -Dcheckstyle.skip=true -Dspotbugs.skip=true 通过(92 模块全部 SUCCESS)
  • 所有 bookkeeper 相关 jar 文件名已使用新 groupId(如 com.ascentstream.bookkeeper-bookkeeper-server-4.16.8-SNAPSHOT.jar
  • 无残留的旧 groupId 引用(grep "<groupId>org.apache.bookkeeper" --include="pom.xml" 返回 0 结果)

…ream.bookkeeper

Rebrand all Maven groupIds for the AscentStream fork:
- org.apache.bookkeeper -> com.ascentstream.bookkeeper
- org.apache.bookkeeper.http -> com.ascentstream.bookkeeper.http
- org.apache.bookkeeper.stats -> com.ascentstream.bookkeeper.stats
- org.apache.bookkeeper.tests -> com.ascentstream.bookkeeper.tests
- org.apache.bookkeeper.metadata.drivers -> com.ascentstream.bookkeeper.metadata.drivers

Changes include:
- All pom.xml files (groupId declarations, parent refs, dependencies)
- dependency-reduced-pom.xml files (groupId + shade includes)
- Assembly XML files (exclude patterns)
- bin/common.sh (module name regex patterns)
- NAR system packages in cpu-affinity and native-io modules
- Shade plugin artifactSet includes for correct artifact resolution

Java package declarations and imports are intentionally not changed.
@liudezhi2098
liudezhi2098 force-pushed the feat/change-groupid-to-ascentstream branch from 6a2a912 to f88bdb1 Compare April 9, 2026 08:29
@liudezhi2098 liudezhi2098 changed the title feat: change Maven groupId from org.apache.bookkeeper to com.ascentst… feat: change Maven groupId from org.apache to com.ascentstream Apr 9, 2026
@liudezhi2098
liudezhi2098 merged commit 7807965 into branch-as-4.16 Apr 10, 2026
76 of 83 checks passed
liudezhi2098 added a commit that referenced this pull request Apr 10, 2026
Cherry-pick PR #7 (f88bdb1) from branch-as-4.16 to branch-as-4.17.
Changed groupId from org.apache.bookkeeper to com.ascentstream.bookkeeper
across all pom.xml files and related build scripts.

Additional fixes for 4.17-only modules:
- Updated otel-metrics-provider pom.xml groupId
- Updated otel-metrics-provider dependency references in dist/all and dist/server
@liudezhi2098 liudezhi2098 changed the title feat: change Maven groupId from org.apache to com.ascentstream feat: as-4.16 change Maven groupId from org.apache to com.ascentstream Apr 10, 2026
@liudezhi2098 liudezhi2098 self-assigned this Apr 10, 2026
@liudezhi2098 liudezhi2098 added enhancement New feature or request release-as-4.16 labels Apr 10, 2026
@liudezhi2098
liudezhi2098 deleted the feat/change-groupid-to-ascentstream branch April 10, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request release-as-4.16

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant