You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2020/12/22 09:41:00 UTC

[jira] [Commented] (MDEPLOY-265) Allow old alt*DeploymentRepository property format if default layout is used

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

Michael Osipov commented on MDEPLOY-265:
----------------------------------------

There has been some changes recently on this topic. Can you verify whether this works for you? I'd like ot avoid to add even more logic this is. It is a major release after all.

> Allow old alt*DeploymentRepository property format if default layout is used
> ----------------------------------------------------------------------------
>
>                 Key: MDEPLOY-265
>                 URL: https://issues.apache.org/jira/browse/MDEPLOY-265
>             Project: Maven Deploy Plugin
>          Issue Type: Improvement
>          Components: deploy:deploy
>    Affects Versions: 3.0.0-M1
>            Reporter: Phil Clay
>            Priority: Major
>             Fix For: waiting-for-feedback
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In 3.0.0-M1, the format of the {{alt*DeploymentRepository}} properties changed from {{id::layout::url}} to {{id::url}}
>  
> It would be awesome if the old format was supported _if and only if_ the layout was equal to {{default}}.  Specifically, the following formats should be supported:
>  * {{id::url}}
>  * {{id::default::url}}
> This would allow for better backwards compatibility, and to allow the same property values to be used regardless of what version of the maven-deploy-plugin was used by a project (as long as the layout is {{default}})
>  
> In my case, we have a global maven {{settings.xml}} file on our CI server that specifies the {{alt*DeploymentRepository}} properties to deploy to our corporate maven repository.  I would like to be able to use this global maven settings.xml file regardless of what version of maven-deploy-plugin is used by our (many) projects.  In order to do that, I would like to use the {{id::default::url}} format.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)