[
https://issues.apache.org/jira/browse/SCM-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962277#comment-17962277
]
ASF GitHub Bot commented on SCM-622:
------------------------------------
jira-importer opened a new issue, #833:
URL: https://github.com/apache/maven-scm/issues/833
**[Daniel
Serodio](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dserodio)**
opened
**[SCM-622](https://issues.apache.org/jira/browse/SCM-622?redirect=false)** and
commented
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)
---
No further details from
[SCM-622](https://issues.apache.org/jira/browse/SCM-622?redirect=false)
> Maven thinks it can find Mercurial when it can't
> ------------------------------------------------
>
> Key: SCM-622
> URL: https://issues.apache.org/jira/browse/SCM-622
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-scm-provider-mercurial (hg)
> Environment: Maven 2.2.1, Java 1.6.0_24, Mac OSX 10.6.7
> Reporter: Daniel Serodio
> Priority: Major
>
> 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)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)