This is an archived version of the documentation for SonarQube version 7.3.
See Documentation for current functionality
Subversion integration is supported out of the box for Subversion 1.6 to 1.9.x.
Auto-detection of SVN during analysis will happen if there is a
.svn folder somewhere in the parent hierarchy of the project root. Otherwise you can force the provider using
-Dsonar.scm.provider=svn on the analysis command line.
If you get errors like:
Caused by: org.tmatesoft.svn.core.SVNException: svn: E200007: Retrieval of mergeinfo unsupported by 'https://pmd.svn.sourceforge.net/svnroot/pmd/trunk/pmd/src/main/java/net/sourceforge/pmd/AbstractConfiguration.java';
It means that the SVN server is not advertising the 'mergeinfo' capability. You can check the advertised capabilities by simply connecting to it:
telnet <svn_server> 3690
Often this is because your SVN server is not >= 1.5 or your project was not properly migrated after a server upgrade. It could also be a misconfiguration of the server.
You should try to run
svnadmin upgrade on the server. For more information, please read https://subversion.apache.org/docs/release-notes/1.5.html#repos-upgrades.