Class PortalPublisherDestination

java.lang.Object
org.jdrupes.builder.mvnrepo.MvnPublishingDestination
org.jdrupes.builder.mvnrepo.PortalPublisherDestination

A Maven publishing destination that publishes releases using the Sonatype Publish Portal API.

Instead of uploading files individually, this implementation of MvnPublishingDestination bundles all artifacts into a single ZIP release bundle and uploads it via a multipart HTTP request. It is the modern recommended way to publish releases to Maven Central.

  • Constructor Details

    • PortalPublisherDestination

      Initializes a new portal publisher destination.

      The id is initialized with "central". This allows the credentials from the server section in settings.xml with this id to be used as fallbacks.

  • Method Details