Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-761

Enable deployed site folder to be configurable, eg $project.version not just "staging"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.4
    • None
    • site:stage(-deploy)
    • None

    Description

      The site deploy, when configured with a pom distributionManagement url zips up the local "staging" (hard-coded within the site plugin?) folder and unpacks it at the given URL. As the folder I nominated above is the project folder, I want the target folder to be the current ${project.version} but there doesn't seem a way to make it do that. As a result, every time I build, I clobber the current version. I track many branches, and versions, and want to have access to them all.

      I'd like to add site configuration param like:

      <siteFolder>${project.version}</siteFolder>
      

      So that a version 1.2.3 site-deploy ends up as:

      scp://webserver/var/www/html/product/1.2.3
      

      MSITE-617 could possibly do this, however, this is a very specific slice of that.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              javahollic Andy Brook
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: