code: public static String getVersion(String groupId, String artifactId, String defaultVersion) {
          String answer = getVersion(groupId, artifactId);
          if (Strings.isNullOrBlank(answer)) {
              answer = defaultVersion;
          }
          return answer;
      }
docs: Returns the version from the list of pre-configured versions of common groupId/artifact pairs