Maven 2 & 3

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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
  • Complexity:
    Intermediate
  • Testcase included:
    yes
  • Number of attachments :
    0

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.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: