code: public static Version fromClasspathProperties(String path, String gitPath, Version defaultVersion) {
          return fromClasspathProperties(path, "project.version", gitPath, "git.commit.id", defaultVersion);
      }
docs: Try to read the version from {@code path} ({@code project.version} property)
  and {@code gitPath} ({@code git.commit.id} property) from the classpath.
  
  @param path           Path of the properties file on the classpath which contains the version information.
  @param gitPath        Path of the properties file on the classpath which contains the SCM information.
  @param defaultVersion The {@link Version} to return if reading the information from the properties files failed.