From 79f6121894952aea5623a323a2ef5066e21ab515 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Mon, 13 May 2013 17:51:12 +1000 Subject: [PATCH] 407812 - jetty-maven-plugin can not handle whitespaces in equivalent of WEB-INF/classes paths --- .../jetty/maven/plugin/MavenAnnotationConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenAnnotationConfiguration.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenAnnotationConfiguration.java index e9c2382a283..8d5b502a4c6 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenAnnotationConfiguration.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenAnnotationConfiguration.java @@ -67,7 +67,7 @@ public class MavenAnnotationConfiguration extends AnnotationConfiguration //scan the equivalent of the WEB-INF/classes directory that has been synthesised by the plugin if (f.isDirectory() && f.exists()) { - doParse(context, parser, Resource.newResource(f.toURL())); + doParse(context, parser, Resource.newResource(f.toURI())); } }