Maven 1
  1. Maven 1
  2. MAVEN-1811

Maven installer's MAVEN_HOME property

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      If you install in a different directory and it ends with the path separator,
      your MAVEN_HOME variable might contain a path separator to many.

      For example (on windows):
      Install to "C:\develop\build\maven 1.0-rc4\"
      SET PATH contains:
      C:\develop\build\maven 1.0-rc4
      bin

        Activity

        Hide
        dion gillard added a comment -

        Does this cause any problems?

        Show
        dion gillard added a comment - Does this cause any problems?
        Hide
        Geoffrey De Smet added a comment -

        I installed rc4 to a custom directory and my MAVEN_HOME was wrongly set with a double \ (slash) instead of one. Found it after a short while by checking the MAVEN_HOME, but I don't think that new Maven users know to look for it there.

        Its not that important, but on first sight it doesn't seem nothing more then checking if the custom directory endsWith "\" and remove it if so.

        Show
        Geoffrey De Smet added a comment - I installed rc4 to a custom directory and my MAVEN_HOME was wrongly set with a double \ (slash) instead of one. Found it after a short while by checking the MAVEN_HOME, but I don't think that new Maven users know to look for it there. Its not that important, but on first sight it doesn't seem nothing more then checking if the custom directory endsWith "\" and remove it if so.

          People

          • Assignee:
            Unassigned
            Reporter:
            Geoffrey De Smet
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: