Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
This commit is contained in:
commit
705d68ebf3
|
@ -63,13 +63,12 @@ public class JettyEffectiveWebXml extends AbstractUnassembledWebAppMojo
|
|||
}
|
||||
}
|
||||
|
||||
Path start = path.getName(0);
|
||||
int count = path.getNameCount();
|
||||
Path end = path.getName(count > 0 ? count - 1 : count);
|
||||
//if the war is not assembled, we must configure it
|
||||
if (start.startsWith("src") || !end.toString().endsWith(".war"))
|
||||
|
||||
if ((path == null) || (path.startsWith("src") || !path.endsWith(".war")))
|
||||
{
|
||||
super.configureUnassembledWebApp();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Override so we can call the parent's method in a different order.
|
||||
|
|
Loading…
Reference in New Issue