You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Phil Clay (Jira)" <ji...@apache.org> on 2020/01/08 19:38:00 UTC

[jira] [Updated] (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 ]

Phil Clay updated MDEPLOY-265:
------------------------------
    Description: 
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.

 

 

  was:
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.

 

 


> 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
>
> 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.
>  
>  



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