[ 
https://issues.apache.org/jira/browse/MDEPLOY-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965777#comment-17965777
 ] 

Olivier Lamy commented on MDEPLOY-315:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-deploy-plugin#200|https://github.com/apache/maven-deploy-plugin/issues/200].
 Please visit the GitHub issue to view further activity, add comments, or 
subscribe to receive notifications.

> Documentation
> -------------
>
>                 Key: MDEPLOY-315
>                 URL: https://issues.apache.org/jira/browse/MDEPLOY-315
>             Project: Maven Deploy Plugin (Moved to GitHub Issues)
>          Issue Type: Improvement
>            Reporter: Alberto Gallardo
>            Priority: Trivial
>
> Rewrite 
> [usage#the-deploy-deploy-mojo|[https://maven.apache.org/plugins/maven-deploy-plugin/usage.html#the-deploy-deploy-mojo
>  
> |https://maven.apache.org/plugins/maven-deploy-plugin/usage.html#the-deploy-deploy-mojo]]
>  to clarify that the distributionManagement can be also configured without 
> modifying the `pom`.
> Currently, the documentation states:
> {quote}To enable this mojo to function, you must include a valid 
> <distributionManagement/> section POM, [...]
> {quote}
> Suggesting that the pom must specify this element and must be modified 
> accordingly. This suggestion is reinforced in 
> [deploy-mojo#altDeploymentRepository|https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#altDeploymentRepository]
>  :
> {quote}
> h4. *<altDeploymentRepository>*
> Specifies an alternative repository to which the project artifacts should be 
> deployed (other than those specified in <distributionManagement>).{quote}
> (my interpretation is that `distributionManagement` must be present)
> Unfortunately, this mislead me to think that the only way to provide this 
> configuration was by modifying the pom. I later found that 
> `altDeploymentRepository` could be used *instead of* the 
> `distributionManagement` in the pom.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to