Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #12000 Replace URI.create with ResourceFactory in jetty maven plugin #12003

Conversation

janbartel
Copy link
Contributor

Closes #12000

The jetty maven plugin MavenWebAppContext class was calling URI.create to change user-entered locations into URIs and then creating a combined resource from them. Changed to using ResourceFactory.newResource(String) method, and then ResourceFactory.combine(List<Resource>) method instead.

Also updated one of the jetty maven plugin it tests to use a directory that contains space in it's name as one of the alternate resource bases to exercise this fix.

Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

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

LGTM

@janbartel janbartel merged commit 7f77bc6 into jetty-12.0.x Jul 5, 2024
11 checks passed
@janbartel janbartel deleted the jetty-12.0.x-12000-fix-combinedresources-maven-plugin branch July 5, 2024 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Cannot use Paths that have spaces with jetty-ee10-maven-plugin
2 participants