class MavenAttributesHelper {

  static void setMavenAttributes(final FluentComponent component, final Coordinates coordinates) {
    Map<String, String> mavenAttributes = new HashMap<>();
    mavenAttributes.put(P_GROUP_ID, coordinates.getGroupId());
    mavenAttributes.put(P_ARTIFACT_ID, coordinates.getArtifactId());
    mavenAttributes.put(P_VERSION, coordinates.getVersion());
    mavenAttributes.put(P_BASE_VERSION, coordinates.getBaseVersion());
    component.withAttribute(NAME, mavenAttributes);
  }

  private  MavenAttributesHelper();

}