There are 3 places to look for in this order Command line settings.xml connectionUrl
However in maven-release-plugin, if user does not provide username via command line (ie -Dusername=xyz), username is default to system property ${user.name} and by passing settings.xml. is it a bug? -Dan