Maven 2 & 3

localRepository in settings.xml does not handle ~ as home.dir