Community
Undertow is open source and developed on GitHub. We welcome community participation and contributions!
Communication Channels
Zulip Chat
Join us on Zulip chat in the #undertow stream for real-time discussions, questions, and community support.
Mailing Lists
-
Undertow Dev Google Group: https://groups.google.com/g/undertow-dev/
-
Archived discussions from the old undertow-dev mailing list are available here
Reporting Issues
Report a Bug or Feature Request
Bug reports and feature requests can be submitted in the Undertow Jira project.
To create a new issue, comment on an existing issue, or assign an issue to yourself, you’ll need to first create a Jira account.
Important login note for Jira:
-
Create a free Atlassian account using a personal (non-corporate) email address
-
After signing up, visit https://redhat.atlassian.net/jira/for-you to complete authentication with Red Hat Jira before attempting to create or comment on an issue (logging into a generic Atlassian account alone is not sufficient)
-
If you still cannot create an issue or assign one to yourself, reach out in the #undertow stream on WildFly Zulip and a maintainer will help
Good First Issues
New to Undertow and want to contribute? Check out our good-first-issue tickets - these are carefully selected issues that are great for getting started.
Report a Security Vulnerability
If you discover a security vulnerability, please follow our security reporting guidelines.
Important: Do not report security vulnerabilities in public spaces (Jira, GitHub issues, chat rooms, mailing lists). Use private email communication as described in our security policy.
Contributing Code
Project Structure
The Undertow project is organized into multiple repositories:
-
undertow - Core HTTP server implementation with non-blocking IO
-
undertow-ee - Jakarta Servlet and Jakarta WebSocket implementations
For servlet and websocket development, you’ll need to work with the undertow-ee project, which provides the enterprise edition features built on top of the core Undertow HTTP server.
Prerequisites
Java Version
Different Undertow branches require specific JDK versions:
-
Undertow 2.2.x: JDK 8+
-
Undertow 2.3.x: JDK 11+
-
Undertow 2.4.x: JDK 17+ (JDK 21 recommended)
-
undertow-ee 1.0.x (Jakarta EE 10): JDK 17+
-
undertow-ee 2.0.x (Jakarta EE 11): JDK 17+
Ensure JAVA_HOME points to a compatible JDK before running Maven. You can verify your Java version:
java -version
Tip: If you regularly switch between multiple Java versions on macOS or Linux, tools like SDKMAN!, jenv, or mise make it easy to install and switch JDKs locally. Windows users can manage JDKs through their IDE or use Eclipse Temurin installers.
Maven
Undertow uses Apache Maven for building. Ensure you have Maven 3.6 or later installed:
mvn --version
Building the Projects
Building Core Undertow
# Clone the repository
git clone https://github.com/undertow-io/undertow.git
cd undertow
# Verify you're using the correct JDK version (e.g., JDK 17 for 2.4.x)
java -version
# Build the project
mvn clean install
# Build without running tests (faster)
mvn clean install -DskipTests
# Run tests only
mvn test
Building Undertow EE
For servlet and websocket development:
# Clone the repository
git clone https://github.com/undertow-io/undertow-ee.git
cd undertow-ee
# Verify you're using the correct JDK version
java -version
# Build the project
mvn clean install
# Run specific tests
mvn test -Dtest=YourTestClass
Running Examples
Running Core Examples
The Undertow examples demonstrate various features:
cd examples
mvn clean compile exec:java -Dexec.mainClass="io.undertow.examples.helloworld.HelloWorldServer"
Running Servlet Examples with Undertow EE
cd undertow-ee/servlet
mvn clean install
# Check the examples directory for servlet-based samples
Submitting Changes
Before You Start
-
Check existing issues: Browse Jira for existing issues or create a new one
-
Discuss your approach: For significant changes, discuss your plans in the Jira ticket, on Zulip chat, or in the Google Group
-
Look for good first issues: New contributors should check good-first-issue tickets
Fork and Clone
# Fork the repository on GitHub (click Fork button)
# Clone your fork
git clone https://github.com/YOUR-USERNAME/undertow.git
cd undertow
# Add upstream remote
git remote add upstream https://github.com/undertow-io/undertow.git
Making Changes
# Create a topic branch
git checkout -b UNDERTOW-XXXX-my-fix
# Make your changes and test them
mvn clean verify
# Commit your changes
git commit -m "UNDERTOW-XXXX: Brief description of your change
Detailed explanation of what this change does and why.
Include any relevant background information."
# Keep your branch up to date
git pull --rebase upstream main
# Push to your fork
git push origin UNDERTOW-XXXX-my-fix
Pull Request Guidelines
Your pull request should:
-
Reference a Jira issue: Include the UNDERTOW-XXXX ticket number
-
Include tests: Add test cases unless existing tests cover your changes
-
Follow code style: Match the style of existing code
-
Have clear commit messages: Explain what and why, not just what files changed
-
Pass CI: Ensure all tests pass (except known failures tracked in UNDERTOW-1523)
-
Include license headers: Add Apache License 2.0 headers to all new files
For detailed PR review criteria and the development workflow, see:
Project Team
-
Project Lead: Flavia Rainone (@fl4via, frainone@ibm.com)
-
Core Contributors: Richard Opalka (@ropalka, ropalka@ibm.com), Bartosz Baranowski (@baranowb)
-
Project Founder: Stuart Douglas (@stuartwdouglas)
Code of Conduct
We expect all contributors to follow our Code of Conduct when participating in the project.
Legal
All contributions are licensed under the Apache License 2.0 and are subject to the Developer Certificate of Origin (DCO).