You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2024/02/02 12:57:00 UTC

[jira] [Updated] (MSCMPUB-61) Leverage the distributionManagement.site.id by default for parameter "serverId"

     [ https://issues.apache.org/jira/browse/MSCMPUB-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus updated MSCMPUB-61:
-----------------------------------
    Description: 
According to https://maven.apache.org/plugins/maven-scm-publish-plugin/publish-scm-mojo.html#serverId the parameter "serverId" has no default value. OTOH the parameter "pubScmUrl" (https://maven.apache.org/plugins/maven-scm-publish-plugin/publish-scm-mojo.html#pubScmUrl) is populated from {{${project.distributionManagement.site.url}}} by default.
To me it would be reasonable if both would behave the same with respect to their default (i.e. get it from the POMs distributionManagement).

  was:
According to https://maven.apache.org/plugins/maven-scm-publish-plugin/publish-scm-mojo.html#serverId the parameter "serverId" has no default value. OTOH the parameter "pubScmUrl" (https://maven.apache.org/plugins/maven-scm-publish-plugin/publish-scm-mojo.html#pubScmUrl) is populated from {{${project.distributionManagement.site.url}}} by default.
To me it would be reasonable if both would behave the same according with respect to the default (i.e. get their default from the POMs distributionManagement).


> Leverage the distributionManagement.site.id by default for parameter "serverId"
> -------------------------------------------------------------------------------
>
>                 Key: MSCMPUB-61
>                 URL: https://issues.apache.org/jira/browse/MSCMPUB-61
>             Project: Maven SCM Publish Plugin
>          Issue Type: Improvement
>    Affects Versions: 3.2.1
>            Reporter: Konrad Windszus
>            Priority: Major
>
> According to https://maven.apache.org/plugins/maven-scm-publish-plugin/publish-scm-mojo.html#serverId the parameter "serverId" has no default value. OTOH the parameter "pubScmUrl" (https://maven.apache.org/plugins/maven-scm-publish-plugin/publish-scm-mojo.html#pubScmUrl) is populated from {{${project.distributionManagement.site.url}}} by default.
> To me it would be reasonable if both would behave the same with respect to their default (i.e. get it from the POMs distributionManagement).



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