Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-622

Maven thinks it can find Mercurial when it can't

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • Maven 2.2.1, Java 1.6.0_24, Mac OSX 10.6.7

    Description

      When I run Maven from within Eclipse, /usr/local/bin is not on the PATH so it can't find my Mercurial installation. The build fails, as expected, but Maven thinks that it did find Mercurial:

      6/8/11 6:34:09 PM BRT: [INFO] EXECUTING: /bin/sh -c cd /Users/dserodio/Projetos/busca_web && hg id -i
      6/8/11 6:34:10 PM BRT: [ERROR]
      EXECUTION FAILED
      Execution of cmd : id failed with exit code: 127.
      Working directory was:
      /Users/dserodio/Projetos/busca_web
      Your Hg installation seems to be valid and complete.
      Hg version: NA (OK)

      Attachments

        Activity

          People

            Unassigned Unassigned
            dserodio Daniel Serodio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: