[ https://issues.apache.org/jira/browse/MDEPLOY-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965814#comment-17965814 ]
Olivier Lamy commented on MDEPLOY-265: -------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-deploy-plugin#548|https://github.com/apache/maven-deploy-plugin/issues/548]. > 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 (Moved to GitHub Issues) > 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.20.10#820010)