Issue #3918 use Jetty version from pom if not found (#3919)

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
Olivier Lamy 2019-07-31 20:11:20 +10:00 committed by GitHub
parent 95298d89e9
commit 6b07bd23c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class Jetty
pkg.getImplementationVersion() != null) pkg.getImplementationVersion() != null)
VERSION = pkg.getImplementationVersion(); VERSION = pkg.getImplementationVersion();
else else
VERSION = System.getProperty("jetty.version", "9.4.z-SNAPSHOT"); VERSION = System.getProperty("jetty.version", __buildProperties.getProperty("version", "9.4.z-SNAPSHOT"));
POWERED_BY = "<a href=\"http://eclipse.org/jetty\">Powered by Jetty:// " + VERSION + "</a>"; POWERED_BY = "<a href=\"http://eclipse.org/jetty\">Powered by Jetty:// " + VERSION + "</a>";