@SuppressWarnings("nls")
    private void load() {
        URL url = Version.class.getResource("version.properties");
        if (url == null) {
            this.versionString = "Unknown";
            this.versionDate = new Date().toString();
        } else {
            allProperties = new Properties();
            try(InputStream is = url.openStream()){
                allProperties.load(is);
                this.versionString = allProperties.getProperty("version", "Unknown");
                this.versionDate = allProperties.getProperty("date", new Date().toString());
                this.vcsDescribe = allProperties.getProperty("git.commit.id.describe", "Non-Git Build");
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    }
Loads the version info from version.properties.
gateway/engine/core/src/main/java/io/apiman/gateway/engine/Version.java