Skip to content
Advertisement

“Cannot get the revision information from the scm repository”

I get maven error :

JavaScript

Any idea how to solve this?

Advertisement

Answer

A quick search on Google seems to indicate that this error is related to the buildnumber-maven-plugin. However, I couldn’t reproduce the error on the command line on my machine (Maven 2.2.1, Java 1.6.0_16, svn 1.6.5 on GNU/Linux):

JavaScript

From what I can see on Google, possible causes of problem include:

  • svn executable (i.e. svn.exe on windows) not being on the path
  • too old svnkit version compared to your svn client (see this thread)
  • missing environment variables on OS X (see MOJO-1289)
  • etc etc

But without more information on your context, your environment, what you are doing, when this error occurs, etc, it seems hard to go further in the diagnostic.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement