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

Setting M2_HOME to nothing and running ant delets contents of the current folder

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.11, 2.1.0, 3.0-alpha-1
    • Fix Version/s: 2.0.11, 2.1.0, 3.0-alpha-3
    • Component/s: Bootstrap & Build
    • Labels:
      None
    • Environment:
      OS X 10.5

      Description

      Actions:

      • check out 2.1.x branch into a folder
      • cd to that folder
      • export M2_HOME=
      • ant

      As a result - current folder contents are removed because when everything compiles and tests correctly, the script tries clean target folder, and with M2_HOME set to empty string, it cleans current folder.

        Attachments

          Activity

            People

            • Assignee:
              brettporter Brett Porter
              Reporter:
              olle olle
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: