class Maven2ComponentMetadataProducer extends DefaultComponentMetadataProducer {

  @Override
  protected boolean isPrerelease(final Component component, final Iterable<Asset> assets) {
    String baseVersion = (String) component.attributes().child(Maven2Format.NAME).get(P_BASE_VERSION);
    if(baseVersion == null) {
      return false;
    }
    return baseVersion.endsWith(SNAPSHOT_VERSION_SUFFIX);
  }

  @Inject public  Maven2ComponentMetadataProducer(final Set<ComponentMetadataProducerExtension> extensions);

}