class MavenVariableResolverAdapterUtil {

  public static Map<String, String> createCoordinateMap(Coordinates coordinates) {
    Map<String, String> coordMap = new HashMap<>();
    coordMap.put(GROUP_ID, coordinates.getGroupId());
    coordMap.put(ARTIFACT_ID, coordinates.getArtifactId());
    coordMap.put(VERSION, coordinates.getBaseVersion());
    coordMap.put(EXTENSION, coordinates.getExtension());
    coordMap.put(CLASSIFIER, coordinates.getClassifier() == null ? EMPTY : coordinates.getClassifier());
    return coordMap;
  }

  private  MavenVariableResolverAdapterUtil();

}