class MavenUploadHandler extends MavenUploadHandlerSupport {

  @Override
  protected VersionPolicy getVersionPolicy(final Repository repository) {
    return repository.facet(MavenContentFacet.class).getVersionPolicy();
  }

  @Inject public  MavenUploadHandler(
      final Maven2MavenPathParser parser,
      @Named(Maven2Format.NAME) final VariableResolverAdapter variableResolverAdapter,
      final ContentPermissionChecker contentPermissionChecker,
      final VersionPolicyValidator versionPolicyValidator,
      final MavenPomGenerator mavenPomGenerator,
      final Set<UploadDefinitionExtension> uploadDefinitionExtensions);

}