Uploaded image for project: 'Maven Deploy Plugin'
  1. Maven Deploy Plugin
  2. MDEPLOY-265

Allow old alt*DeploymentRepository property format if default layout is used

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-M1
    • 3.0.0-M2
    • deploy:deploy
    • None

    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.  In order to do that, I would like to use the id::default::url format.

       

       

      Attachments

        Activity

          People

            michael-o Michael Osipov
            philsttr Phil Clay
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m