Maven Site Plugin
  1. Maven Site Plugin
  2. MSITE-250

Allow cleaning of the remote area or staging site

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      When files have been removed, they are not removed from the remote deploy area or the staging site. A new goal to clean the staging or the final deploy area would be a nice addon to this plugin.

        Issue Links

          Activity

          Wim Deblauwe created issue -
          Dennis Lundberg made changes -
          Field Original Value New Value
          Link This issue is duplicated by MSITE-407 [ MSITE-407 ]
          Lukas Theussl made changes -
          Link This issue supercedes MSITE-30 [ MSITE-30 ]
          Hide
          Anthony Whitford added a comment -

          My use case is that I deploy the site files to a file share: \\server\sites
          The sites are organized by project and version: \\server\sites\project\version

          The CI server will build the site, let's say for 1.0-SNAPSHOT: \\server\sites\project\1.0-SNAPSHOT
          Then, I will release this project, and I get a site for 1.0: \\server\sites\project\1.0

          My issue is that I am getting toxic waste buildup by not removing the old 1.0-SNAPSHOT directory.
          If I had a site:clean goal, I could build it into my release workflow.
          Better yet, the release plugin could leverage it and automatically purge the old snapshot files.

          Show
          Anthony Whitford added a comment - My use case is that I deploy the site files to a file share: \\server\sites The sites are organized by project and version: \\server\sites\project\version The CI server will build the site, let's say for 1.0-SNAPSHOT : \\server\sites\project\1.0-SNAPSHOT Then, I will release this project, and I get a site for 1.0 : \\server\sites\project\1.0 My issue is that I am getting toxic waste buildup by not removing the old 1.0-SNAPSHOT directory. If I had a site:clean goal, I could build it into my release workflow. Better yet, the release plugin could leverage it and automatically purge the old snapshot files.
          Hide
          Gordon McNair added a comment -

          Our use case is exactly the same as Anthony's. Getting the site plugin to clean up the remote site directory to prevent having to manually manage the remote disk usage would be a huge benefit for us.

          Show
          Gordon McNair added a comment - Our use case is exactly the same as Anthony's. Getting the site plugin to clean up the remote site directory to prevent having to manually manage the remote disk usage would be a huge benefit for us.
          Lukas Theussl made changes -
          Component/s site:stage(-deploy) [ 14611 ]
          Component/s site:deploy [ 12949 ]
          Harrouchy Jamal made changes -
          Link This issue is depended upon by WAGON-343 [ WAGON-343 ]
          Harrouchy Jamal made changes -
          Link This issue is depended upon by WAGON-343 [ WAGON-343 ]
          Harrouchy Jamal made changes -
          Link This issue relates to WAGON-343 [ WAGON-343 ]
          Hide
          Michael Osipov added a comment -

          Is anyone willing to work on this?

          Show
          Michael Osipov added a comment - Is anyone willing to work on this?
          Michael Osipov made changes -
          Labels close-pending
          Hide
          Michael Osipov added a comment -

          No reaction upon request.

          Show
          Michael Osipov added a comment - No reaction upon request.
          Michael Osipov made changes -
          Resolution Won't Fix [ 2 ]
          Status Open [ 1 ] Closed [ 6 ]
          Michael Osipov made changes -
          Labels close-pending
          Mark Thomas made changes -
          Project Import Sun Apr 05 13:16:22 UTC 2015 [ 1428239782088 ]
          Mark Thomas made changes -
          Link This issue relates to WAGON-343 [ WAGON-343 ]
          Mark Thomas made changes -
          Workflow jira [ 12726637 ] Default workflow, editable Closed status [ 12756869 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 01:19:02 UTC 2015 [ 1428283142430 ]
          Mark Thomas made changes -
          Link This issue relates to WAGON-343 [ WAGON-343 ]
          Mark Thomas made changes -
          Workflow jira [ 12964390 ] Default workflow, editable Closed status [ 13001362 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          2721d 5h 1 Michael Osipov 31/Jan/15 15:19

            People

            • Assignee:
              Unassigned
              Reporter:
              Wim Deblauwe
            • Votes:
              19 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development