Fix quickstart; add MavenMetaInfConfiguration to services for plugin
This commit is contained in:
parent
9fd95a329c
commit
ff81168b57
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
org.eclipse.jetty.maven.plugin.MavenWebInfConfiguration
|
||||
org.eclipse.jetty.maven.plugin.MavenMetaInfConfiguration
|
Loading…
Reference in New Issue