I try to build ('mvn install') the webservices.rest module project,
and getting an error as below:

[ERROR] Failed to execute goal
org.codehaus.mojo:buildnumber-maven-plugin:1.0:create (default) on
project webservices.rest-omod: Cannot get the revision information
from the scm repository :
[ERROR] Exception while executing SCM command. svn: The path
'/Users/myuser/Projects/healthcare/openmrs-modules/webservices.rest'
appears to be part of a Subversion 1.7 or greater
[ERROR] working copy.  Please upgrade your Subversion client to use this
[ERROR] working copy.


However, my svn command-line client is version 1.7.4. (I only use the
command line, not any other IDE-integrated tools, not Subclipse, etc.)
(I'm on Mac OS X Lion.) Is the svn command-line client that I'm
calling not the same that MVN SCM would be using?
The error only occurs in the OMOD section, not the API or the main.

This is the error/log:

[INFO] Reactor Summary:healthcare
[INFO]
[INFO] Rest Web Services ................................. SUCCESS [0.293s]
[INFO] Rest Web Services API ............................. SUCCESS [4.558s]
[INFO] Rest Web Services OMOD ............................ FAILURE [2.022s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.725s
[INFO] Finished at: Fri Apr 13 02:41:27 CST 2012
[INFO] Final Memory: 11M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:buildnumber-maven-plugin:1.0:create (default) on
project webservices.rest-omod: Cannot get the revision information
from the scm repository :
[ERROR] Exception while executing SCM command. svn: The path
'/Users/myuser/Projects/healthcare/openmrs-modules/webservices.rest'
appears to be part of a Subversion 1.7 or greater
[ERROR] working copy.  Please upgrade your Subversion client to use this
[ERROR] working copy.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :webservices.rest-omod


Checking svn client version:

MacBookPro:webservices.rest myuser$ svn help
usage: svn <subcommand> [options] [args]
Subversion command-line client, version 1.7.4.

I've searched for this issue on StackOverflow before and found two
related threads, but not a answer for my case.

http://stackoverflow.com/questions/7887395/svn-1-7-1-issue
http://stackoverflow.com/questions/7893396/subversion-client-version-confusion

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to