maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (SCM-622) Maven thinks it can find Mercurial when it can't
Date Thu, 09 Jun 2011 14:15:22 GMT

    [ http://jira.codehaus.org/browse/SCM-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=269909#action_269909
] 

Olivier Lamy commented on SCM-622:
----------------------------------

does this work outside of eclipse tru the cli ?

> Maven thinks it can find Mercurial when it can't
> ------------------------------------------------
>
>                 Key: SCM-622
>                 URL: http://jira.codehaus.org/browse/SCM-622
>             Project: Maven SCM
>          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
>
> 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message