Skip to content

Rename Jetty and Tomcat common modules#18786

Merged
trask merged 1 commit into
open-telemetry:mainfrom
trask:package-name-cleanup-jetty-tomcat-common
May 19, 2026
Merged

Rename Jetty and Tomcat common modules#18786
trask merged 1 commit into
open-telemetry:mainfrom
trask:package-name-cleanup-jetty-tomcat-common

Conversation

@trask

@trask trask commented May 18, 2026

Copy link
Copy Markdown
Member

@trask trask force-pushed the package-name-cleanup-jetty-tomcat-common branch from 18d200e to 2603bc5 Compare May 18, 2026 17:53
@trask trask marked this pull request as ready for review May 18, 2026 17:56
Copilot AI review requested due to automatic review settings May 18, 2026 17:56
@trask trask requested a review from a team as a code owner May 18, 2026 17:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Renames the tomcat-common and jetty-common javaagent modules to tomcat-common-7.0 and jetty-common-8.0 respectively, aligning module names with the minimum supported version convention, and adds matching v7_0/v8_0 package suffixes. Part of #18428.

Changes:

  • Renamed Gradle modules and updated settings.gradle.kts, .fossa.yml, READMEs, and all dependent build files.
  • Moved common Tomcat sources into the ...tomcat.common.v7_0 package and common Jetty sources into the ...jetty.common.v8_0 package.
  • Updated all import references in dependent Tomcat 7.0/10.0 and Jetty 8.0/11.0 modules.

Reviewed changes

Copilot reviewed 27 out of 29 changed files in this pull request and generated no comments.

Show a summary per file
File Description
settings.gradle.kts Replaces old module paths with renamed ones.
.fossa.yml Updates Gradle target paths for the renamed modules.
instrumentation/tomcat/README.md Reflects the new tomcat-common-7.0 module name.
instrumentation/tomcat/tomcat-common-7.0/javaagent/build.gradle.kts New build script for the renamed module.
instrumentation/tomcat/tomcat-common-7.0/.../v7_0/*.java Package declarations updated to ...tomcat.common.v7_0.
instrumentation/tomcat/tomcat-7.0/javaagent/** Updated imports and dependency to renamed common module.
instrumentation/tomcat/tomcat-10.0/javaagent/** Updated imports and dependency to renamed common module.
instrumentation/jetty/README.md Reflects the new jetty-common-8.0 module name.
instrumentation/jetty/jetty-common-8.0/javaagent/build.gradle.kts New build script for the renamed module.
instrumentation/jetty/jetty-common-8.0/.../v8_0/*.java Package declarations updated to ...jetty.common.v8_0.
instrumentation/jetty/jetty-8.0/javaagent/** Updated imports and dependency to renamed common module.
instrumentation/jetty/jetty-11.0/javaagent/** Updated imports and dependency to renamed common module.
instrumentation/jfinal-3.2/javaagent/build.gradle.kts Updates testInstrumentation dependency to renamed jetty-common-8.0.

@trask trask merged commit c2acb48 into open-telemetry:main May 19, 2026
101 checks passed
@trask trask deleted the package-name-cleanup-jetty-tomcat-common branch May 19, 2026 14:25
SylvainJuge pushed a commit to SylvainJuge/opentelemetry-java-instrumentation that referenced this pull request May 20, 2026
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