Archive for December, 2008

Workaround for maven/svn issues on OSX Leopard

December 7th, 2008

–non-interactive flag prevents svn from getting credentials from OSX keystore. As a result you cannot authenticate on password protected svn servers.

Add this script ahead of svn in your classpath and you will be able to use the maven-release-plugin again on Leopard :

#!/bin/sh
if [ "$1" = "--non-interactive" -o "$1" = "--username" ]; then
shift
fi
if [ "$1" = "--non-interactive" -o "$1" = "--username" ]; then
shift
fi
/usr/bin/svn "$@"

Script taken from http://blogs.exist.com/bporter/2008/02/25/working-around-non-interactive-problems-in-leopards-subversion/