This is the way it currently works, and it's the Maven Deploy Plugin Usage
pom.xml
[...] <distributionManagement> <repository> <id>internal.repo</id> <name>MyCo Internal Repository</name> <url>Host to Company Repository</url> </repository> </distributionManagement> [...] settings.xml
[...] <server> <id>internal.repo</id> <username>someUser</username> <password>somePassword</password> </server> [...] and what I'm trying to achieve is finding a way in which the username and password are typed in at the command line. to achieve mvn deploy -someUser -somePassword