Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4506

Split site deployment URLs into release vs. snapshot, just like artifacts

    XMLWordPrintableJSON

Details

    Description

      (This is for Maven 2.1. My apologies if it's a duplicate, but I couldn't find this issue reported elsewhere.)

      One of the things we've always considered to be a major design oversight in Maven is that the artifact repositories (in the <distributionManagement> section) are split up into releases vs. snapshots, but the site repository isn't. This practice significantly conflicts with the way that we (and many others) use Maven: there's a centralized, locked-down release artifact repository, there are many, loosely secured snapshot artifact repositories for each team, /and there's a corresponding site repository for each/.

      This organization doesn't seem especially radical, but the way the POM is organized makes it difficult to achieve. Either we have to (hope to) remember to update the site deployment URL just before a release, or else override it from the command line during the release. Would it be possible to split these two apart by enhancing the POM schema in Maven 2.1?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mbeerman Matthew Beermann
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: