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