Class MvnDeployDestination
java.lang.Object
org.jdrupes.builder.mvnrepo.MvnPublishingDestination
org.jdrupes.builder.mvnrepo.MvnDeployDestination
A Maven publishing destination that uploads artifacts using the traditional Maven deployment approach.
This implementation of a MvnPublishingDestination uploads artifacts
and their associated metadata (like maven-metadata.xml) individually
to the specified repository URI. It is typically used for publishing
snapshots or deploying to internal Maven repositories.
-
Constructor Summary
ConstructorsConstructorDescriptionMvnDeployDestination(MvnVersionType... publicationTypes) Initializes a new Maven deploy destination. -
Method Summary
Modifier and TypeMethodDescriptionReturns the repository URI.repositoryUri(URI uri) Sets the Maven repository URI.toString()Methods inherited from class MvnPublishingDestination
accepts, credentials, id, id, repositoryPassword, repositoryUser, requiresChecksumArtifacts
-
Constructor Details
-
MvnDeployDestination
Initializes a new Maven deploy destination.- Parameters:
publicationTypes- the supported publication types
-
-
Method Details
-
repositoryUri
Sets the Maven repository URI.- Parameters:
uri- the repository URI- Returns:
- this destination
-
repositoryUri
Returns the repository URI. Defaults tohttps://central.sonatype.com/repository/maven-snapshots/if this destination was created specifically for publication typeSNAPSHOT.- Returns:
- the uri
-
toString
-