Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
This commit is contained in:
commit
705d68ebf3
|
@ -63,12 +63,11 @@ public class JettyEffectiveWebXml extends AbstractUnassembledWebAppMojo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Path start = path.getName(0);
|
|
||||||
int count = path.getNameCount();
|
if ((path == null) || (path.startsWith("src") || !path.endsWith(".war")))
|
||||||
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"))
|
|
||||||
super.configureUnassembledWebApp();
|
super.configureUnassembledWebApp();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue