public static String getVersion(String groupId, String artifactId) {
        String key = "" + groupId + "/" + artifactId;
        Map<String, String> map = getGroupArtifactVersionMap();
        String version = map.get(key);
        if (version == null) {
            getLOG().warn("Could not find the version for groupId: " + groupId + " artifactId: " + artifactId + " in: " + map);
        }
        return version;
    }
public static String getVersion ( String groupId , String artifactId ) { String key = "" + groupId + "/" + artifactId ; Map < String , String > map = getGroupArtifactVersionMap ( ) ; String version = map . get ( key ) ; if ( version == null ) { getLOG ( ) . warn ( "Could not find the version for groupId: " + groupId + " artifactId: " + artifactId + " in: " + map ) ; } return version ; }
Returns the version from the list of pre-configured versions of common groupId/artifact pairs