Maven deploy:deploy using -DaltDeploymentRepository

后端 未结 2 1560
夕颜
夕颜 2021-01-01 09:22

I have maven projects and I want to deploy my artifacts on internal nexus repository which is configured to have my snapshots and releases

2条回答
  •  梦毁少年i
    2021-01-01 09:56

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

    — (source)

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

提交回复
热议问题