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/24 17:29:00 UTC
[jira] [Closed] (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:all-tabpanel ]
Michael Osipov closed MDEPLOY-265.
----------------------------------
Resolution: Fixed
Fixed with [02a055bde67f23cf908f97a04813c044d16c5490|https://gitbox.apache.org/repos/asf?p=maven-deploy-plugin.git;a=commit;h=02a055bde67f23cf908f97a04813c044d16c5490].
> 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
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 3.0.0-M2
>
> 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)