What user password are you talking about? If his username is defined in the nexus repository, you can specify in settings.xml where you defined the nexus repository.
<servers> <server> <id>releases</id> <username>xxxxxxxxx</username> <password>yyyyyyyy</password> </server> </servers>
source share