[ 
http://jira.codehaus.org/browse/MOJO-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161536#action_161536
 ] 

Timo Meinen commented on MOJO-1289:
-----------------------------------

Hello Dan,

I have the same problems with the maven-scm-plugin:

===============
[INFO] [scm:status]
[INFO] Executing: /bin/sh -c cd 
/Users/timomeinen/Documents/workspace/projektwerk/dschingiskhan && svn 
--non-interactive status
[INFO] Working directory: 
/Users/timomeinen/Documents/workspace/projektwerk/dschingiskhan
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] /bin/sh: svn: command not found

[ERROR] 

The following mojo encountered an error while executing:
Group-Id: org.apache.maven.plugins
Artifact-Id: maven-scm-plugin
Version: 1.1
Mojo: status
brought in via: Direct invocation

While building project:
Group-Id: de.projektwerk
Artifact-Id: dschingiskhan
Version: 3.2-SNAPSHOT
>From file: 
>/Users/timomeinen/Documents/workspace/projektwerk/dschingiskhan/pom.xml
Reason: Command failed.The svn command failed.



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Mon Jan 19 17:44:45 CET 2009
[INFO] Final Memory: 2M/13M
[INFO] ------------------------------------------------------------------------
===========================

Any ideas how to tell the IDE where it can find the svn-command?

Thank you
Timo

> Buildnumber can't get revision information if run within a IDE like Eclipse 
> or NetBeans
> ---------------------------------------------------------------------------------------
>
>                 Key: MOJO-1289
>                 URL: http://jira.codehaus.org/browse/MOJO-1289
>             Project: Mojo
>          Issue Type: Bug
>          Components: buildnumber
>         Environment: Mac OS X 10.5, Java 1.6, Maven 2.0.9, Eclipse 3.4, 
> NetBeans 6.5
>            Reporter: Timo Meinen
>
> Hello,
> the buildnumber-plugin works fine from a shell, but it doesn't work when 
> executed from Eclipse or NetBeans. I get this error:
> Command output:
> /bin/sh: svn: command not found
> ------------------------------------------------------------------------
> [ERROR]BUILD ERROR
> ------------------------------------------------------------------------
> Cannot get the revision information from the scm repository : 
> Error!
> Maybe the environment is not set correctly, so that the plugin cannot find 
> the svn-executable. Can I configure the absolute SVN Path to the plugin?
> Best regards
> Timo Meinen

-- 
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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to