class MetadataBuilder extends ComponentSupport {

  public boolean onEnterArtifactId(final String artifactId) {
    checkState(groupId != null);
    checkNotNull(artifactId);
    if (Objects.equals(artifactId, this.artifactId)) {
      return false;
    }
    this.artifactId = artifactId;
    this.baseVersion = null;
    baseVersions.clear();
    log.debug("-> GA: {}:{}", groupId, artifactId);
    return true;
  }

  public  MetadataBuilder();

}