Maven deploy:deploy using -DaltDeploymentRepository

altDeploymentRepository String – Specifies an alternative repository to which the project
artifacts should be deployed ( other than those specified in <distributionManagement> ).
Format: id::layout::url

— (source)

So, in you case: releaseRepository::default::http://your.repo.url (see here for layout).

Leave a Comment