Fix quickstart; add MavenMetaInfConfiguration to services for plugin

This commit is contained in:
Jan Bartel 2018-10-16 11:25:51 +11:00
parent 9fd95a329c
commit ff81168b57
2 changed files with 2 additions and 1 deletions

View File

@ -296,7 +296,6 @@ public class JettyWebAppContext extends WebAppContext
for (String r:rs)
resources.add(r);
}
setBaseResource(new ResourceCollection(resources.toArray(new String[resources.size()])));
}
@ -346,6 +345,7 @@ public class JettyWebAppContext extends WebAppContext
{
MavenQuickStartConfiguration quickStart = new MavenQuickStartConfiguration();
quickStart.setMode(Mode.GENERATE);
quickStart.setQuickStartWebXml(getQuickStartWebDescriptor());
addConfiguration(quickStart);
}

View File

@ -1 +1,2 @@
org.eclipse.jetty.maven.plugin.MavenWebInfConfiguration
org.eclipse.jetty.maven.plugin.MavenMetaInfConfiguration