Skip to content

Upgrade to Jetty EE10 Maven plugin and update logging configuration - #10

Merged
Mangesh Sangapu (msangapu-msft) merged 1 commit into
mainfrom
chore/jetty12-ee10-upgrade
Jul 24, 2026
Merged

Upgrade to Jetty EE10 Maven plugin and update logging configuration#10
Mangesh Sangapu (msangapu-msft) merged 1 commit into
mainfrom
chore/jetty12-ee10-upgrade

Conversation

@cephalin

Copy link
Copy Markdown
Contributor

Summary

  • migrate Maven Jetty plugin from org.eclipse.jetty:jetty-maven-plugin:11.0.20 to org.eclipse.jetty.ee10:jetty-ee10-maven-plugin:12.1.11
  • update Jetty webapp context class in jetty-env.xml to EE10 package namespace
  • switch log4j2 Hibernate logger entries to Log4j2 properties syntax

Why

These changes align local runtime and servlet stack with EE10-compatible Jetty 12 and ensure the Hibernate logger configuration is correctly applied by Log4j2.

Validation

  • azd up completed successfully in this environment
  • application deployment flow now works end-to-end

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This pull request upgrades the local Jetty runtime to an EE10-compatible Jetty 12 Maven plugin, updates Jetty webapp context configuration to the EE10 namespace, and adjusts Hibernate logging configuration to use Log4j2 properties syntax.

Changes:

  • Upgrade Maven Jetty plugin from org.eclipse.jetty:jetty-maven-plugin (Jetty 11) to org.eclipse.jetty.ee10:jetty-ee10-maven-plugin (Jetty 12 EE10).
  • Update jetty-env.xml WebAppContext class to org.eclipse.jetty.ee10.webapp.WebAppContext (EE10 namespace).
  • Replace Log4j 1-style Hibernate logger keys with Log4j2 properties-based logger entries.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/main/webapp/WEB-INF/jetty-env.xml Updates the Jetty WebAppContext class (and DTD URL) to align with Jetty 12 EE10 configuration.
src/main/resources/log4j2.properties Migrates Hibernate logger settings to Log4j2 properties logger entries.
pom.xml Switches the Jetty Maven plugin coordinates/version to Jetty 12 EE10.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/main/resources/log4j2.properties
Comment thread pom.xml

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@msangapu-msft
Mangesh Sangapu (msangapu-msft) merged commit a913a83 into main Jul 24, 2026
2 checks passed
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